Skip to main content
Glama
Redmine MCP Server for Cline

Redmine MCP Server for Cline

by papunoko

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.

Related MCP server: Redmine MCP Server

Installation

  1. Clone the repository:

    git clone https://github.com/ilask/Redmine-MCP.git
    cd Redmine-MCP
  2. Install dependencies:

    npm install

Configuration

  1. Set environment variables: Create a .env file 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-key

    Important: Do not commit your .env file to version control! It contains sensitive information. The .gitignore file included in this repository should prevent it from being committed.

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.

Troubleshooting

  • Connection closed error: If you see an error like "MCP error -1: Connection closed", make sure that your REDMINE_HOST and REDMINE_API_KEY environment 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.

Available Tools

1 tool
create_issueC

Create a new Redmine issue

Inputs: project_id (required), subject (required), description (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools, as there are no other tools to compare it to. The tool's purpose is clearly defined and distinct by default.

    Naming Consistency5/5

    The single tool follows a clear verb_noun pattern (create_issue), which is consistent with itself. There are no other tools to create inconsistency, so the naming is perfectly predictable.

    Tool Count2/5

    A single tool is too few for a server named 'Redmine MCP Server for Cline', which implies broader functionality for interacting with Redmine (e.g., an issue tracking system). This minimal set severely limits the server's utility and scope.

    Completeness2/5

    The tool surface is severely incomplete for Redmine interaction, as it only allows creating issues without any ability to read, update, delete, or search issues, or handle other Redmine entities like projects or users. This creates significant gaps for agent workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server for interacting with Redmine using its REST API, enabling the management of tickets, projects, and user data through integration with LLMs.
      78
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      A Model Context Protocol server that enables Claude Code to directly interact with Redmine project management systems, supporting issue management, project operations, and search features.
      22
      9
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI coding agents to interact with Redmine projects, issues, time tracking, and members through natural language via the Model Context Protocol.
      -