Logo MCP Redmine

MCP Redmine

Cộng đồng
runekaagaard

A redmine MCP server covering close to 100% of redmines API

Nhà phát hànhrunekaagaard
Kho mãmcp-redmine
Ngôn ngữPython
Bản fork
61
Sao
245
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMPL-2.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    MCP Redmine cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    245 sao và 61 bản fork từ kho mã được liên kết.

MCP Redmine

Status: Actively maintained and in daily use. Tested releases are published to PyPI with git tags, and issues and pull requests are triaged regularly.

Let Claude be your Redmine assistant! MCP Redmine connects Claude Desktop to your Redmine instance, allowing it to:

  • Search and browse projects and issues
  • Create and update issues with full markdown support
  • Upload and download file attachments
  • Manage and track time entries
  • Update issue statuses and fields
  • Access comprehensive Redmine API functionality

Uses httpx for API requests and integrates with the Redmine OpenAPI specification for comprehensive API coverage.

MCP Redmine in action

Usage with Claude Desktop

1. Installation using uv

Ensure you have uv installed.

bash
uv --version

Install uv if you haven't already.

  • Linux

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

    zsh
    brew install uv
  • windows

    powershell
    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Add to your claude_desktop_config.json:

json
  {
    "mcpServers": {
      "redmine": {
        "command": "uvx",
        "args": ["--from", "mcp-redmine==2026.09.10.084818",
                "--refresh-package", "mcp-redmine", "mcp-redmine"],
        "env": {
          "REDMINE_URL": "https://your-redmine-instance.example.com",
          "REDMINE_API_KEY": "your-api-key",
          "REDMINE_REQUEST_INSTRUCTIONS": "/path/to/instructions.md",
          "REDMINE_ALLOWED_DIRECTORIES": "/tmp,/home/user/uploads"
        }
      }
    }
  }

2. Installation using docker

Ensure you have docker installed.

bash
docker --version

Pull the published image from GitHub Container Registry:

bash
docker pull ghcr.io/runekaagaard/mcp-redmine:latest

Or build the image yourself:

bash
git clone git@github.com:runekaagaard/mcp-redmine.git
cd mcp-redmine
docker build -t ghcr.io/runekaagaard/mcp-redmine .

Add to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "redmine": {
      "command": "docker",
      "args":  [
          "run",
          "-i",
          "--rm",
          "-e", "REDMINE_URL",
          "-e", "REDMINE_API_KEY",
          "-e", "REDMINE_REQUEST_INSTRUCTIONS",
          "-e", "REDMINE_ALLOWED_DIRECTORIES",
          "-v", "/path/to/instructions.md:/app/INSTRUCTIONS.md",
          "-v", "/path/to/uploads:/app/uploads",
          "ghcr.io/runekaagaard/mcp-redmine:latest"
      ],
      "env": {
        "REDMINE_URL": "https://your-redmine-instance.example.com",
        "REDMINE_API_KEY": "your-api-key",
        "REDMINE_REQUEST_INSTRUCTIONS": "/app/INSTRUCTIONS.md",
        "REDMINE_ALLOWED_DIRECTORIES": "/app/uploads"
      }
    }
  }
}

3. Other MCP clients and transports

MCP Redmine works with any MCP client (Claude Code, Cursor, IntelliJ-based IDEs, n8n, etc.) - point your client at the same command and environment variables as above, following your client's documentation for registering MCP servers.

By default the server speaks stdio. For clients or setups that connect over HTTP, start the server with one of the HTTP transports:

bash
# Recommended HTTP transport (serves on http://HOST:PORT/mcp)
mcp-redmine --transport streamable-http --host 0.0.0.0 --port 8000

# Legacy SSE transport, for older clients (serves on http://HOST:PORT/sse)
mcp-redmine --transport sse --host 0.0.0.0 --port 8000

Environment Variables

