Model Context Protocol (MCP) server for Redmine that provides comprehensive access to the Redmine REST API.
This project is an MCP server that comprehensively covers Redmine's REST API. It allows you to operate Redmine from MCP clients (such as Claude Desktop).
Here are example videos showing how to use the Redmine MCP server with Claude Desktop:
create-issue.mp4
This demonstration also uses the Playwright MCP for browser automation alongside the Redmine MCP server.
get-issue.mp4
- π Comprehensive API Coverage: Supports all functions available in Redmine's REST API
- π Read-Only Mode: Supports safe data reference mode
- Log in to Redmine with administrator privileges
- Go to "Administration" β "Settings" β "API" tab
- Check "Enable REST web service"
- Generate "API access key" in personal settings
For details, refer to Redmine REST API documentation.
The following environment variables are required (specified in MCP client configuration files):
- REDMINE_URL (Required): Base URL of the Redmine instance
- Example:
https://redmine.example.com
- Example:
- REDMINE_API_KEY (Required): API key generated in Redmine
- Set the API key obtained in prerequisites
- REDMINE_MCP_READ_ONLY (Optional): Enable read-only mode
true
: Read-only mode (disables data modification operations)false
or unset: Allow all operations (default)
Add the following as MCP configuration for your AI agent:
{
"mcpServers": {
"redmine": {
"command": "npx",
"args": ["-y", "@onozaty/redmine-mcp-server"],
"env": {
"REDMINE_URL": "https://your-redmine.example.com",
"REDMINE_API_KEY": "your-api-key-here",
"REDMINE_MCP_READ_ONLY": "true"
}
}
}
}
Below are specific configuration methods for several MCP clients:
Add the following to claude_desktop_config.json
:
{
"mcpServers": {
"redmine": {
"command": "npx",
"args": ["-y", "@onozaty/redmine-mcp-server"],
"env": {
"REDMINE_URL": "https://your-redmine.example.com",
"REDMINE_API_KEY": "your-api-key-here",
"REDMINE_MCP_READ_ONLY": "true"
}
}
}
}
In Claude Code, you can add MCP servers using the following commands:
Local configuration:
claude mcp add redmine -e REDMINE_URL=https://your-redmine.example.com -e REDMINE_API_KEY=your-api-key-here -e REDMINE_MCP_READ_ONLY=true -- npx -y @onozaty/redmine-mcp-server
Project configuration:
claude mcp add -s project redmine -e REDMINE_URL=https://your-redmine.example.com -e REDMINE_API_KEY=your-api-key-here -e REDMINE_MCP_READ_ONLY=true -- npx -y @onozaty/redmine-mcp-server
User configuration (global):
claude mcp add -s user redmine -e REDMINE_URL=https://your-redmine.example.com -e REDMINE_API_KEY=your-api-key-here -e REDMINE_MCP_READ_ONLY=true -- npx -y @onozaty/redmine-mcp-server
Project configuration (.vscode/mcp.json
):
{
"servers": {
"redmine": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@onozaty/redmine-mcp-server"],
"env": {
"REDMINE_URL": "https://your-redmine.example.com",
"REDMINE_API_KEY": "your-api-key-here",
"REDMINE_MCP_READ_ONLY": "true"
}
}
}
}
User configuration (settings.json
):
{
"mcp": {
"servers": {
"redmine": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@onozaty/redmine-mcp-server"],
"env": {
"REDMINE_URL": "https://your-redmine.example.com",
"REDMINE_API_KEY": "your-api-key-here",
"REDMINE_MCP_READ_ONLY": "true"
}
}
}
}
}
This MCP server comprehensively supports the functions provided by Redmine's REST API:
- Issues: Create, update, delete, search, and manage related issues
- Projects: Create, update, delete, archive, and manage memberships
- Users: Create, update, delete, and manage groups
- Time Entries: Record, update, and delete time entries
- Wiki: Create, update, delete pages, and manage versions
- News: Create, update, and delete news
- Files: Upload and download files
- Attachments: Upload, download files, and get thumbnails
- Queries: Execute saved queries
- Custom Fields: Get and manage custom fields
- Roles: Get and manage roles
- Trackers: Get and manage trackers
- Issue Statuses: Get and manage issue statuses
- Search: Cross-search functionality
By setting REDMINE_MCP_READ_ONLY=true
, you can disable data modification operations. This allows safe data reference.
MIT License
- OpenAPI specification: d-yoshi/redmine-openapi
- Code generation: Orval - TypeScript client and schema generator from OpenAPI