Redmine MCP Server

Redmine MCP Server

Enables AI assistants to interact with Redmine instances to manage issues, projects, and users. It provides comprehensive tools for issue tracking, project oversight, and user management through the Redmine REST API.

Category
Visit Server

README

Redmine MCP Server

CI CodeQL

A Model Context Protocol (MCP) server for Redmine integration, built with TypeScript following TDD methodology. This server allows AI assistants to interact with Redmine instances to manage issues, projects, and users with comprehensive security and monitoring features.

Features

  • Issue Management: Create, read, update, and list issues
  • Project Management: List and view project details
  • User Management: List and view user information
  • Error Handling: Comprehensive error handling with meaningful error messages
  • Type Safety: Full TypeScript implementation with proper type definitions

Installation

npm install
npm run build

Configuration

The server requires two environment variables:

  • REDMINE_BASE_URL: The base URL of your Redmine instance (e.g., https://redmine.example.com)
  • REDMINE_API_KEY: Your Redmine API key (found in your account settings)

Usage

Running the Server

export REDMINE_BASE_URL="https://your-redmine-instance.com"
export REDMINE_API_KEY="your-api-key-here"
npm run dev

Building and Running

npm run build
export REDMINE_BASE_URL="https://your-redmine-instance.com"
export REDMINE_API_KEY="your-api-key-here"
npm start

Production Deployment

# Build the project
npm run build

# Set production environment variables
export REDMINE_BASE_URL="https://your-redmine-instance.com"
export REDMINE_API_KEY="your-api-key-here"
export LOG_LEVEL="info"

# Start the server
npm start

Available Tools

Issue Tools

  • list-issues: List issues with optional filtering

    • Parameters: project_id, status_id, assigned_to_id, limit, offset
  • create-issue: Create a new issue

    • Required: project_id, subject
    • Optional: description, tracker_id, status_id, priority_id, assigned_to_id
  • get-issue: Get details of a specific issue

    • Required: id
  • update-issue: Update an existing issue

    • Required: id
    • Optional: subject, description, status_id, priority_id, assigned_to_id, done_ratio

Project Tools

  • list-projects: List all projects

  • get-project: Get details of a specific project

    • Required: id (can be numeric ID or string identifier)

User Tools

  • list-users: List all users

  • get-user: Get details of a specific user

    • Required: id

Development

Running Tests

npm test

Running Tests with Coverage

npm run test:coverage

Running in Watch Mode

npm run test:watch

Linting

npm run lint

Type Checking

npm run typecheck

Clean Build Directory

npm run clean

API Reference

RedmineClient

The core client for interacting with Redmine's REST API.

const client = new RedmineClient({
  baseUrl: 'https://redmine.example.com',
  apiKey: 'your-api-key'
});

RedmineMcpServer

The MCP server that exposes Redmine functionality as MCP tools.

const server = new RedmineMcpServer({
  baseUrl: 'https://redmine.example.com',
  apiKey: 'your-api-key'
});

await server.start();

Error Handling

The server provides comprehensive error handling for common scenarios:

  • Authentication errors (401): Invalid API key
  • Authorization errors (403): Insufficient permissions
  • Not found errors (404): Resource doesn't exist
  • Validation errors (422): Invalid data provided
  • Server errors (500): Internal server issues
  • Network errors: Connection timeouts and network issues
  • Input validation: Client-side validation with detailed error messages

Logging

The server includes structured logging with configurable levels:

  • DEBUG: Detailed execution information and request/response data
  • INFO: General operational information (default)
  • WARN: Warning conditions that don't affect operation
  • ERROR: Error conditions that require attention

Configure the log level using the LOG_LEVEL environment variable:

export LOG_LEVEL="debug"  # For development
export LOG_LEVEL="info"   # For production (default)
export LOG_LEVEL="error"  # For minimal logging

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Run the test suite
  6. Submit a pull request

License

MIT License

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured