
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 分