io.github.vfa-khuongdv/redmine
平台与服务by vfa-khuongdv
为 AI agents 提供 Redmine API 集成的 MCP 服务器,支持项目、任务与流程的智能协作。
什么是 io.github.vfa-khuongdv/redmine?
为 AI agents 提供 Redmine API 集成的 MCP 服务器,支持项目、任务与流程的智能协作。
README
Redmine MCP Server
An MCP (Model Context Protocol) server that allows AI agents to interact with the Redmine API to manage tickets, projects, users, and time entries.
Features
- ✅ Dual Authentication Support: Basic Auth + API Key
- ✅ Comprehensive Toolset for Redmine interaction:
get_issues- List issues with filtersget_issue- Get issue details including journals and attachmentsget_projects- List projectsget_project- Get project detailsget_project_members- List project members (Users)get_project_versions- List project versions (Milestones)search_issues- Search issues by keywordcreate_issue- Create a new issueupdate_issue- Update an existing issueadd_comment- Add a comment to an issuedelete_issue- Delete an issuelog_time- Log time entriesget_time_entries- List logged time entriesget_time_entry_activities- List available time entry activities
- ✅ Type-safe with TypeScript and Zod validation
- ✅ Pagination support for all list endpoints
Installation
From npm (Recommended)
npm install -g @duongkhuong/mcp-redmine
From Source
git clone git@github.com:vfa-khuongdv/mcp_readmine.git
cd mcp_readmine
npm install
npm run build
Configuration
You need to provide the following environment variables:
REDMINE_URL- URL of your Redmine instance (e.g., https://redmine.example.com)REDMINE_API_KEY- API key from your account settingsREDMINE_USERNAME- Username for Basic AuthenticationREDMINE_PASSWORD- Password for Basic Authentication
Note: The Redmine API often requires BOTH Basic Auth (username/password) AND an API Key for full access depending on server configuration.
Usage
With Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"redmine": {
"command": "npx",
"args": ["-y", "@duongkhuong/mcp-redmine"],
"env": {
"REDMINE_URL": "https://your-redmine-instance.com",
"REDMINE_API_KEY": "your_api_key_here",
"REDMINE_USERNAME": "your_username",
"REDMINE_PASSWORD": "your_password"
}
}
}
}
Restart Claude Desktop to load the MCP server.
With Cursor IDE
Add to your Cursor configuration file:
macOS/Linux: ~/.cursor/mcp.json
Windows: %APPDATA%\Cursor\User\mcp.json
{
"mcpServers": {
"redmine": {
"command": "npx",
"args": ["-y", "@duongkhuong/mcp-redmine"],
"env": {
"REDMINE_URL": "https://your-redmine-instance.com",
"REDMINE_API_KEY": "your_api_key_here",
"REDMINE_USERNAME": "your_username",
"REDMINE_PASSWORD": "your_password"
}
}
}
}
Restart Cursor to load the MCP server.
With VS Code
Option 1: Using mcp.json (No extension required)
Create or edit your MCP configuration file:
macOS/Linux: ~/.vscode/mcp.json
Windows: %APPDATA%\Code\User\mcp.json
{
"mcpServers": {
"redmine": {
"command": "npx",
"args": ["-y", "@duongkhuong/mcp-redmine"],
"env": {
"REDMINE_URL": "https://your-redmine-instance.com",
"REDMINE_API_KEY": "your_api_key_here",
"REDMINE_USERNAME": "your_username",
"REDMINE_PASSWORD": "your_password"
}
}
}
}
Reload VS Code to load the MCP server.
Option 2: Using Cline Extension
- Install the Cline extension.
- Open VS Code Settings (JSON).
- Add the MCP configuration:
{
"cline.mcpServers": {
"redmine": {
"command": "npx",
"args": ["-y", "@duongkhuong/mcp-redmine"],
"env": {
"REDMINE_URL": "https://your-redmine-instance.com",
"REDMINE_API_KEY": "your_api_key_here",
"REDMINE_USERNAME": "your_username",
"REDMINE_PASSWORD": "your_password"
}
}
}
}
Reload VS Code to load the MCP server.
How to get your Redmine API Key
- Log in to your Redmine instance.
- Go to My account (top right corner).
- Click on API access key (right sidebar or link).
- Click Show to reveal the key.
- Copy the API key and paste it into your configuration.
Running Standalone (Development)
npm start
Testing with MCP Inspector
npx @modelcontextprotocol/inspector npx -y @duongkhuong/mcp-redmine
Available Tools
1. get_issues
Get a list of issues/tickets with optional filters.
Parameters:
project_id(number, optional) - Filter by project IDstatus_id(number | "open" | "closed" | "*", optional) - Filter by statusassigned_to_id(number, optional) - Filter by assignee IDlimit(number, optional) - Number of results (1-100, default: 25)offset(number, optional) - Pagination offset (default: 0)
Example:
{
"project_id": 1,
"status_id": "open",
"limit": 10
}
2. get_issue
Get detailed information about a specific issue by ID, including journals, attachments, and relations.
Parameters:
issue_id(number, required) - The ID of the issue
3. get_projects
Get a list of all projects.
Parameters:
limit(number, optional) - Number of results (1-100, default: 25)offset(number, optional) - Pagination offset (default: 0)
4. get_project
Get detailed information about a specific project by ID.
Parameters:
project_id(number, required) - The ID of the project
5. get_project_members
Get a list of project members (users) in a specific project.
Parameters:
project_id(number, required) - The ID of the projectlimit(number, optional) - Number of results (1-100, default: 25)offset(number, optional) - Pagination offset (default: 0)
6. get_project_versions
Get a list of versions (milestones) for a specific project.
Parameters:
project_id(number, required) - The ID of the project
7. search_issues
Search for issues by keyword in the subject field.
Parameters:
query(string, required) - Search keywordlimit(number, optional) - Number of results (1-100, default: 25)offset(number, optional) - Pagination offset (default: 0)
8. log_time
Log time stats for an issue or project.
Parameters:
issue_id(number, optional) - The ID of the issue to log time forproject_id(number, optional) - The ID of the project to log time forhours(number, required) - The number of hours to logactivity_id(number, optional) - The ID of the activitycomments(string, optional) - Short comment for the time entryspent_on(string, optional) - Date the time was spent (YYYY-MM-DD)
9. get_time_entries
Get a list of time entries with filters.
Parameters:
project_id(number, optional) - Filter by projectuser_id(number, optional) - Filter by userfrom(string, optional) - Start date (YYYY-MM-DD)to(string, optional) - End date (YYYY-MM-DD)limit(number, optional) - Number of results (1-100, default: 25)offset(number, optional) - Pagination offset (default: 0)
10. get_time_entry_activities
Get a list of available time entry activities.
Parameters: None
11. create_issue
Create a new issue/ticket in Redmine.
Parameters:
project_id(number, required) - ID of the projectsubject(string, required) - Title of the issuedescription(string, optional) - Detailed descriptiontracker_id(number, optional) - Tracker ID (Bug, Feature, etc.)status_id(number, optional) - Status IDpriority_id(number, optional) - Priority IDassigned_to_id(number, optional) - User ID to assignstart_date(string, optional) - Start date (YYYY-MM-DD)due_date(string, optional) - Due date (YYYY-MM-DD)done_ratio(number, optional) - Completion percentage (0-100)fixed_version_id(number, optional) - Target version/milestone ID
12. update_issue
Update an existing issue/ticket. Only provided fields will be updated.
Parameters:
issue_id(number, required) - ID of the issue to updateproject_id(number, optional) - Move to another projectsubject(string, optional) - Update titledescription(string, optional) - Update descriptiontracker_id(number, optional) - Change trackerstatus_id(number, optional) - Change statuspriority_id(number, optional) - Change priorityassigned_to_id(number, optional) - Reassign to another userstart_date(string, optional) - Update start datedue_date(string, optional) - Update due datedone_ratio(number, optional) - Update completion percentagefixed_version_id(number, optional) - Update target versionnotes(string, optional) - Add a note/comment about the update
13. add_comment
Add a comment/note to an issue.
Parameters:
issue_id(number, required) - ID of the issuenotes(string, required) - Comment content
14. delete_issue
Delete an issue/ticket from Redmine.
Parameters:
issue_id(number, required) - ID of the issue to delete
Example Prompts
Here are some example prompts you can use to interact with the Redmine MCP server:
🔍 Querying & Search
- "List all open bugs in project 'Mobile App'"
- "Show me high priority issues assigned to me"
- "Search for issues about 'login failure'"
- "Get details of issue #1234 including history"
- "Who are the members of project ID 5?"
📝 Issue Management
- "Create a new feature request in 'Web Platform' project: Add Dark Mode toggle"
- "Update issue #567 status to 'Resolved' and set done ratio to 100%"
- "Reassign issue #890 to user 'John Doe'"
- "Add a comment to issue #123: 'Fixed in commit abc1234'"
- "Delete issue #999"
⏱️ Time Tracking
- "Log 2 hours on issue #123 for 'Development'"
- "Show my time entries for this week"
- "List time entries for project 'Website Redesign' in January"
- "What are the available activities for time logging?"
Development
Watch mode
npm run dev
Project structure
mcp-redmine/
├── src/
│ ├── index.ts # MCP server entry point
│ ├── redmine-client.ts # Redmine API client
│ ├── tools.ts # MCP tool definitions
│ └── types.ts # TypeScript types & Zod schemas
├── dist/ # Compiled JavaScript
├── .env # Environment variables (gitignored)
├── .env.example # Environment template
├── package.json
└── tsconfig.json
Troubleshooting
Authentication errors
Ensure you have provided:
- ✅ REDMINE_URL (no trailing slash)
- ✅ REDMINE_API_KEY (from account settings)
- ✅ REDMINE_USERNAME
- ✅ REDMINE_PASSWORD
Connection errors
- Check if REDMINE_URL is correct.
- Check network/firewall settings.
- Verify if API key is still valid.
Tool not found
- Ensure you have built the project:
npm run build - Restart your AI client (Claude, Cursor, VS Code) after updating config.
License
MIT
常见问题
io.github.vfa-khuongdv/redmine 是什么?
为 AI agents 提供 Redmine API 集成的 MCP 服务器,支持项目、任务与流程的智能协作。
相关 Skills
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
邮件模板
by alirezarezvani
快速搭建生产可用的事务邮件系统:生成 React Email/MJML 模板,接入 Resend、Postmark、SendGrid 或 AWS SES,并支持本地预览、i18n、暗色模式、反垃圾优化与追踪埋点。
✎ 面向营销与服务场景,快速搭建高质量邮件模板,省去反复设计与切图成本,成熟度和社区认可都很高。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。