Logotipo de Redmine MCP Server

Redmine MCP Server

Comunidad
jztan

MCP server connecting AI assistants to Redmine: issues, projects, wikis, time tracking, agile boards, and CRM, with OAuth2 multi-user support

Editorjztan
Repositorioredmine-mcp-server
IdiomaPython
Forks
33
Estrellas
79
Herramientas disponibles
0
Tipo de transportestdio, streamable-http
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Redmine MCP Server ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés de la comunidad en el repositorio

    79 estrellas y 33 forks en el repositorio enlazado.

Redmine MCP Server

PyPI Version License Python Version Redmine Version GitHub Issues CI Coverage Downloads

A Model Context Protocol (MCP) server that connects AI assistants to Redmine. It exposes your Redmine instance's projects, issues, time tracking, wiki pages, and files as MCP tools.

mcp-name: io.github.jztan/redmine-mcp-server

Tool reference | Changelog | Contributing | Troubleshooting

Features

  • 51 MCP tools on a stock Redmine, 64 with the RedmineUP and DMSF plugins (plus 1 operator tool gated by REDMINE_MCP_EXPOSE_ADMIN_TOOLS=true): Issues, projects, news, time tracking, wiki, Gantt, file operations, membership management, products, contacts and deals (CRM), DMSF documents, and more
  • Interactive Kanban Board: show_triage_board renders a live, drag-and-drop issue board right in the chat via the MCP Apps extension
  • Flexible Authentication: API key, username/password, OAuth2 per-user tokens, or a browser login with each user's own API key on Redmines without OAuth
  • Prompt Injection Protection: User-controlled content wrapped in boundary tags for safe LLM consumption
  • Read-Only Mode: Restrict to read-only operations via REDMINE_MCP_READ_ONLY environment variable
  • HTTP File Serving: Secure attachment access via UUID-based URLs with automatic expiry
  • Pagination Support: Handle large result sets with configurable limits
  • MCP Compliant: Built on FastMCP with HTTP transport
  • Docker Ready: Dockerfile, docker-compose setup, and prebuilt images on GHCR

Quick Start

  1. Install the package
    bash
    pip install redmine-mcp-server
  2. Create a .env file with your Redmine credentials (see Installation for template)
  3. Start the server
    bash
    redmine-mcp-server
  4. Add the server to your MCP client using one of the guides in MCP Client Configuration.

Once running, the server listens on http://localhost:8000 with the MCP endpoint at /mcp, health check at /health, and file serving at /files/{file_id}.

Installation

Prerequisites

  • Python 3.10+ (for local installation)
  • Docker (alternative deployment, uses Python 3.13)
  • Access to a Redmine instance

Redmine Compatibility

The integration suite passes in full against Redmine 6.1 and 7.0. Older versions are untested. Individual tools list their own minimum where one is known (global search needs 3.3.0+, issue watchers 2.3.0+, project time-entry activities 3.4.0+), so on an older server those specific tools fail rather than the whole server.

Per-user authentication works on any version: OAuth2 needs Redmine 6.1+ for Doorkeeper, and the other per-user modes do not. See Authentication to pick a mode.

Install from PyPI (Recommended)

bash
# Install the package
pip install redmine-mcp-server

# Create configuration file .env
cat > .env << 'EOF'
# Redmine connection (required)
REDMINE_URL=https://your-redmine-server.com

# Authentication - Use either API key (recommended) or username/password
REDMINE_API_KEY=your_api_key
# OR use username/password:
# REDMINE_USERNAME=your_username
# REDMINE_PASSWORD=your_password

# Server configuration (optional, defaults shown)
SERVER_HOST=0.0.0.0
SERVER_PORT=8000

# Public URL for file serving (optional)
PUBLIC_HOST=localhost
PUBLIC_PORT=8000

# File management (optional)
ATTACHMENTS_DIR=./attachments
AUTO_CLEANUP_ENABLED=true
CLEANUP_INTERVAL_MINUTES=10
ATTACHMENT_EXPIRES_MINUTES=60
EOF

# Edit .env with your actual Redmine settings
nano .env  # or use your preferred editor

# Run the server
redmine-mcp-server
# Or alternatively:
python -m redmine_mcp_server.main

The server runs on http://localhost:8000 with the MCP endpoint at /mcp, health check at /health, and file serving at /files/{file_id}.

Environment Variables Configuration

