redmine-mcp
Exposes Redmine's REST API as MCP tools, enabling retrieval and management of issues (get, list, create, update, add comments), projects, and attachments (list, download, upload, update, delete) in a Redmine instance.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@redmine-mcplist the open issues assigned to me in Redmine"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
redmine-mcp
Redmine の REST API を MCP (Model Context Protocol) の tool として公開するサーバーです。 Streamable HTTP と stdio の 2 つの transport に対応しています。
必要なもの
Node.js 20 以上 (ローカル実行の場合)
もしくは Docker / Docker Compose
Redmine の REST API 有効化と API キー (Redmine の個人設定画面から取得)
Related MCP server: redmine-mcp-server
セットアップ
.env.sample をコピーして .env を作成し、REDMINE_URL と REDMINE_API_KEY を設定してください。
cp .env.sample .env環境変数 | 説明 | 既定値 |
| Redmine の URL (末尾スラッシュは自動で除去) | なし (必須) |
| Redmine REST API の API キー | なし (必須) |
| HTTP transport の listen ポート |
|
|
|
|
| docker compose のホスト側公開ポート |
|
| 添付ファイルを MCP レスポンスに直接載せる上限 (byte) |
|
REDMINE_URL / REDMINE_API_KEY が未設定でも起動はしますが、tool 実行時にエラーになります。
起動
Docker Compose (HTTP transport)
docker compose up -d --buildヘルスチェック:
curl http://127.0.0.1:${REDMINE_MCP_PORT:-3333}/healthz停止:
docker compose downローカル実行
npm ci
# HTTP transport (.env を読み込む)
npm run start:env
# stdio transport
MCP_TRANSPORT=stdio npm startMCP クライアント設定
Claude Code (HTTP)
claude mcp add --transport http redmine http://127.0.0.1:3333/mcpClaude Code (stdio)
claude mcp add redmine -- node "$(pwd)/src/server.mjs"stdio の場合は MCP_TRANSPORT=stdio と Redmine の接続情報を env として渡してください
(.mcp.json.sample を参照)。
Codex (HTTP)
[mcp_servers.redmine]
url = "http://127.0.0.1:3333/mcp"
enabled = true
default_tools_approval_mode = "prompt"公開している tool
tool | 種別 | 説明 |
| 読み取り | チケット ID 1 件を取得 |
| 読み取り | フィルタ付きでチケット一覧を取得 ( |
| 読み取り | 参照可能なプロジェクト一覧を取得 |
| 書き込み | チケットを作成 |
| 書き込み | チケットのフィールドを更新 |
| 書き込み | チケットに注記を追加 |
| 読み取り | チケットの添付ファイル一覧 (メタデータ) を取得 |
| 読み取り | 添付ファイル 1 件のメタデータを取得 |
| 読み取り | 添付ファイルの実体を取得 (インライン返却 / ローカル保存) |
| 書き込み | ファイルをアップロードし、トークン取得またはチケットへ添付 |
| 書き込み | 添付ファイルのファイル名・説明を変更 (Redmine 4.0 以降) |
| 破壊的 | 添付ファイルを削除 |
一覧系の limit は既定 25 件、最大 100 件です。
添付ファイルの扱い
取得
redmine_download_attachment は添付の実体を返します。
save_pathを指定すると、そのパス (末尾/や既存ディレクトリなら元のファイル名で配下) に保存し、保存先だけを返します。save_pathなしの場合は MCP レスポンスに直接載せます。content type に応じて画像は image、テキストは text、その他は base64 の blob として返します (asで強制指定可)。インライン返却は
REDMINE_MAX_INLINE_BYTES(既定 5MiB、max_bytesで上書き) を超えるとエラーになります。大きいファイルはsave_pathを使ってください。
添付の実体は Redmine が返す content_url から取得しますが、REDMINE_URL と同一オリジンでなければ取得を拒否します。
アップロード
redmine_upload_file は file_path / content_text / content_base64 のいずれか 1 つを受け取ります。
issue_idを指定すると、アップロードしてそのままチケットへ添付します (notesで注記も同時に追加)。issue_idを省略するとアップロードトークンだけを返します。これをredmine_create_issue/redmine_update_issueのuploadsに渡せば、チケット作成・更新と同時に添付できます。file_pathは MCP サーバープロセスから見えるパスです。Docker で動かしている場合はコンテナ内のパスになる点に注意してください。
HTTP エンドポイント
メソッド | パス | 説明 |
|
| 稼働確認と設定状況 (URL / API キーの設定有無) |
|
| MCP リクエスト (初回はセッション初期化) |
|
| SSE でのサーバー → クライアント通知 |
|
| セッション終了 |
構成
.
├── docker-compose.yml # HTTP transport のコンテナ定義
├── Dockerfile
├── .env.sample
└── src/server.mjs # MCP サーバー本体 (tool 定義 + transport)This server cannot be deployed
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseCqualityDmaintenanceModel Context Protocol (MCP) server for Redmine that provides comprehensive access to the Redmine REST API, enabling users to operate Redmine from MCP clients such as Claude Desktop.909 npmMIT
- AlicenseAqualityCmaintenanceEnables AI assistants to interact with Redmine for task management, time logging, status updates, and progress tracking via the MCP protocol.9MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to interact with Redmine project management systems through MCP tools, providing access to issues, projects, time tracking, wiki, and more.492 PyPI85MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to manage Redmine issues, projects, time tracking, wiki, and files via the MCP protocol.3323 npm5Apache 2.0