Redmine MCP Server for Cline
Integrates with Redmine to manage projects and issues through the Cline VS Code extension.
Redmine MCP Server for Cline
This is a custom MCP (Model Context Protocol) server that integrates with Redmine, allowing you to interact with your Redmine projects and issues through the Cline VS Code extension.
Prerequisites
- Node.js: You need Node.js (version 18 or newer) installed on your system.
- Redmine Instance: You need a running Redmine instance with the REST API enabled.
- Redmine API Key: You need an API key for your Redmine user account. You can find this in your Redmine account settings (usually under "My Account" -> "API access key").
- Cline: You need the Cline VS Code extension installed and configured.
Installation
- Clone the repository:
git clone https://github.com/ilask/Redmine-MCP.git cd Redmine-MCP - Install dependencies:
npm install
Configuration
-
Set environment variables: Create a
.envfile in the root of the project directory and add the following, replacing the placeholders with your actual Redmine hostname and API key:REDMINE_HOST=your-redmine-host.com REDMINE_API_KEY=your-redmine-api-keyImportant: Do not commit your
.envfile to version control! It contains sensitive information. The.gitignorefile included in this repository should prevent it from being committed.
Adding to Cline
-
Open Cline Settings: In VS Code, open the Cline extension and go to the MCP Server tab.
-
Edit MCP Settings: Click "Edit MCP Settings" to open the
cline_mcp_settings.jsonfile. -
Add the server: Add the following entry to the
mcpServersobject, replacing theargspath with the absolute path to theserver.jsfile on your system:{ "mcpServers": { "redmine-server": { "command": "node", "args": ["C:\\Users\\yourusername\\path\\to\\Redmine-MCP\\server.js"], "disabled": false, "autoApprove": [] } } }Important: Make sure to use double backslashes (
\\) in the path on Windows. -
Save: Save the
cline_mcp_settings.jsonfile. Cline should automatically detect the changes and start the server.
Available Resources and Tools
Resources
-
redmine://projects/{project_id}: This resource represents a Redmine project. Replace{project_id}with the actual ID of a project in your Redmine instance. You can use theaccess_mcp_resourcetool in Cline to read the details of a project. For example:<access_mcp_resource> <server_name>redmine-server</server_name> <uri>redmine://projects/123</uri> </access_mcp_resource>
(Replace 123 with a valid project ID). This will return the project details as JSON.
Tools
-
create_issue: This tool allows you to create a new issue in Redmine. It takes the following parameters:project_id(string, required): The ID of the project where the issue should be created.subject(string, required): The subject of the issue.description(string, required): The description of the issue.
You can use the
use_mcp_tooltool in Cline to call this tool. For example:<use_mcp_tool> <server_name>redmine-server</server_name> <tool_name>create_issue</tool_name> <arguments> { "project_id": "456", "subject": "My New Issue", "description": "This is a test issue created via Cline." } </arguments> </use_mcp_tool>(Replace
456with a valid project ID). This will create a new issue in the specified project and return the issue details as JSON.
Troubleshooting
- Connection closed error: If you see an error like "MCP error -1: Connection closed", make sure that your
REDMINE_HOSTandREDMINE_API_KEYenvironment variables are correctly set. Also, ensure that your Redmine instance is accessible from your computer. - Check server logs: If you encounter issues, check the server's output in the VS Code terminal for any error messages. The server logs errors to the console.
相關伺服器
Kone.vc
贊助Monetize your AI agent with contextual product recommendations
MCP Google Workspace Server
An MCP server for interacting with Google Workspace services, including Drive, Docs, and Sheets.
site-audit-mcp
PageSpeed, WHOIS, DNS, SSL checks, and site health analysis for AI agents. 6 tools, free, no API key.
Canvas MCP Server
An MCP server for Canvas LMS, providing full functionality for both students and instructors.
Serpstat API MCP Server
A TypeScript server that integrates Serpstat SEO API with Anthropic's Model Context Protocol (MCP), enabling AI assistants like Claude to access comprehensive SEO data and analysis tools.
Rememberizer MCP Server for Common Knowledge
Access personal or team knowledge from internal repositories like documents and Slack discussions.
Browser
Interact with and control your web browser via a browser extension.
protein-mcp-server
Protein structures (PDB, UniProt)
Dub.co Short Links (Unofficial)
An unofficial MCP server for creating and managing short links with Dub.co.
Obsidian-in-a-Vat
AI-native knowledge vault MCP server: capture thoughts, auto-promote to structured notes, and build a knowledge graph with Louvain clustering, all from Claude Desktop.
ToolRoute
Intelligent routing layer for AI agents — recommends the best MCP server and LLM for any task, scored on 132+ real benchmark executions.