VariableRequiredDefaultDescription
REDMINE_URLYes–Base URL of your Redmine instance
REDMINE_AUTH_MODENolegacyAuthentication mode: legacy, legacy-per-user, oauth, oauth-proxy, or api-key-login (see Authentication)
REDMINE_PER_USER_TRUST_PROXYYes*falseRequired for legacy-per-user mode. Operator attestation: "this server sits behind TLS and my proxy does not forward client X-Forwarded-Proto."
REDMINE_PER_USER_AUDIT_IDENTITYNofalselegacy-per-user only: resolve and log the Redmine user ID per request (adds one extra round-trip)
REDMINE_API_KEY_LOGIN_ALLOW_ADMINNofalseapi-key-login only: accept the API keys of Redmine administrators. Tokens never carry the admin scope either way (details)
REDMINE_API_KEY_LOGIN_ALLOW_HTTPNofalseapi-key-login only: allow an http:// REDMINE_MCP_BASE_URL. Local development only
REDMINE_API_KEY_LOGIN_SESSION_DAYSNo30api-key-login only: how long a session lasts before the user logs in again. Must be positive
REDMINE_API_KEY_LOGIN_RATE_LIMITNo300api-key-login only: login attempts per minute, a process-wide safety ceiling
REDMINE_API_KEY_LOGIN_BINDING_CRYPTONoserver-secretapi-key-login only: server-secret or token-derived. token-derived puts stored API keys beyond the reach of the volume plus the signing key, at the cost of any server-side read (details)
REDMINE_API_KEYYes†–API key (legacy mode only)
REDMINE_USERNAMEYes†–Username for basic auth (legacy mode only)
REDMINE_PASSWORDYes†–Password for basic auth (legacy mode only)
REDMINE_MCP_BASE_URLYes‡¶http://localhost:3040Public base URL of this server, no trailing slash (OAuth modes and api-key-login)
FASTMCP_STREAMABLE_HTTP_PATHNo/mcpMCP transport path inside REDMINE_MCP_BASE_URL
REDMINE_INTROSPECT_CLIENT_IDYes‡–Doorkeeper OAuth client ID used by the MCP server to introspect Bearer tokens (RFC 7662). Register a confidential OAuth app in Redmine (see docs/oauth-setup.md Step 2).
REDMINE_INTROSPECT_CLIENT_SECRETYes‡–Secret for the introspection client
REDMINE_MCP_JWT_SIGNING_KEYYes§¶–Stable signing/encryption key used by FastMCP OAuthProxy tokens and storage, and by the api-key-login store. Changing it signs everyone out
REDMINE_OAUTH_CLIENT_IDNo–Optional upstream Redmine OAuth client ID for oauth-proxy; defaults to REDMINE_INTROSPECT_CLIENT_ID
REDMINE_OAUTH_CLIENT_SECRETNo–Optional upstream Redmine OAuth client secret for oauth-proxy; defaults to REDMINE_INTROSPECT_CLIENT_SECRET
FASTMCP_HOMENoplatform default (/app/data/fastmcp in Docker)FastMCP data directory. In oauth-proxy mode, encrypted OAuthProxy state is stored below FASTMCP_HOME/oauth-proxy/, and in api-key-login mode below FASTMCP_HOME/api-key-login/. Either must be on a persistent volume to survive a container rebuild
REDMINE_MCP_ALLOWED_CLIENT_REDIRECT_URISNoloopback onlyoauth-proxy and api-key-login client redirect-URI allowlist (glob patterns, comma/space separated). Unset = http://localhost:* and http://127.0.0.1:*; * = allow any
HEALTH_INTROSPECTION_TTL_SECONDSNo30TTL (seconds) for the /health Doorkeeper introspection probe cache. Set to 0 to disable caching.
SERVER_HOSTNo0.0.0.0Host/IP the MCP server binds to
SERVER_PORTNo8000Port the MCP server listens on
PUBLIC_HOSTNolocalhostHostname used when generating download URLs
PUBLIC_PORTNo8000Public port used for download URLs
PUBLIC_SCHEMENoderivedScheme for download URLs (http or https). When unset, https is derived from PUBLIC_PORT=443, otherwise http. Set explicitly for TLS on a nonstandard port. Default ports (80/443) are omitted from generated URLs.
REDMINE_PUBLIC_URLNo–Publicly-reachable URL of your Redmine instance. When set, content_url values returned on attachments are rewritten from REDMINE_URL's origin to this one (preserving path/query/fragment and any reverse-proxy subpath). Useful when REDMINE_URL is the internal container hostname unreachable from MCP clients. When unset, the raw URL Redmine echoes back is returned.
ATTACHMENTS_DIRNo./attachmentsDirectory for downloaded attachments
ATTACHMENT_MAX_DOWNLOAD_BYTESNo209715200 (200 MB)Cap applied to every get_redmine_attachment download regardless of content type. Exceeding the cap aborts the download mid-stream and deletes the partial file.
REDMINE_MCP_UPLOAD_FILE_ROOTSNo–Extra directories allowed as file_path upload sources (OS path separator-separated). ATTACHMENTS_DIR is always allowed. Unset restricts uploads to ATTACHMENTS_DIR only.
AUTO_CLEANUP_ENABLEDNotrueToggle automatic cleanup of expired attachments
CLEANUP_INTERVAL_MINUTESNo10Interval for cleanup task (also deletes expired OAuth state in oauth-proxy and api-key-login modes)
ATTACHMENT_EXPIRES_MINUTESNo60Expiry window for generated download URLs
REDMINE_MCP_JOURNAL_VALUE_MAX_CHARSNo500Above this many characters, a journal field-change reports its before/after text as old_value_length / new_value_length with elided: true instead of in full. Redmine records a description edit with both texts, so a repeatedly edited ticket otherwise returns several copies of its description. 0 disables eliding; get_redmine_issue and get_private_notes take include_journal_values=true per call.
REDMINE_MCP_EXPOSE_ADMIN_TOOLSNofalseExpose operator/admin tools on the MCP surface. Currently gates cleanup_attachment_files. The background cleanup task runs regardless of this flag.
REDMINE_SSL_VERIFYNotrueEnable/disable SSL certificate verification
REDMINE_SSL_CERTNo–Path to custom CA certificate file
REDMINE_SSL_CLIENT_CERTNo–Path to client certificate for mutual TLS
REDMINE_TIMEOUTNo30Whole seconds to wait for a Redmine HTTP response before failing the call. Applied as a connect timeout of at most 10s plus a read timeout of the full value. Set to 0 to wait indefinitely, which restores the previous behavior and can hang the request.
REDMINE_MCP_READ_ONLYNofalseBlock all write operations (create/update/delete) when set to true
REDMINE_MCP_ALLOW_TOOLSNo–Expose only these tools (comma-separated names). Unset exposes all; set but naming no tool refuses to start. Narrows the surface only: a listed tool whose plugin flag is off stays hidden. Whole tools, so per-action control on manage_X remains REDMINE_MCP_READ_ONLY's job. Names matching no tool are warned about at startup (details)
REDMINE_MCP_ALLOW_TOOLS_FILENo–Path to a file with one allowed tool name per line (# starts a comment). Used when REDMINE_MCP_ALLOW_TOOLS is unset or empty
REDMINE_MCP_EXTENSIONSNo–Python modules to import at startup so they can register tools for an in-house Redmine plugin (comma- or whitespace-separated, imported in order). Unset means none. A module that fails to import, or that claims a family or tool name already taken, stops the server (details)
REDMINE_OAUTH_SCOPE_ENFORCEMENTNoonOAuth modes and api-key-login only: deny tool calls whose access token lacks the tool's Redmine permission scopes, and filter tools/list accordingly. Set to off temporarily while re-consenting older tokens (details)
REDMINE_OAUTH_DISCOVERY_ASNoredmineOAuth modes only: which authorization server discovery advertises. redmine names your Redmine; self advertises this server (issuer = REDMINE_MCP_BASE_URL) and serves RFC 8414 metadata at its own canonical well-known location, which clients that probe there need, Cursor among them (details)
REDMINE_MCP_SCOPESNo–OAuth modes and api-key-login only: advertise a subset of scopes in discovery, matching the permissions your Redmine OAuth Application actually enables. Avoids invalid_scope at consent when a client requests the full advertised list. In api-key-login it only narrows the scopes this server offers
REDMINE_AGILE_ENABLEDNofalseEnable RedmineUP Agile plugin support: get_redmine_issue returns story_points, agile_sprint_id, agile_position; update_redmine_issue accepts story_points
REDMINE_CHECKLISTS_ENABLEDNofalseEnable RedmineUP Checklists plugin support: get_checklist, create_checklist_item, update_checklist_item (requires Checklists Pro plugin)
REDMINE_PRODUCTS_ENABLEDNofalseEnable RedmineUP Products plugin support: manage_product (action=list/get/create/update)
REDMINE_CRM_ENABLEDNofalseEnable RedmineUP CRM plugin support: manage_contact (action=list/get/create/update/delete/assign_to_project/remove_from_project) list_contact_tags, manage_crm_note (notes on contacts) and list_crm_queries. Requires the CRM plugin and the view_contacts / view_private_contacts permissions on the Redmine server, plus add_contacts / edit_contacts / delete_contacts for the write actions. In OAuth mode these are advertised as scopes only when this flag is set, so the OAuth application must grant them too.
REDMINE_CRM_EDITIONNolightWhich build of the CRM plugin the Redmine server runs: light or pro. The two register different contact query filters — the Pro build registers the contact fields, the Light build registers only tags — and Redmine ignores an unregistered filter parameter without erroring, answering with the whole collection instead. So manage_contact refuses first_name, last_name, middle_name, company, job_title, email, phone and author_id on list unless this is pro, rather than returning a silently unfiltered list. The build cannot be detected: Redmine exposes plugin versions only through admin/plugins, which is HTML and admin-only.
REDMINE_DEALS_ENABLEDNofalseEnable RedmineUP CRM deals support: manage_deal (action=list/get/create/update/delete), list_deal_statuses, manage_deal_category, manage_crm_note (notes on deals), list_crm_queries and, together with REDMINE_PRODUCTS_ENABLED, add_deal_product. Separate from REDMINE_CRM_ENABLED because the CRM plugin's Light edition ships no deals and defines none of the deal permissions, so advertising them there would make consent fail. Requires the CRM plugin's Pro edition, the deals project module enabled on the project, and the view_deals permission, plus add_deals / edit_deals / delete_deals for the write actions.
REDMINE_DMSF_ENABLEDNofalseEnable DMSF document-management plugin support: manage_document (action=list/get/create/update). Requires redmine_dmsf plugin on the Redmine server.
REDMINE_TAGS_ENABLEDNofalseEnable AlphaNodes additional_tags plugin support: get_redmine_issue returns a tags array, and create_redmine_issue/update_redmine_issue accept a tag_list. Requires the additional_tags plugin and the view_issue_tags / create_issue_tags / edit_issue_tags permissions on the Redmine server.
REDMINE_AUTOFILL_REQUIRED_CUSTOM_FIELDSNofalseEnable one retry for issue creation by filling missing required custom fields
REDMINE_REQUIRED_CUSTOM_FIELD_DEFAULTSNo{}JSON object mapping required custom field names to fallback values used when creating issues
REDMINE_ALLOW_PRIVATE_FETCH_URLSNofalseWarning: disables all SSRF protection for attachment fetching. Never set to true in production.

* Required when REDMINE_AUTH_MODE=legacy-per-user. † Required when REDMINE_AUTH_MODE=legacy. Either REDMINE_API_KEY or REDMINE_USERNAME+REDMINE_PASSWORD must be set. API key is recommended. ‡ Required when REDMINE_AUTH_MODE=oauth or REDMINE_AUTH_MODE=oauth-proxy. § Required when REDMINE_AUTH_MODE=oauth-proxy. ¶ Required when REDMINE_AUTH_MODE=api-key-login. Secret values can also be supplied with Docker/Kubernetes-style file variables: REDMINE_INTROSPECT_CLIENT_SECRET_FILE, REDMINE_MCP_JWT_SIGNING_KEY_FILE, and REDMINE_OAUTH_CLIENT_SECRET_FILE.

When REDMINE_AUTOFILL_REQUIRED_CUSTOM_FIELDS=true, create_redmine_issue retries once on relevant custom-field validation errors (for example <Field Name> cannot be blank or <Field Name> is not included in the list) and fills values only from:

  • the Redmine custom field default_value, or
  • REDMINE_REQUIRED_CUSTOM_FIELD_DEFAULTS

In practice only the second one can fire. The server reads project custom fields from GET /projects/{id}.json?include=issue_custom_fields, which Redmine renders as id and name only, so it never sees default_value -- see list_project_issue_custom_fields. Set the env map if you want autofill to have anything to work with.

Example:

bash
REDMINE_AUTOFILL_REQUIRED_CUSTOM_FIELDS=true
REDMINE_REQUIRED_CUSTOM_FIELD_DEFAULTS='{"Required Field A":"Value A","Required Field B":"Value B"}'

SSL Certificate Configuration

Configure SSL certificate handling for Redmine servers with self-signed certificates or internal CA infrastructure.

If your Redmine server uses a self-signed certificate or internal CA:

bash
# In .env file
REDMINE_URL=https://redmine.company.com
REDMINE_API_KEY=your_api_key
REDMINE_SSL_CERT=/path/to/ca-certificate.crt

Supported certificate formats: .pem, .crt, .cer

For environments requiring client certificate authentication:

bash
# In .env file
REDMINE_URL=https://secure.redmine.com
REDMINE_API_KEY=your_api_key
REDMINE_SSL_CERT=/path/to/ca-bundle.pem
REDMINE_SSL_CLIENT_CERT=/path/to/cert.pem,/path/to/key.pem

Note: Private keys must be unencrypted (Python requests library requirement).

⚠️ WARNING: Only use in development/testing environments!

bash
# In .env file
REDMINE_SSL_VERIFY=false

Disabling SSL verification makes your connection vulnerable to man-in-the-middle attacks.

For SSL troubleshooting, see the Troubleshooting Guide.

Authentication

The server supports five authentication modes, selected via REDMINE_AUTH_MODE. It defaults to legacy, so existing deployments keep working with no changes; OAuth2 support is purely additive.

Your situationModeRedmine
Single shared credential, simplest setuplegacy (default)any
Multi-user, you control the MCP clientoauth6.1+
Hosted server, clients self-register (DCR)oauth-proxy6.1+
Multi-user, no OAuth on your Redmine, users log in in a browserapi-key-loginany, incl. Easy Redmine
Multi-user, no OAuth on your Redmine, users set their key in the clientlegacy-per-userany

The advanced modes are collapsed below. For full setup, the OAuth2 Setup Guide covers oauth and oauth-proxy, the api-key-login guide covers api-key-login, and the legacy-per-user guide covers legacy-per-user.

Legacy mode (default)

A single shared credential (API key or username/password) configured once in .env. Every request to Redmine uses the same identity.

bash
REDMINE_AUTH_MODE=legacy        # or omit entirely; this is the default
REDMINE_URL=https://redmine.example.com
REDMINE_API_KEY=your_api_key
# OR:
# REDMINE_USERNAME=your_username
# REDMINE_PASSWORD=your_password

Each MCP request carries its own Authorization: Bearer <token>, so every user authenticates with their own Redmine account. The server validates each token against Doorkeeper's introspection endpoint before forwarding it, and exposes the OAuth2 discovery and /revoke endpoints clients need.

bash
REDMINE_AUTH_MODE=oauth
REDMINE_URL=https://redmine.example.com
REDMINE_MCP_BASE_URL=https://redmine-mcp.example.com   # public URL of this server

# Confidential OAuth app registered in Redmine admin (see setup guide)
REDMINE_INTROSPECT_CLIENT_ID=...
REDMINE_INTROSPECT_CLIENT_SECRET=...

You register the OAuth app manually in Redmine admin → Applications (no Dynamic Client Registration). Full walkthrough, endpoint reference, and troubleshooting: OAuth2 Setup Guide.

FastMCP acts as the MCP-facing authorization server: it handles DCR for MCP clients, then redirects users to Redmine as the upstream OAuth provider for consent. Use this when clients (e.g. Claude Desktop, VS Code) expect to register themselves.

bash
REDMINE_AUTH_MODE=oauth-proxy
REDMINE_URL=https://redmine.example.com
REDMINE_MCP_BASE_URL=https://redmine-mcp.example.com   # public URL of this server

# Confidential OAuth app registered in Redmine admin (see setup guide)
REDMINE_INTROSPECT_CLIENT_ID=...
REDMINE_INTROSPECT_CLIENT_SECRET=...
REDMINE_MCP_JWT_SIGNING_KEY=...

The upstream Redmine app must register ${REDMINE_MCP_BASE_URL}/auth/callback as its redirect URI. Storage, scaling, and credential-reuse notes are in the OAuth2 Setup Guide.

The server acts as its own OAuth authorization server, so MCP clients connect with nothing but its URL. On first use the client opens a browser, the user pastes their personal Redmine API key into a page this server serves, and every tool call from then on runs as that user. No key goes into any client configuration, and passwords are never asked for.

bash
REDMINE_AUTH_MODE=api-key-login
REDMINE_URL=https://redmine.example.com
REDMINE_MCP_BASE_URL=https://redmine-mcp.example.com   # public https URL of this server
REDMINE_MCP_JWT_SIGNING_KEY=...                        # encrypts the stored keys

The server stores each user's key encrypted below FASTMCP_HOME/api-key-login/, so that directory needs a persistent volume and the mode runs as a single replica. OAuth scopes here are a narrowing the client asks for, not Redmine permissions; Redmine's own permissions stay the boundary. Read the api-key-login guide for the security model, session rules and client setup before enabling it.

For Redmine instances too old for OAuth, each user's MCP client sends its own Redmine API key in an X-Redmine-API-Key header. Each request runs as that user's identity with that user's permissions.

This is an advanced, opt-in mode. It requires TLS end-to-end and a correctly configured reverse proxy. Read docs/legacy-per-user-auth.md for the threat model, firewall guidance, and revocation runbook before enabling it.

mcp-remote (recommended):

json
{ "mcpServers": { "redmine": {
  "command": "npx",
  "args": ["mcp-remote", "https://your-host/mcp",
           "--header", "X-Redmine-API-Key:${RM_KEY}"],
  "env": { "RM_KEY": "<your redmine api key>" }
}}}

Note the colon with no surrounding spaces in X-Redmine-API-Key:${RM_KEY}. This avoids an arg-escaping bug in Cursor and Claude Desktop on Windows.

VS Code (mcp.json):

Use .vscode/mcp.json (workspace file) or the user profile mcp.json. The workspace .mcp.json silently drops headers (see microsoft/vscode#319528), so do not use that file. Pin VS Code 1.102 or newer.

json
{
  "servers": {
    "redmine": {
      "type": "http",
      "url": "https://your-host/mcp",
      "headers": { "X-Redmine-API-Key": "${input:rmKey}" },
      "inputs": [{ "id": "rmKey", "type": "promptString",
                   "description": "Redmine API key", "password": true }]
    }
  }
}

Unsupported: any client that cannot set a custom request header, or that reserves the Authorization header for its own OAuth flow.

MCP Client Configuration

The server exposes an HTTP endpoint at http://127.0.0.1:8000/mcp. Register it with your preferred MCP-compatible agent using the instructions below.

The examples below assume legacy or oauth mode. In legacy-per-user mode each client must also send an X-Redmine-API-Key header; see legacy-per-user mode above for header-aware configs.

VS Code has built-in MCP support via GitHub Copilot (requires VS Code 1.102+).

Using CLI (Quickest):

bash
code --add-mcp '{"name":"redmine","type":"http","url":"http://127.0.0.1:8000/mcp"}'

Using Command Palette:

  1. Open Command Palette (Cmd/Ctrl+Shift+P)
  2. Run MCP: Open User Configuration (for global) or MCP: Open Workspace Folder Configuration (for project-specific)
  3. Add the configuration:
    json
    {
      "servers": {
        "redmine": {
          "type": "http",
          "url": "http://127.0.0.1:8000/mcp"
        }
      }
    }
  4. Save the file. VS Code will automatically load the MCP server.

Manual Configuration: Create .vscode/mcp.json in your workspace (or mcp.json in your user profile directory):

json
{
  "servers": {
    "redmine": {
      "type": "http",
      "url": "http://127.0.0.1:8000/mcp"
    }
  }
}

Add to Claude Code using the CLI command:

bash
claude mcp add --transport http redmine http://127.0.0.1:8000/mcp

Or configure manually in your Claude Code settings file (~/.claude.json):

json
{
  "mcpServers": {
    "redmine": {
      "type": "http",
      "url": "http://127.0.0.1:8000/mcp"
    }
  }
}

Claude Desktop's config file supports stdio transport only. Use FastMCP's proxy via uv to bridge to this HTTP server.

Setup:

  1. Open Claude Desktop
  2. Click the Claude menu (macOS menu bar / Windows title bar) > Settings...
  3. Click the Developer tab > Edit Config
  4. Add the following configuration:
json
{
  "mcpServers": {
    "redmine": {
      "command": "uv",
      "args": [
        "run",
        "--with", "fastmcp",
        "fastmcp",
        "run",
        "http://127.0.0.1:8000/mcp"
      ]
    }
  }
}
  1. Save the file, then fully quit and restart Claude Desktop
  2. Look for the tools icon in the input area to verify the connection

Config file locations:

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

Note: The Redmine MCP server must be running before starting Claude Desktop.

Cursor talks to HTTP MCP servers directly, with no bridge.

  1. Create ~/.cursor/mcp.json (available in every project) or .cursor/mcp.json in your project root (that project only):
    json
    {
      "mcpServers": {
        "redmine": {
          "url": "http://127.0.0.1:8000/mcp"
        }
      }
    }
  2. Save the file. Cursor picks the server up automatically; its MCP settings list the server and the tools it loaded.

Note: Cursor identifies a remote server by a bare url and has no type field, unlike the VS Code and Claude Code configs above.

In legacy-per-user mode, add the API key header:

json
{
  "mcpServers": {
    "redmine": {
      "url": "https://your-host/mcp",
      "headers": { "X-Redmine-API-Key": "<your redmine api key>" }
    }
  }
}

In oauth mode, set REDMINE_OAUTH_DISCOVERY_AS=self on the MCP server. Cursor looks for authorization server metadata at its own canonical well-known location, which the default (redmine) discovery profile does not serve, so the flow stalls without it (#188). See Cursor and self-AS discovery.

Add to Codex CLI using the command:

bash
codex mcp add redmine -- npx -y mcp-client-http http://127.0.0.1:8000/mcp

Or configure manually in ~/.codex/config.toml:

toml
[mcp_servers.redmine]
command = "npx"
args = ["-y", "mcp-client-http", "http://127.0.0.1:8000/mcp"]

Note: Codex CLI primarily supports stdio-based MCP servers. The above uses mcp-client-http as a bridge for HTTP transport.

Kiro primarily supports stdio-based MCP servers. For HTTP servers, use an HTTP-to-stdio bridge:

  1. Create or edit .kiro/settings/mcp.json in your workspace:
    json
    {
      "mcpServers": {
        "redmine": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-client-http",
            "http://127.0.0.1:8000/mcp"
          ],
          "disabled": false
        }
      }
    }
  2. Save the file and restart Kiro. The Redmine tools will appear in the MCP panel.

Note: Direct HTTP transport support in Kiro is limited. The above configuration uses mcp-client-http as a bridge to connect to HTTP MCP servers.

Most MCP clients use a standard configuration format. For HTTP servers:

json
{
  "mcpServers": {
    "redmine": {
      "type": "http",
      "url": "http://127.0.0.1:8000/mcp"
    }
  }
}

For clients that require a command-based approach with HTTP bridge:

json
{
  "mcpServers": {
    "redmine": {
      "command": "npx",
      "args": ["-y", "mcp-client-http", "http://127.0.0.1:8000/mcp"]
    }
  }
}

Testing Your Setup

bash
# Test connection by checking health endpoint
curl http://localhost:8000/health

Supported Redmine Plugins

The server works against a stock Redmine instance. Six optional plugins add more, shown as seven rows below because CRM's deals carry their own flag. To use one, install it on your Redmine server and set the matching env var. Skipping a plugin costs you only that plugin's features.

Plugin tools appear in the client's tool list only when their env var is set; with the flag off they are not registered on the MCP surface at all.

PluginVendorEnv varWhat it adds
AgileRedmineUPREDMINE_AGILE_ENABLEDget_redmine_issue returns story_points, agile_sprint_id, agile_position; update_redmine_issue accepts story_points
ChecklistsRedmineUP (Pro)REDMINE_CHECKLISTS_ENABLED3 tools: get_checklist, create_checklist_item, update_checklist_item
ProductsRedmineUPREDMINE_PRODUCTS_ENABLED1 tool: manage_product; with REDMINE_DEALS_ENABLED also add_deal_product
CRMRedmineUPREDMINE_CRM_ENABLED2 tools: manage_contact, list_contact_tags; plus the 2 shared CRM tools manage_crm_note and list_crm_queries, which either CRM flag enables (adds the *_contacts and note scopes to OAuth discovery when enabled)
CRM dealsRedmineUP (Pro)REDMINE_DEALS_ENABLED3 tools: manage_deal, list_deal_statuses, manage_deal_category; plus the 2 shared CRM tools above, and add_deal_product when REDMINE_PRODUCTS_ENABLED is also set (adds the *_deals and note scopes to OAuth discovery when enabled). Same plugin as CRM, but the Light edition has no deals
DMSFdanmunn (open source)REDMINE_DMSF_ENABLED1 tool: manage_document
Additional TagsAlphaNodes (open source)REDMINE_TAGS_ENABLEDget_redmine_issue returns a tags array; create_redmine_issue / update_redmine_issue accept tag_list

Agile and Additional Tags add fields to tools you already have, so they register no new tools. The other five bring their own, which appear in tools/list either way but return a feature-disabled error until you set the flag. Tags also needs the view_issue_tags, create_issue_tags, and edit_issue_tags permissions on the Redmine server.

Tools for a Redmine plugin written in house can be added from a separate package without forking this server; see Extensions.

Available Tools

A deployment can expose a subset of these with REDMINE_MCP_ALLOW_TOOLS; everything else disappears from tools/list and is refused by call_tool.

This MCP server provides 51 core tools for interacting with Redmine, plus 13 plugin tools that are listed only when the matching REDMINE_*_ENABLED flag is set (64 in total), and 1 operator tool exposed by REDMINE_MCP_EXPOSE_ADMIN_TOOLS=true (maximum of 65). A client connected to a vanilla Redmine sees just the 51 core tools. For full documentation of every tool, see the Tool Reference.

Core tools (51, always available): Project Management (10), Issue Operations (13), Time Tracking (4), Discovery / Enumeration (7), Search & Wiki (2), News (4), File Operations (5), Gantt (1), Interactive Apps (4), Meta (1).

Plugin-gated tools (13, listed only when their flag is set): Checklists (3), Products (1), Contacts / CRM (2), Deals / CRM (3), shared CRM notes and saved queries (2, either CRM flag), deal product lines (1, deals plus products), Documents / DMSF (1). Each requires the matching Redmine plugin installed and its env flag set; with the flag off the tools are not registered on the MCP surface.

Operator tools (1, admin-gated): cleanup_attachment_files, registered only when REDMINE_MCP_EXPOSE_ADMIN_TOOLS=true.

Core tools (51, always available)

These tools require only a Redmine instance and credentials, with no extra plugins or feature flags.

  • Project Management (10 tools)

  • Issue Operations (13 tools)

    • get_redmine_issue - Retrieve detailed issue information (supports journal pagination, watchers, relations, children)
    • list_redmine_issues - List issues with flexible filtering (project, status, assignee, etc.)
    • search_redmine_issues - Search issues by text query
    • create_redmine_issue - Create new issues, with optional file attachments via the uploads parameter
    • update_redmine_issue - Update existing issues, with optional file attachments via the uploads parameter (combine with notes to attach files to a journal note)
    • delete_redmine_issue - Hard-delete an issue with required confirmation flags and a cascade-impact preview before irreversible deletion.
    • copy_issue - Duplicate an existing issue with optional field overrides
    • list_subtasks - List subtasks (child issues) of a given parent
    • get_private_notes - Retrieve private notes on an issue
    • manage_issue_relation - List, create, or delete issue relations
    • manage_issue_watcher - Add or remove a watcher on an issue
    • manage_issue_note - Edit a journal note's text or toggle its privacy
    • manage_issue_category - List, create, update, or delete issue categories
    • Note: get_redmine_issue can include custom_fields and update_redmine_issue can update custom fields by name (for example {"size": "S"}).
  • Time Tracking (4 tools)

  • Discovery / Enumeration (7 tools): help LLMs find valid IDs before calling create/update tools

  • Search & Wiki (2 tools)

  • News (4 tools): project announcements -- release notes, maintenance windows

  • File Operations (5 tools)

    • list_files - List files uploaded to a project's Files section
    • create_upload_ticket - Reserve an upload slot and return a single-use URL, so a file on the caller's machine reaches the server without its bytes passing through the model
    • upload_file - Upload a new file to a project (from a staged upload_id, a URL, base64 content, or a server-side file_path), optionally tied to a version
    • delete_file - Delete a file from a project
    • get_redmine_attachment - Download an attachment (works in both HTTP and stdio mode)
  • Gantt (1 tool)

    • get_gantt_chart - Retrieve project timeline data: issues with dates, dependencies, and milestones
  • Interactive Apps (4 tools): render live UI in the chat via the MCP Apps extension (requires a client that supports it)

    • show_triage_board - Render a project's issues as an interactive Kanban board grouped by status, with drag-to-change-status write-back
    • get_triage_board_data - Board data source backing the board's Refresh action
    • show_project_dashboard - Render a live project snapshot (open/closed, overdue, due this week, open-by-priority, recent activity) as an interactive dashboard, with click-through drill-ins to matching issue lists
    • get_project_dashboard_data - App-only data source backing the dashboard's Refresh action
  • Meta (1 tool)

    • get_mcp_server_info - Report server version, auth mode, read-only state, the authenticated user (current_user), and which plugin-gated tool families are enabled. Use to detect deployment lag before relying on a recently-shipped fix, or to confirm who assigned_to_id="me" resolves to.

Plugin-gated tools (13, opt in via env var)

These tools require a corresponding Redmine plugin installed on the server and the matching environment variable set to true on the MCP server. They are listed in tools/list only when their flag is set; with the flag off they are not registered on the MCP surface (and a direct call still returns a feature-disabled error).

  • Checklists (3 tools): set REDMINE_CHECKLISTS_ENABLED=true; requires the RedmineUP Checklists Pro plugin

  • Products (1 tool): set REDMINE_PRODUCTS_ENABLED=true; requires the RedmineUP Products plugin

  • Contacts (CRM) (2 tools): set REDMINE_CRM_ENABLED=true; requires the RedmineUP CRM plugin. In OAuth mode the flag also adds the CRM permissions to the advertised scopes, so grant them on the OAuth application and have users re-consent. Set REDMINE_CRM_EDITION=pro on a Pro install to allow the contact list filters the Light build does not register

    • manage_contact - List, get, create, update, delete, or assign/remove project association for contacts
    • list_contact_tags - Tags in use on contacts, with colors, for the tags filter and tag_list
  • Deals (CRM) (3 tools): set REDMINE_DEALS_ENABLED=true; requires the Pro edition of the same CRM plugin, and the deals project module enabled on the project. Deals have their own flag because the Light edition defines none of the deal permissions, so advertising them would break consent for Light deployments

    • manage_deal - List, get, create, update, or delete deals
    • list_deal_statuses - Deal statuses (admin-only on the plugin side) and a project's deal categories, for use before creating a deal
    • manage_deal_category - List, create, rename, or delete a project's deal categories
  • CRM notes and saved queries (2 tools, shared): available when either REDMINE_CRM_ENABLED or REDMINE_DEALS_ENABLED is set; each call is gated on the flag matching the note's or query's source

  • Deal product lines (1 tool): needs both REDMINE_DEALS_ENABLED=true and REDMINE_PRODUCTS_ENABLED=true; the endpoint exists only when the Products plugin is installed next to CRM

  • Documents (DMSF) (1 tool): set REDMINE_DMSF_ENABLED=true; requires the redmine_dmsf plugin

    • manage_document - List, get, create (upload), or update (new revision) DMSF documents

Operator tools (1, admin-gated)

Hidden from tools/list by default. Set REDMINE_MCP_EXPOSE_ADMIN_TOOLS=true to register them on the MCP surface. The underlying background tasks run regardless of this flag; exposing them only adds the option to drive them through MCP.

  • cleanup_attachment_files - Manually trigger cleanup of expired attachment files (the background cleanup task runs automatically regardless)

Docker Deployment

Quick Start with Docker

bash
# Configure environment
cp .env.docker.example .env.docker
# Edit .env.docker with your Redmine settings

# Run with docker-compose
docker-compose up --build

# Or run directly
docker build -t redmine-mcp-server .
docker run -p 8000:8000 --env-file .env.docker redmine-mcp-server

Use the Published Image

Prebuilt multi-architecture images (linux/amd64, linux/arm64) are published to the GitHub Container Registry on each release, so you can run the server without building it yourself:

bash
docker pull ghcr.io/jztan/redmine-mcp-server:latest
docker run -p 8000:8000 --env-file .env.docker ghcr.io/jztan/redmine-mcp-server:latest

Pin to an exact version (e.g. ghcr.io/jztan/redmine-mcp-server:2.2.0) or track a minor series (e.g. :2.2). Published images are available starting from the next release.

Production Deployment

Use the automated deployment script:

bash
chmod +x deploy.sh
./deploy.sh

Troubleshooting

If you run into any issues, checkout our [t

Instalación

TypingMind
Requisitos:

Node.js 18+

{
  "mcpServers": {
    "jztan-redmine-mcp-server": {
      "command": "uvx",
      "args": [
        "redmine-mcp-server"
      ]
    }
  }
}

Usa el MCP de Redmine MCP Server con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Redmine MCP Server, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Puedes ejecutar MCP localmente en tu dispositivo o conectarte a la URL de un servidor MCP remoto.

Opción 1: usa el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Redmine MCP Server como servidor

Cuando el estado del conector sea «Listo», haz clic en «Editar servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en «Editar servidores».
  3. Pega la configuración del servidor MCP de Redmine MCP Server.
  4. Guarda la lista de servidores.
  5. Actualiza si quieres comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Editar servidores»
{
  "mcpServers": {
    "jztan-redmine-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "redmine-mcp-server"
      ]
    }
  }
}
4