VariableRequiredDefaultDescription
REDMINE_URLYes-URL of your Redmine instance. Subpaths are supported (e.g., http://localhost/redmine/)
REDMINE_API_KEYYes-Your Redmine API key (see below for how to get it)
REDMINE_REQUEST_INSTRUCTIONSNo-Path to a file containing additional instructions for the redmine_request tool. I've found it works great to have the LLM generate that file after a session. (example1 example2)
REDMINE_HEADERSNo(empty)Custom HTTP headers to include in all requests. Format: "Header1: Value1, Header2: Value2". Useful for proxies that require additional authentication (e.g., X-Redmine-Username)
REDMINE_RESPONSE_FORMATNoyamlResponse format: yaml or json. Controls how API responses are formatted
REDMINE_ALLOWED_DIRECTORIESFor upload/download(disabled)Required for file operations. Comma-separated list of directories where upload/download are allowed (e.g., /tmp,/home/user/uploads). Upload/download are disabled if not set for security
REDMINE_DANGEROUSLY_ACCEPT_INVALID_CERTSNo(disabled)Set to 1 to disable SSL certificate verification. Use only for self-signed certs in trusted environments
REDMINE_CA_BUNDLENo(system CAs)Path to a custom CA certificate bundle (e.g. /path/to/ca.crt) for Redmine instances using a private certificate chain. Prefer this over disabling verification
REDMINE_READ_ONLYNo(disabled)Set to 1 to only allow GET requests. All writing operations (POST/PUT/DELETE, including uploads) are refused

Note: When running via Docker, the REDMINE_REQUEST_INSTRUCTIONS environment variable must point to a path inside the container, not a path on the host machine. Therefore, if you want to use a local file, you need to mount it into the container at the correct location.

Security Note: The REDMINE_ALLOWED_DIRECTORIES setting protects against path traversal attacks. Paths containing ../ are resolved before validation, ensuring files can only be accessed within the allowed directories.

Getting Your Redmine API Key

  1. Log in to your Redmine instance
  2. Go to "My account" (typically found in the top-right menu)
  3. On the right side of the page, you should see "API access key"
  4. Click "Show" to view your existing key or "Generate" to create a new one
  5. Copy this key for use in your configuration

API

Tools

  • redmine_paths_list

    • Return a list of available API paths from OpenAPI spec
    • No input required
    • Returns a YAML string containing a list of path templates:
    - /issues.json
    - /projects.json
    - /time_entries.json
    ...
  • redmine_paths_info

    • Get full path information for given path templates
    • Input: path_templates (list of strings)
    • Returns YAML string containing API specifications for the requested paths:
    yaml
    /issues.json:
      get:
        operationId: getIssues
        parameters:
          - $ref: '#/components/parameters/format'
        ...
  • redmine_request

    • Make a request to the Redmine API
    • Inputs:
      • path (string): API endpoint path (e.g. '/issues.json')
      • method (string, optional): HTTP method to use (default: 'get')
      • data (object, optional): Dictionary for request body (for POST/PUT)
      • params (object, optional): Dictionary for query parameters
    • Returns YAML string containing response status code, body and error message:
    yaml
    status_code: 200
    body:
      issues:
        - id: 1
          subject: "Fix login page"
          ...
    error: ""
  • redmine_upload

    • Upload a file to Redmine and get a token for attachment
    • Requires REDMINE_ALLOWED_DIRECTORIES to be set
    • Inputs:
      • file_path (string): Fully qualified path to the file to upload (must be within allowed directories)
      • description (string, optional): Optional description for the file
    • Returns YAML string with the same format as redmine_request, including upload token:
    yaml
    status_code: 201
    body:
      upload:
        id: 7
        token: "7.ed32257a2ab0f7526c0d72c32994c58b131bb2c0775f7aa84aae01ea8397ea54"
    error: ""
  • redmine_attachment_image

    • Fetch an image attachment (e.g. an inline screenshot referenced as !screenshot.png! in an issue description) and return it as viewable image content, letting the LLM actually see it
    • Input: attachment_id (integer)
    • Returns image content on success (max 5 MB, images only), or a YAML error string on failure
  • redmine_download

    • Download an attachment from Redmine and save it to a local file
    • Requires REDMINE_ALLOWED_DIRECTORIES to be set
    • Inputs:
      • attachment_id (integer): The ID of the attachment to download
      • save_path (string): Fully qualified file path (not directory) where the file should be saved (must be within allowed directories)
      • filename (string, optional): Optional filename for the Redmine download URL (determined automatically from attachment metadata if not provided)
    • Returns YAML string with download results:
    yaml
    status_code: 200
    body:
      saved_to: "/path/to/downloaded/file.pdf"
      filename: "file.pdf"
    error: ""

Examples

Creating a new issue

Let's create a new bug report in the "Website" project:

1. Title: "Homepage not loading on mobile devices"
2. Description: "When accessing the homepage from iOS or Android devices, the loading spinner appears but the content never loads. This issue started after the last deployment."
3. Priority: High
4. Assign to: John Smith

Searching for issues

Can you find all high priority issues in the "Website" project that are currently unassigned?

Updating issue status

Please mark issue #123 as "In Progress" and add a comment: "I've started working on this issue. Expect it to be completed by Friday."

Logging time

Log 3.5 hours against issue #456 for "Implementing user authentication" done today.

MCP Directory Listings

MCP Redmine is listed in the following MCP directory sites and repositories:

Developing

First clone the github repository and install the dependencies:

git clone git@github.com:runekaagaard/mcp-redmine.git
cd mcp-redmine
uv sync

Then set this in claude_desktop_config.json:

...
"command": "uv",
"args": ["run", "--directory", "/path/to/mcp-redmine", "-m", "mcp_redmine.server"],
...

My Other LLM Projects

  • MCP Alchemy - Connect Claude Desktop to databases for exploring schema and running SQL.
  • MCP Notmuch Sendmail - Email assistant for Claude Desktop using notmuch.
  • Diffpilot - Multi-column git diff viewer with file grouping and tagging.
  • Claude Local Files - Access local files in Claude Desktop artifacts.

Contributing

Contributions are warmly welcomed! Whether it's bug reports, feature requests, documentation improvements, or code contributions - all input is valuable. Feel free to:

  • Open an issue to report bugs or suggest features
  • Submit pull requests with improvements
  • Enhance documentation or share your usage examples
  • Ask questions and share your experiences

The goal is to make Redmine project management with Claude even better, and your insights and contributions help achieve that.

Acknowledgments

This project builds on the excellent work of others:

License

Mozilla Public License Version 2.0

Cài đặt

TypingMind
{
  "mcpServers": {
    "mcp-redmine": {
      "command": "uv",
      "args": [
        "run",
        "mcp_redmine/server.py",
        "main"
      ]
    }
  }
}

Dùng MCP MCP Redmine với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối MCP Redmine, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm MCP Redmine làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của MCP Redmine.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "mcp-redmine": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của MCP Redmine, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của MCP Redmine.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng MCP Redmine giúp tôi làm việc này không?
MCP Redmine
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng MCP Redmine.

Câu hỏi thường gặp

Máy chủ MCP MCP Redmine dùng để làm gì?

MCP Redmine là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP MCP Redmine với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng MCP Redmine với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP MCP Redmine với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối MCP Redmine, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP MCP Redmine với TypingMind?

MCP Redmine hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP MCP Redmine cung cấp những công cụ nào trong TypingMind?

MCP Redmine cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP MCP Redmine không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu MCP Redmine yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