mcp-redmine

mcp-redmine

MCP server for Redmine that lets coding agents read and write Redmine: search issues, view histories, comment, log time, browse wiki, and download attachments. Enforces explicit user permission for any write operations.

Category
访问服务器

README

Redmine MCP Server

An MCP server that lets a coding agent read and write your Redmine: search tickets, read full issue histories, post notes, log time, browse the wiki, and download attachments. Works with Claude Code, Codex, Claude Desktop, and any other MCP client.

It ships with a built-in safety rule: the agent will never create, update, comment on, or log time against a ticket unless you explicitly tell it to in that conversation.


Setup

Step 1: Install uv

uv runs the server and handles its Python dependencies for you.

curl -LsSf https://astral.sh/uv/install.sh | sh

On Windows, use powershell -c "irm https://astral.sh/uv/install.ps1 | iex".

Step 2: Download this server

git clone https://github.com/beborico1/mcp-redmine.git
cd mcp-redmine
uv sync

Note the full path you cloned into. You need it in step 4:

pwd

Step 3: Get your Redmine API key

  1. Log in to your Redmine.
  2. Go to My account (top right).
  3. In the right-hand sidebar, find API access key and click Show.
  4. Copy the key.

If you do not see that panel, your administrator has not enabled the REST API. Ask them to tick Enable REST web service under Administration → Settings → API.

Step 4: Connect it to your agent

Pick the one you use. In every case, substitute your Redmine address, your API key, and the path from step 2.

Claude Code

claude mcp add redmine \
  --env REDMINE_URL=https://redmine.example.com \
  --env REDMINE_API_KEY=paste_your_key_here \
  -- uv --directory /full/path/to/mcp-redmine run mcp-redmine

Codex

Open ~/.codex/config.toml (create it if it does not exist) and add:

[mcp_servers.redmine]
command = "uv"
args = ["--directory", "/full/path/to/mcp-redmine", "run", "mcp-redmine"]

[mcp_servers.redmine.env]
REDMINE_URL = "https://redmine.example.com"
REDMINE_API_KEY = "paste_your_key_here"

Claude Desktop, or any other MCP client

Add this to the client's MCP config file:

{
  "mcpServers": {
    "redmine": {
      "command": "uv",
      "args": ["--directory", "/full/path/to/mcp-redmine", "run", "mcp-redmine"],
      "env": {
        "REDMINE_URL": "https://redmine.example.com",
        "REDMINE_API_KEY": "paste_your_key_here"
      }
    }
  }
}

Step 5: Check that it works

Restart the agent, then ask it:

What's on my Redmine dashboard?

You should get your open tickets back. That is it, you are done.


Configuration

Variable Required Description
REDMINE_URL yes Base URL of your Redmine, no trailing slash
REDMINE_API_KEY yes Your personal API access key from My account

Your API key is read from the environment only. It is never written to disk by this server, and it must never be committed to a repository.


What you can ask for

Reading

  • redmine_my_dashboard - your open tickets, at a glance
  • redmine_get_issue - one ticket in full, with its comment history
  • redmine_search_issues - filter by author, assignee, project, status, dates
  • redmine_list_projects - every project you can see
  • redmine_list_wiki_pages, redmine_get_wiki_page - project wikis
  • redmine_get_time_entries - logged time
  • redmine_download_attachment - save a ticket's files locally
  • redmine_find_user, redmine_get_users - resolve a name to a user ID
  • redmine_get_statuses, redmine_get_trackers, redmine_get_priorities - reference IDs

Writing (each one needs your explicit go-ahead)

  • redmine_create_issue - open a new ticket, attachments included
  • redmine_update_issue - change status, assignee, or any field
  • redmine_add_note - post a comment
  • redmine_edit_journal - edit a comment you already posted
  • redmine_log_time - record hours against a ticket

Ask in plain language. "Show me ticket 12345", "find everything Yuko opened this month", "draft a status update for 12345" all work; the agent picks the tool.


Troubleshooting

Every call fails with a 401. The API key is wrong, or REDMINE_API_KEY did not reach the server. Re-copy it from My account and re-run the claude mcp add command.

Every call fails with a 404. Check REDMINE_URL. It should be the site root (https://redmine.example.com), not a project or issue page, and it should have no trailing slash.

The tools are not available. Restart the client after adding the server, then confirm it is connected with claude mcp list or codex mcp list.

Searching by a person's name returns a 500. Redmine only accepts me or a numeric user ID in author and assignee filters. Ask the agent to look the person up with redmine_find_user first.


Requirements

Python 3.13 or newer, and a Redmine with the REST API enabled.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选