MCP Request Tracker CrunchTools
MCP Request Tracker CrunchTools
一个用于 Request Tracker (RT) 工单管理的安全 MCP(模型上下文协议)服务器。
功能特性
安全凭据处理:密码以 SecretStr 存储,绝不记录日志
完整工单管理:搜索、查看、创建、更新和解决工单
时间跟踪:跟踪工单上花费的时间
工作流自动化:预构建的工作流,如清单完成
跨平台:支持 Linux、macOS 和 Windows
Related MCP server: YaTracker Connector
安装
选项 1:使用 uvx(推荐)
uvx mcp-request-tracker-crunchtools选项 2:使用 pip
pip install mcp-request-tracker-crunchtools选项 3:使用容器
podman run -e RT_URL=... -e RT_USER=... -e RT_PASS=... quay.io/crunchtools/mcp-request-tracker配置
设置以下环境变量:
变量 | 必需 | 描述 |
| 是 | RT 服务器的基本 URL |
| 是 | RT 用户名 |
| 是 | RT 密码 |
| 否 | HTTP 基本认证用户名 |
| 否 | HTTP 基本认证密码 |
与 Claude Code 一起使用
使用 uvx
claude mcp add mcp-request-tracker-crunchtools \
--env RT_URL=https://rt.example.com \
--env RT_USER=your_username \
--env RT_PASS=your_password \
-- uvx mcp-request-tracker-crunchtools使用容器
claude mcp add mcp-request-tracker-crunchtools \
--env RT_URL=https://rt.example.com \
--env RT_USER=your_username \
--env RT_PASS=your_password \
-- podman run -i --rm -e RT_URL -e RT_USER -e RT_PASS quay.io/crunchtools/mcp-request-tracker可用工具
搜索和查看
search_tickets- 使用 RT 查询语法搜索工单get_ticket- 获取工单详情get_ticket_history- 获取工单历史/变更日志get_my_open_tickets- 获取用户的未结工单get_new_tickets- 获取新/未分配工单
更新工单
set_ticket_owner- 设置工单所有者set_ticket_status- 设置工单状态open_ticket- 打开工单resolve_ticket- 解决/关闭工单take_ticket- 接管所有权并打开
时间跟踪
set_time_worked- 设置总工作时间add_time_worked- 向现有时间添加时间
通信
add_ticket_comment- 添加私人评论(对请求者不可见)reply_to_ticket- 添加通信(对请求者可见)
创建
create_ticket- 创建新工单
工作流
complete_weekly_checklist- 使用结果完成每周清单工单
RT 查询语法示例
Status = 'new'
Status = 'open' AND Owner = 'scott'
Subject LIKE 'checklist'
Queue = 'Professional'
Created > '2025-01-01'
Owner = 'Nobody'安全性
此服务器在构建时充分考虑了安全性:
SecretStr:密码使用 Pydantic 的 SecretStr 存储,以防止意外记录
错误清理:所有错误消息中都会清除凭据
无文件系统访问:服务器从不读取或写入文件
无 Shell 执行:无子进程或 shell 命令
最小依赖:仅包含必要的包以减少攻击面
自动 CVE 扫描:通过 GitHub Actions 进行每周安全扫描
容器安全:基于 Hummingbird 镜像构建,CVE 数量最少
有关完整的安全设计文档,请参阅 SECURITY.md。
开发
# Clone the repository
git clone https://github.com/crunchtools/mcp-request-tracker.git
cd mcp-request-tracker
# Install dependencies
uv sync --all-extras
# Run tests
uv run pytest
# Lint
uv run ruff check src tests
# Type check
uv run mypy src许可证
本项目根据 GNU Affero 通用公共许可证 v3.0(AGPL-3.0)授权。 有关详细信息,请参阅 LICENSE。
Available Tools
17 toolsadd_ticket_comment_toolAdd Ticket Comment ToolA
Add a private comment/note to a ticket (not visible to requestor).
Inputs: comment (required), ticket_id (required). Returns: result
add_time_worked_toolAdd Time Worked ToolC
Add time to the time worked on a ticket.
Inputs: minutes (required), ticket_id (required). Returns: result
complete_weekly_checklist_toolComplete Weekly Checklist ToolA
Complete a weekly checklist ticket with results.
This is a workflow shortcut that:
Takes ownership of the ticket
Opens the ticket
Adds correspondence with checklist results
Adds time worked (if specified)
Adds a "Completed" comment
Resolves the ticket
Inputs: owner (required), ticket_id (required), checklist_results (required), time_minutes. Returns: result
create_ticket_toolCreate Ticket ToolC
Create a new ticket.
Inputs: queue (required), subject (required), text, owner, +2 more. Returns: result
get_my_open_tickets_toolGet My Open Tickets ToolBRead-only
Get all open tickets assigned to a user.
Inputs: owner (required). Returns: result
get_new_tickets_toolGet New Tickets ToolBRead-only
Get all new (unassigned) tickets, optionally filtered by queue.
Inputs: queue. Returns: result
get_ticket_history_toolGet Ticket History ToolBRead-only
Get the history/changelog of a ticket.
Inputs: ticket_id (required). Returns: result
get_ticket_toolGet Ticket ToolCRead-only
Get details of a specific ticket.
Inputs: ticket_id (required). Returns: result
open_ticket_toolOpen Ticket ToolB
Open a ticket (change status from new to open), optionally taking ownership.
Inputs: ticket_id (required), owner. Returns: result
reply_to_ticket_toolReply To Ticket ToolA
Reply to a ticket (correspondence visible to requestor).
Inputs: message (required), ticket_id (required). Returns: result
resolve_ticket_toolResolve Ticket ToolB
Resolve/close a ticket, optionally adding a comment.
Inputs: ticket_id (required), comment. Returns: result
search_tickets_toolSearch Tickets ToolCRead-only
Search for tickets using RT query syntax.
Inputs: query (required), order_by. Returns: result
set_ticket_owner_toolSet Ticket Owner ToolC
Set the owner of a ticket (take/assign ticket).
Inputs: owner (required), ticket_id (required). Returns: result
set_ticket_status_toolSet Ticket Status ToolC
Set the status of a ticket.
Inputs: status (required), ticket_id (required). Returns: result
set_time_worked_toolSet Time Worked ToolC
Set the total time worked on a ticket.
Inputs: minutes (required), ticket_id (required). Returns: result
take_ticket_toolTake Ticket ToolC
Take ownership of a ticket and open it.
Inputs: username (required), ticket_id (required). Returns: result
update_ticket_toolUpdate Ticket ToolC
Update ticket fields (subject, priority, queue). All fields are optional.
Inputs: ticket_id (required), queue, subject, priority. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Tools are mostly distinct, but there is overlap among set_ticket_owner_tool, take_ticket_tool, and open_ticket_tool, which all can set ownership or change status. complete_weekly_checklist_tool also duplicates a multi-step workflow, though its description clearly marks it as a shortcut. An agent may struggle to choose between the ownership/open variants.
All tools use snake_case with a consistent _tool suffix and follow a verb_noun pattern (e.g., get_ticket_tool, set_ticket_status_tool). This is highly predictable and uniform throughout.
17 tools is slightly above the typical 3-15 range but remains reasonable for a full ticket-tracking workflow with specialized actions. A few tools could be consolidated, but each generally has a clear role.
The surface covers the full ticket lifecycle: create, search, get, update, assign, status changes, comments (private/public), time tracking, history, and resolution. No major gaps for typical RT workflows.
Maintenance
Related MCP Connectors
Read tickets, contacts, companies, agents and groups; create, update and reply to tickets.
Search and read Zammad tickets, customers and organizations; add notes, replies and ticket updates.
Manage tickets, run agents and workflows, query tables, and search workspace knowledge.
Manage AsyncFlow tickets: find, read, create, update, assign, move, link, archive and attach files.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to interact with Redmine API for managing tickets, projects, users, and time entries. Supports comprehensive operations including issue creation/updates, project management, time logging, and search with dual authentication (Basic Auth + API Key).1436 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Yandex Tracker through its API for managing tasks, comments, and attachments. It supports issue searching, status transitions, and metadata retrieval for automated project management.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to create, search, and manage OTRS tickets and configuration items via the OTRS API.9Apache 2.0

mcp-server-rtofficial
AlicenseAqualityCmaintenanceConnects AI assistants to a Request Tracker (RT) instance, enabling natural language ticket search, creation, updates, and queue management via the MCP protocol.4311GPL 2.0