Usa la conexión con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Redmine MCP Server y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Redmine MCP Server.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Redmine MCP Server para ayudarme con esta tarea?
Redmine MCP Server
Claro. Lo he leído.
Esto es lo que he encontrado con Redmine MCP Server.

Opción 2: añade la URL de un servidor MCP

Usa esta opción si Redmine MCP Server ya está alojado en un servidor remoto o si tu equipo quiere un conector compartido al que puedan acceder varios usuarios.

1

Abre Conectores MCP

En TypingMind, ve a Plugins, abre Conectores MCP y elige Añadir URL.

  1. Abre TypingMind en tu navegador.
  2. Ve a Plugins.
  3. Abre Conectores MCP.
  4. Haz clic en Añadir URL.
Formulario de TypingMind para añadir la URL de un servidor MCP personalizado
2

Pega la URL del servidor

Introduce la URL de tu servidor en el campo URL del servidor. Añade un nombre de conexión, una descripción, un icono, cabeceras HTTP personalizadas o la configuración del cliente OAuth si el servidor los requiere.

  1. Pega la URL de tu servidor en el campo URL del servidor.
  2. Introduce un nombre para la conexión de Redmine MCP Server.
  3. Añade una descripción y un icono si quieres que sea más fácil de identificar.
  4. Añade cabeceras HTTP personalizadas o los datos del cliente OAuth si el servidor requiere autenticación.
