MCP-For-Redmineのロゴ

MCP-For-Redmine

コミュニティ
chspower1

This project is a Model-Context-Protocol (MCP) server for interacting with Redmine. With an MCP-compatible client, you can easily manage Redmine projects, issues, users, and time entries.

公開者chspower1
リポジトリmcp-for-redmine
言語TypeScript
フォーク
4
スター
13
利用可能なツール
23
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

    MCP-For-Redmineは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 23個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには13件のスターと4件のフォークがあります。

MCP-For-Redmine · MIT License

English | 한국어 | 日本語 | 简体中文

This project is a Model-Context-Protocol (MCP) server for interacting with Redmine. With an MCP-compatible client, you can easily manage Redmine projects, issues, users, and time entries.

Currently, only the standard input/output (stdio) transport is supported.

Requirements

  • Node.js 18 or higher
  • Redmine API key (your personal API key from your Redmine account)

Compatibility baseline: Redmine 6.0.6

Getting Started

How to configure the MCP server for each environment:

File (top-left) -> Preferences -> Cursor Settings -> MCP & Integrations -> New MCP Server

Config file: ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project)

📚 Docs: Cursor MCP documentation

Install MCP Server

json
{
  "mcpServers": {
    "mcp-for-redmine": {
      "command": "npx",
      "args": ["-y", "@chspower1/mcp-for-redmine@latest"],
      "env": {
        "REDMINE_BASE_URL": "https://your.redmine.tld",
        "REDMINE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Config files:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

📚 Docs: Claude Desktop MCP guide

json
{
  "mcpServers": {
    "mcp-for-redmine": {
      "command": "npx",
      "args": ["-y", "@chspower1/mcp-for-redmine@latest"],
      "env": {
        "REDMINE_BASE_URL": "https://your.redmine.tld",
        "REDMINE_API_KEY": "your_api_key_here"
      }
    }
  }
}

📚 Docs: Claude Code MCP documentation

Set environment variables and run CLI:

bash
# Set environment variables
export REDMINE_BASE_URL=https://your.redmine.tld
export REDMINE_API_KEY=your_api_key_here

# Add MCP server
claude mcp add mcp-for-redmine -- npx -y @chspower1/mcp-for-redmine@latest

Or edit the settings file directly: ~/.claude/settings.local.json

json
{
  "mcpServers": {
    "mcp-for-redmine": {
      "command": "npx",
      "args": ["-y", "@chspower1/mcp-for-redmine@latest"],
      "env": {
        "REDMINE_BASE_URL": "https://your.redmine.tld",
        "REDMINE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Config file: ~/.gemini/settings.json (global) or .gemini/settings.json (per-project)

📚 Docs: Gemini CLI MCP guide

json
{
  "mcpServers": {
    "mcp-for-redmine": {
      "command": "npx",
      "args": ["-y", "@chspower1/mcp-for-redmine@latest"],
      "env": {
        "REDMINE_BASE_URL": "https://your.redmine.tld",
        "REDMINE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Config file: ~/.codex/config.toml

📚 Docs: OpenAI MCP documentation

toml
[[mcp_servers]]
name = "mcp-for-redmine"
command = "npx"
args = ["-y", "@chspower1/mcp-for-redmine@latest"]

[mcp_servers.env]
REDMINE_BASE_URL = "https://your.redmine.tld"
REDMINE_API_KEY = "your_api_key_here"

Configuration Options

The server reads configuration in the following priority:

  • -u, --url <url>
  • -k, --api-key <key>
  • --no-tls-verify (optional, disable TLS verification)
  • json
    {
      "mcpServers": {
        "mcp-for-redmine": {
          "command": "npx",
          "args": [
            "-y",
            "@chspower1/mcp-for-redmine@latest",
            "--url",
            "https://your.redmine.tld",
            "--api-key",
            "YOUR_API_KEY"
          ]
        }
      }
    }
  • REDMINE_BASE_URL or REDMINE_URL
  • REDMINE_API_KEY or REDMINE_TOKEN
  • REDMINE_TLS_VERIFY (optional, set to false or 0 to disable TLS verification)
  • json
    {
      "mcpServers": {
        "mcp-for-redmine": {
          "command": "npx",
          "args": ["-y", "@chspower1/mcp-for-redmine@latest"],
          "env": {
            "REDMINE_BASE_URL": "https://your.redmine.tld",
            "REDMINE_API_KEY": "your_api_key_here"
          }
        }
      }
    }

Supported variables:

  • REDMINE_BASE_URL or REDMINE_URL — Redmine server URL
  • REDMINE_API_KEY or REDMINE_TOKEN — Redmine API key
  • REDMINE_TLS_VERIFY — Set to false or 0 to disable TLS verification (optional)

[!WARNING] > Security Warning: Disabling TLS verification (REDMINE_TLS_VERIFY=false or --no-tls-verify) makes your connection vulnerable to Man-in-the-Middle (MitM) attacks. Only use this option in trusted environments (e.g., internal networks with self-signed certificates). Never use it when connecting to public Redmine instances over the internet.

Key Features

Currently available tools:

Stable API

  • Users: users_create, users_get, users_current, users_list, users_update, users_delete
  • Projects: projects_list, projects_get, projects_create, projects_update, projects_archive, projects_unarchive, projects_delete
  • Issues: issues_list, issues_get, issues_create, issues_update, issues_delete
  • Time Entries: time_entries_list, time_entries_get, time_entries_create, time_entries_update, time_entries_delete

Alpha API

  • Enumerations: enumerations_issue_priorities_list, enumerations_time_entry_activities_list
  • Memberships: memberships_list_project_memberships, memberships_get, memberships_create, memberships_update, memberships_delete
  • Issue Relations: issue_relations_list, issue_relations_get, issue_relations_create, issue_relations_delete
  • Versions: versions_list, versions_get, versions_create, versions_update, versions_delete
  • Wiki Pages: wiki_pages_list, wiki_pages_get, wiki_pages_create_or_update, wiki_pages_delete
  • Queries: queries_list
  • Files: files_list
  • Attachments: attachments_get, attachments_delete, attachments_upload
  • Issue Statuses: issue_statuses_list
  • Trackers: trackers_list
  • Roles: roles_list, roles_get
  • Groups: groups_list, groups_get, groups_create, groups_update, groups_delete, groups_add_user, groups_remove_user
  • Custom Fields: custom_fields_list
  • Issue Categories: issue_categories_list, issue_categories_get, issue_categories_create, issue_categories_update, issue_categories_delete
  • My Account: my_account_get
  • Search: search

The input schema for each tool is defined in src/schema/*.schema.ts. Results are returned as JSON-formatted text.

Common Input Rules (dev)

  • Collection pagination: most list tools support offset and limit (default 25, max 100)
  • Association expansion: some get/list tools support include (e.g., issues: children,attachments,journals,...)
  • Attachment upload token: attachments_upload sends a Base64 file to /uploads.json and returns a token. Use this token in the uploads field of issues_create/update or wiki_pages_create_or_update to associate attachments.
  • Tool-specific extras/constraints: for detailed constraints (e.g., issue custom_fields, watcher_user_ids, etc.), see each tool’s schema in src/schema/*.schema.ts.

Troubleshooting Guide

  • Configuration errors
    • Example messages: ❌ Redmine URL is required! or ❌ Redmine API key is required!
    • How to fix: Choose one of the configuration methods shown in the error message. For security, environment variables are recommended.
  • Node.js/ESM-related errors
    • Ensure you are using Node.js 18 or higher.
  • Authentication and network errors (401, 403, etc.)
    • Verify your API key permissions and URL, and check for network issues.
  • Execution issues on Windows
    • Try running with cmd /c npx ... as shown in the guide.

Security & Permissions

  • API keys are sensitive; avoid exposing them in Git commits, logs, or shared repositories.
  • For irreversible actions like deleting projects or issues, double-check permissions and proceed carefully.

Roadmap

We plan to deepen coverage of beta endpoints (e.g., attachment upload flows), add SSE (Server-Sent Events), and enhance examples/tests.

License

MIT

インストール

TypingMind
{
  "mcpServers": {
    "mcp-for-redmine": {
      "command": "npx",
      "args": [
        "-y",
        "@chspower1/mcp-for-redmine",
        "--url",
        "{{config.REDMINE_URL}}",
        "--api-key",
        "{{config.REDMINE_API_KEY}}"
      ],
      "env": {
        "REDMINE_URL": "<REDMINE_URL>",
        "REDMINE_API_KEY": "<REDMINE_API_KEY>"
      }
    }
  }
}

利用可能なツール

  • users_create

    Creates a new user in Redmine.

  • users_get

    Retrieves a single user from Redmine by their ID.

  • users_list

    Retrieves a list of users from Redmine. This is an admin-only function.

  • users_update

    Updates an existing user in Redmine.

  • users_delete

    Deletes a user from Redmine.

  • projects_list

    Retrieves a list of all projects.

  • projects_get

    Retrieves a single project by its ID or identifier.

  • projects_create

    Creates a new project.

  • projects_update

    Updates an existing project.

  • projects_archive

    Archives a project.

  • projects_unarchive

    Unarchives a project.

  • projects_delete

    Deletes a project.

  • issues_list

    Retrieves a list of issues from Redmine, with optional filters.

  • issues_get

    Retrieves a single issue from Redmine by its ID.

  • issues_create

    Creates a new issue in Redmine.

  • issues_update

    Updates an existing issue in Redmine.

  • issues_delete

    Deletes an issue from Redmine.

  • time_entries_list

    Retrieves a list of time entries, with optional filters.

  • time_entries_get

    Retrieves a single time entry by its ID.

  • time_entries_create

    Creates a new time entry.

  • time_entries_update

    Updates an existing time entry.

  • time_entries_delete

    Deletes a time entry.

  • search

    Performs a search across Redmine.

MCP-For-RedmineのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度MCP-For-Redmineに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

MCP-For-Redmineをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. MCP-For-RedmineのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "mcp-for-redmine": {
      "command": "npx",
      "args": [
        "-y",
        "@chspower1/mcp-for-redmine"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMCP-For-RedmineのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. MCP-For-RedmineのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
MCP-For-Redmineを使ってこのタスクを手伝ってもらえますか?
MCP-For-Redmine
はい、読みました。
MCP-For-Redmineで調べた結果をお伝えします。

よくある質問

MCP-For-Redmine MCPサーバーは何に使いますか?

MCP-For-Redmineは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでMCP-For-Redmine MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMCP-For-Redmineを利用できます。

TypingMindでMCP-For-Redmine MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。MCP-For-Redmineを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

MCP-For-Redmine MCPをTypingMindに接続するにはどうすればよいですか?

MCP-For-RedmineはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでMCP-For-Redmine MCPのどのようなツールを利用できますか?

MCP-For-Redmineは23個のMCPツールを提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

MCP-For-Redmine MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。MCP-For-Redmineで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