Purpose
redmine-mcp-stateless is an MCP (Model Context Protocol) server that lets Claude Code operate Redmine directly. It runs as an HTTP server on RHEL or Docker; credentials are never stored on the server, but are passed by the Claude Code configuration file via HTTP headers on each request.
Main capabilities
- Context-first design: When returning issues, it also returns journals (comments), enabling the AI to reason about the history, generate accurate follow-up proposals, and summarize progress.
- Stateless design: The API key is passed by the client per request and is never stored server-side. This brings three practical benefits:
- Maximum security—even if the server is compromised, there is no API key to steal.
- Multi-tenancy out of the box—deploy one server for the entire team; each user only needs to set their own API key on the Claude side, with no per-user configuration required server-side.
- Zero maintenance for credential changes—when the Redmine password or API key changes, only the client-side Claude configuration needs updating, with no server changes required.
- Powerful full-text search:
search_issues_fullcan search across subjects, descriptions, and all comments, and returns results in an AI-friendly format. - Supports listing, creating, and updating issues, as well as editing journals.
Usage
Requirements
- Redmine 5.0+ (
update_journalrequires Redmine 5.0+) - RHEL (systemd deployment) or Docker
Initial Redmine setup
Before use, the Redmine REST API must be enabled (disabled by default):
- Log in as an administrator
- Go to Administration → Settings → API tab → check Enable REST web service and save
Obtain an API key:
- Open My account from the top-right menu
- Click Show next to API access key
- Use that key as the
X-Redmine-API-Key
in the Claude Code configuration
Deployment method A — RHEL (systemd)
- Transfer the files to the server
- Run the installation script
install.sh performs the following actions:
- Preflight checks (root, OS, Python 3.12, required files)
- Creates a dedicated system user
redmine-mcp-stateless - Copies files to
/opt/redmine-mcp-stateless/and creates a Python virtual environment - Configures logrotate
- Registers and starts the systemd service
- Configures SELinux (registers port 8000 as
http_port_t) - Opens port 8000 in firewalld
- Verifies service startup and port listening
Deployment method B — Docker
Run the MCP server as a container. The host must be able to reach an existing Redmine instance.
- Build and start
Claude Code configuration
Add the following to ~/.claude.json:
- stdio transport (for registry checks / local use)
The server normally runs over SSE (HTTP). Set the environment variable MCP_TRANSPORT=stdio to switch to stdio transport. In this mode, credentials are passed via environment variables rather than HTTP headers.
This mode is mainly used for MCP registry checks (e.g., Glama). Use SSE for shared team deployments.
Credential handling
- The Redmine URL and API key are never stored on the server
- Passed per request via the
X-Redmine-URLandX-Redmine-API-Keyheaders - Temporarily stored in a ContextVar and discarded after each request completes
- On RHEL, the service runs as a dedicated unprivileged user (
redmine-mcp-stateless) Run
Use Cases
- Team shared deployment: one server serves the entire team, and each member uses their own Redmine credentials
- Workflows that require AI to understand issue history and comments, generate follow-up proposals, or summarize progress
- Environments with high credential security requirements where you do not want the server to store API keys
Limitations
- Redmine 5.0+ is required to use
update_journal - The REST API must be manually enabled in Redmine before use
- The materials do not provide a specific list of available tools, details of Docker build commands, or a complete configuration example, so these are not provided for now.