3

Crea la conexión

Haz clic en Crear conexión, vuelve a la lista de plugins y comprueba que la nueva conexión MCP esté activa.

  1. Haz clic en Crear conexión.
  2. Vuelve a la lista de conectores MCP.
  3. Comprueba que la conexión de Redmine MCP Server aparezca como activa.
  4. Actualiza la lista de plugins si la conexión no aparece de inmediato.
4

Cambia de modelo sin volver a conectar MCP

Inicia un chat con tu modelo preferido, activa las herramientas de Redmine MCP Server desde Plugins y cambia de modelo cuando lo necesites. La conexión MCP seguirá disponible en el espacio de trabajo de TypingMind.

  1. Inicia un nuevo chat en TypingMind.
  2. Selecciona el modelo de IA que quieras usar.
  3. Activa las herramientas de Redmine MCP Server desde Plugins.
  4. Pide al modelo que use la herramienta cuando sea necesario.
  5. Cambia a otro modelo de IA y reutiliza la misma conexión MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Redmine MCP Server para ayudarme con esta tarea?
Redmine MCP Server
Claro. Lo he leído.
Esto es lo que he encontrado con Redmine MCP Server.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Redmine MCP Server?

Redmine MCP Server es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas externas y acceder a información de contexto de fuentes externas. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Redmine MCP Server con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Redmine MCP Server con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el servidor MCP Redmine MCP Server con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves API y herramientas MCP en un solo espacio de trabajo. Con Redmine MCP Server conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu trabajo con los chats en TypingMind.

¿Cómo conecto el servidor MCP Redmine MCP Server a TypingMind?

Puedes conectar Redmine MCP Server en TypingMind con el conector MCP local o añadiendo la URL de un servidor MCP remoto. Usa el conector local cuando el servidor necesite acceder a archivos, aplicaciones o recursos privados de tu dispositivo, y una URL de servidor cuando el servidor MCP esté alojado de forma remota.

¿Qué herramientas ofrece el servidor MCP Redmine MCP Server en TypingMind?

Redmine MCP Server ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves API con TypingMind para usar el servidor MCP Redmine MCP Server?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves API, prompts y configuración MCP. Si Redmine MCP Server requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