The Redmine MCP Server enables interaction with Redmine projects and issues directly through the Cline VS Code extension, providing a seamless experience for managing your Redmine workflow without leaving your development environment.
Before installing the Redmine MCP Server, ensure you have:
Clone the repository and install dependencies:
git clone https://github.com/ilask/Redmine-MCP.git
cd Redmine-MCP
npm install
Create a .env
file in the project root directory with your Redmine credentials:
REDMINE_HOST=your-redmine-host.com
REDMINE_API_KEY=your-redmine-api-key
Note: The .env
file contains sensitive information and should not be committed to version control.
cline_mcp_settings.json
filemcpServers
object:{
"mcpServers": {
"redmine-server": {
"command": "node",
"args": ["C:\\Users\\yourusername\\path\\to\\Redmine-MCP\\server.js"],
"disabled": false,
"autoApprove": []
}
}
}
Important: Use double backslashes (\) in Windows paths and provide the absolute path to the server.js file.
You can access Redmine project details using the access_mcp_resource
tool in Cline:
<access_mcp_resource>
<server_name>redmine-server</server_name>
<uri>redmine://projects/123</uri>
</access_mcp_resource>
Replace 123
with a valid project ID from your Redmine instance.
Create new Redmine issues directly from Cline using the create_issue
tool:
<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 456
with a valid project ID. This will create a new issue in the specified project and return the issue details as JSON.
If you encounter problems with the Redmine MCP Server:
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.