Labsco
ilask logo

Redmine MCP Server for Cline

โ˜… 1

from ilask

Integrates with Redmine to manage projects and issues through the Cline VS Code extension.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredAdvanced setup

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.

Adding to Cline

  1. Open Cline Settings: In VS Code, open the Cline extension and go to the MCP Server tab.

  2. Edit MCP Settings: Click "Edit MCP Settings" to open the cline_mcp_settings.json file.

  3. Add the server: Add the following entry to the mcpServers object, replacing the args path with the absolute path to the server.js file 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.

  4. Save: Save the cline_mcp_settings.json file. 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 the access_mcp_resource tool 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_tool tool 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 456 with a valid project ID). This will create a new issue in the specified project and return the issue details as JSON.