
Redmine Mcp Stdio
io.github.andrelaptenok由 GitHub 账号 andrelaptenok 发布v1.2.0更新于 Oct 24, 2026
Local MCP (stdio) server for Redmine: issues, projects and time tracking from any MCP client.
概览
本地 stdio 版 Redmine MCP 服务器,让助手在编辑器中列出、查看、创建和更新问题,浏览项目、登记工时并全文搜索。
- 可以做什么
- 按条件筛选、分页列出问题,并查看单个问题的详情、评论历史和附件
- 创建和更新问题,并为问题添加备注
- 列出可访问的项目,查看项目详情、版本和成员
- 按问题、项目、用户或日期范围登记和查询工时记录
- 查询跟踪标签、状态、优先级和活动类型的 ID,并在问题、Wiki、新闻中全文搜索
- 查看当前 API 密钥对应的账号信息
- 适用场景
- 适合团队用 Redmine 管理工作的场景:希望助手在不离开编辑器或聊天客户端的情况下读取或更新工单、了解项目背景、补记工时。
- 运行要求
- 需要 Node.js 与 npx,客户端会按需启动该 npm 包。需要可访问的 Redmine 实例和个人 API 密钥,通过客户端 MCP 配置中的 REDMINE_URL 与 REDMINE_API_KEY 环境变量提供。Redmine 需开启 REST API,且密钥所属用户要有相应操作权限。可选 REDMINE_TIMEOUT_MS 与 REDMINE_MAX_RETRIES。
安装
在 SourceWeft 中
- 打开 控制台中的 Redmine Mcp Stdio,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
redmine-mcp-stdio
A local Model Context Protocol server (stdio) for Redmine. Point an MCP client at it (Cursor, VS Code, Claude, Codex, Windsurf, Cline, Zed, JetBrains AI and others) and work with Redmine issues, projects and time entries straight from the editor.
[npm] [npm downloads] [CI] [license] [node]
Tools
Every tool ships MCP tool annotations (readOnlyHint, destructiveHint, …), so clients can auto-approve read-only calls.
Install
No manual install needed. The client launches the server on demand with npx, which
downloads it on first run and caches it after. Just add the config for your client under
Connect.
Prefer to run from a local clone? See Development.
Get a Redmine API key
My account > API access key > Show.
- If there's no such section, an admin must enable the REST API in Administration > Settings > API.
- The key must belong to a user with permission to view (and, for writes, create/edit) issues.
⚠️ Never commit your API key. Copy
.env.exampleto.envfor local use;.envis gitignored.
Connect
The server reads REDMINE_URL and REDMINE_API_KEY from the environment. Provide them via the client's MCP config env block.
Cursor
Edit ~/.cursor/mcp.json (global) or .cursor/mcp.json in a project root:
Reload Cursor and enable the server in Settings > MCP.
VS Code (GitHub Copilot)
Edit .vscode/mcp.json in your workspace (or your user mcp.json). Note the top-level key is servers, not mcpServers:
Claude Code
Or edit ~/.claude.json / the project .mcp.json directly (same shape as Claude Desktop below).
Claude Desktop
Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
Restart Claude Desktop afterwards.
Codex CLI
Add a server table to ~/.codex/config.toml:
If node is installed via nvm, use the full path from which npx as command.
Windsurf
Edit ~/.codeium/windsurf/mcp_config.json:
In Cascade, open MCP servers > Manage > View raw config, paste, then refresh. Supports ${env:VAR} interpolation if you'd rather not inline the key.
Cline
In the Cline pane, click the MCP Servers icon and choose Configure MCP Servers to open cline_mcp_settings.json:
Zed
Zed calls MCP servers context servers. Open the command palette and run zed: open settings, then add to settings.json (note "source": "custom"):
Zed restarts the server on save, so no editor reload is needed.
JetBrains AI Assistant (2025.2+)
Settings > Tools > AI Assistant > Model Context Protocol (MCP) > Add:
- Type: stdio
- Command:
npx(if node is installed via nvm, use the full path fromwhich npx) - Arguments:
-y redmine-mcp-stdio - Environment:
REDMINE_URL=https://redmine.your-company.comREDMINE_API_KEY=your_key
Enable "Automatically enable new and changed MCP servers", then Apply. Click the status icon and you should see 12 tools. Invoke them in chat with /.
Verify locally (optional)
The process should start and wait silently on stdio (Ctrl+C to exit).
Troubleshooting
Failed to connect/ server won't start: thecommandmust resolve in the client's environment. If node is installed via nvm, a barenpxmay not be found. Use the full path fromwhich npxas the command.Missing REDMINE_URL or REDMINE_API_KEY: theenvblock wasn't passed. Double-check it's in the MCP config, not your shell.Redmine 401/403: bad API key, or the key's user lacks permission for that action.Redmine 404: the issue/project id doesn't exist, orREDMINE_URLpoints at the wrong host.
Configuration
Architecture
The code is organized in layers, with a single HTTP client injected into each tool
group so that tools never touch transport or process.env directly:
Development
See CHANGELOG.md for releases.
Security
The API key is never logged and is redacted from error output; requests are pinned to the configured host, path parameters are encoded, and every call is bounded by a timeout and a response-size cap. Details and reporting: SECURITY.md.
License
MIT. See LICENSE.
来源:README.md,提交 b7a1eac
工具
0版本历史
1- v1.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分