zh

Redmine MCP OAuth Server

Community zh
Updated

Python FastMCP HTTP server wrapping the Redmine REST API as MCP tools.

title: Redmine MCPemoji: 🔧colorFrom: bluecolorTo: indigosdk: dockerapp_port: 7860pinned: false

Redmine MCP OAuth Server

Python FastMCP HTTP server wrapping the Redmine REST API as MCP tools,with a minimal OAuth 2.1 Authorization Code flow backed by Redmine API key validation (Option B).

Auth flow

User clicks "Connect" in Coworks/Claude Desktop
  → GET /auth/authorize  (shows form)
  → POST /auth/login     (validates Redmine URL + API key, issues code)
  → POST /oauth/token    (exchanges code for bearer token)
  → Bearer token stored server-side, mapped to per-user Redmine creds
  → Every MCP tool call uses that token to look up credentials

No second account. User only needs their Redmine credentials.

Setup

pip install -r requirements.txt
uvicorn server:app --host 0.0.0.0 --port 8000

For HTTPS (required by Coworks custom connectors):

uvicorn server:app --host 0.0.0.0 --port 8000 \
  --ssl-keyfile key.pem --ssl-certfile cert.pem

Or put it behind nginx/caddy with TLS termination.

Add to Claude Desktop / Coworks

Settings → Connectors → Add custom connector → https://your-server/mcp

OAuth Client ID and Secret can be left blank (public client, no secret neededwith this implementation).

Tools implemented (53 Redmine API endpoints)

  • Projects: list, get, create, update, delete
  • Issues: list, get, create, update, delete, watchers, relations, journals, copy, move
  • Users: list, get, create, update, delete
  • Time Entries: list, get, create, update, delete
  • Memberships: list, get, create, update, delete
  • Groups: list, get, create, update, delete
  • Versions: list, get, create, update, delete
  • Custom Fields: list
  • Queries: list

Production notes

  • Token store is in-memory — tokens lost on restart. Replace auth/store.py_sessions dict with Redis or a DB for persistence.
  • Add token expiry + refresh tokens if needed.
  • Rate-limit /auth/login and /oauth/token endpoints.
  • Pin mcp>=1.23.0 to avoid CVE-2025-66416 (Host header validation).

MCP Server · Populars

MCP Server · New

    heymrun

    Heym

    Self-hosted AI workflow automation platform with visual canvas, agents, RAG, HITL, MCP, and observability in one runtime.

    Community heymrun
    Wide-Moat

    Open Computer Use

    MCP server that gives any LLM its own computer — managed Docker workspaces with live browser, terminal, code execution, document skills, and autonomous sub-agents. Self-hosted, open-source, pluggable into any model.

    Community Wide-Moat
    uarlouski

    🚀 TestRail MCP Server

    AI-native MCP server connecting Claude, Cursor, Windsurf, and other AI assistants to TestRail — manage test cases, runs, and results through natural-language conversation, with typed schemas built for LLMs.

    Community uarlouski
    metabase

    Metabase MCP Server

    The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

    Community metabase
    kao273183

    MK QA Master

    AI 測試大師 — MCP server driving pytest / Jest / Cypress / Go / Maestro. Analyze, generate, run, advise. Web + Mobile (iOS/Android/BlueStacks).

    Community kao273183