mcp-redmine
v1.2.1
Published
A Model Context Protocol server for Redmine 4.1.1.stable project management integration
Maintainers
Readme
Redmine MCP Server
A Model Context Protocol (MCP) server that provides seamless integration with Redmine project management software. This server allows AI assistants to interact with Redmine through a comprehensive set of tools for managing projects, issues, users, time tracking, and more.
🎯 Compatibility
Compatible with Redmine 4.1.1.stable
This MCP server has been developed and tested specifically for Redmine 4.1.1.stable. While it may work with other versions, optimal functionality is guaranteed with this version.
Features
Project Management
- List, create, update, and delete projects
- Manage project versions and roadmaps
- Handle issue categories
Issue Tracking
- Comprehensive issue CRUD operations
- Advanced filtering and search capabilities
- Issue assignment and status management
- Progress tracking and time estimation
User Management
- List users and get user details
- Current user information
- User assignment to issues
Time Tracking
- Create and list time entries
- Associate time with issues or projects
- Activity-based time logging
System Information
- List available trackers
- Get issue statuses and priorities
- System configuration details
Installation
- Clone this repository:
git clone <repository-url>
cd mcp-redmine- Install dependencies:
npm install- Set up environment variables:
cp .env.example .envEdit the .env file with your Redmine server details:
REDMINE_BASE_URL=https://your-redmine-server.com
REDMINE_API_KEY=your_api_key_here- Build the project:
npm run buildUsage
Development
Run in development mode with auto-reload:
npm run devProduction
Build and run the server:
npm run build
npm startConfiguration
The server supports multiple authentication methods. Configure one of the following:
Option 1: API Key (Recommended)
REDMINE_BASE_URL: Your Redmine server URLREDMINE_API_KEY: Your Redmine API key
Option 2: Username/Password
REDMINE_BASE_URL: Your Redmine server URLREDMINE_USERNAME: Your Redmine usernameREDMINE_PASSWORD: Your Redmine password
Optional Configuration:
REDMINE_IMPERSONATE_USER: Username to impersonate (requires admin privileges)
Available Tools
Project Tools
list_projects: List all projects with optional filteringget_project: Get specific project detailscreate_project: Create a new projectupdate_project: Update existing projectdelete_project: Delete a project
Issue Tools
list_issues: List issues with extensive filtering optionsget_issue: Get specific issue detailscreate_issue: Create a new issueupdate_issue: Update existing issuedelete_issue: Delete an issue
Issue Relations
list_issue_relations: List all relations for an issuecreate_issue_relation: Create relations between issues (relates, duplicates, blocks, etc.)delete_issue_relation: Delete issue relations
Admin Tools
list_users: List all usersget_user: Get specific user detailsget_current_user: Get current authenticated userlist_trackers: List issue trackerslist_issue_statuses: List available issue statuseslist_issue_priorities: List issue priorities
Advanced Admin Tools
list_roles: List all roles in Redminelist_groups: List all user groupsget_group: Get specific group details with userscreate_group: Create new user groupslist_project_memberships: List project membershipscreate_project_membership: Add users/groups to projects with roleslist_time_entry_activities: List available time entry activities
Project Management Tools
list_time_entries: List time entries with filteringcreate_time_entry: Log time against issues or projectslist_versions: List project versionscreate_version: Create new project versionlist_issue_categories: List issue categoriescreate_issue_category: Create new issue category
Wiki Management
list_wiki_pages: List all wiki pages for a projectget_wiki_page: Get specific wiki page contentcreate_wiki_page: Create or update wiki pagesdelete_wiki_page: Delete wiki pages
Search and Files
search: Search across all Redmine content (requires Redmine 3.3+)upload_file: Upload files and get tokens for attachmentget_attachment: Get attachment detailslist_news: List news articleslist_queries: List saved queries
MCP Integration
To use this server with an MCP client, configure it as follows:
{
"servers": {
"redmine": {
"type": "stdio",
"command": "node",
"args": ["dist/index.js"]
}
}
}Development
Project Structure
src/
├── index.ts # Main server entry point
├── client/
│ └── redmine-client.ts # Redmine API client
├── tools/
│ ├── project-tools.ts # Project management tools
│ ├── issue-tools.ts # Issue tracking tools
│ ├── admin-tools.ts # Administrative tools
│ └── project-management-tools.ts # Time tracking and versioning
└── types/
└── redmine.ts # TypeScript type definitionsBuilding
npm run buildDevelopment with auto-reload
npm run devAPI Key Setup
- Log into your Redmine instance
- Go to "My account" (top-right menu)
- Click on "API access key" in the right sidebar
- Click "Show" to reveal your API key
- Copy this key to your
.envfile
Requirements
- Node.js 18 or higher
- Redmine 4.0+ with REST API enabled
- Valid Redmine API key
License
MIT
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
Support
For issues and questions:
- Check the Redmine API documentation
- Review the MCP specification
- Open an issue in this repository
