
Simple Support System Mcp
io.github.bitterdev由 GitHub 账号 bitterdev 发布v1.0.3更新于 Oct 26, 2026
MCP server for the Simple Support System helpdesk API: read, answer and move tickets.
概览
面向 Concrete CMS 上 Simple Support System 工单 API 的本地 MCP 服务器,让助手读取、回复、流转并管理支持工单。
- 可以做什么
- 查找与阅读工单:按项目、状态、类型、优先级、负责人、文本和变更日期筛选列表,并读取单个工单及其评论和附件。
- 回复与流转工单:发布会触发通知邮件的回复,切换工作流状态,创建、修改和审核通过工单。
- 管理评论:列出、改写、审核通过或删除工单评论。
- 管理项目:列出、读取、创建、修改和删除支持项目,包括带访问令牌的私有项目。
- 处理附件:上传本地文件、将其关联到工单、解析下载地址并删除。
- 查看配置:显示 API 地址、是否已配置密钥,以及可用的状态、类型和优先级。
- 适用场景
- 适用于支持队列运行在 Concrete CMS 的 Simple Support System 插件上的场景,希望助手分诊、回复和流转工单,或在不打开后台界面的情况下维护项目和附件。
- 运行要求
- 通过 npm 包以 stdio 在本地运行,需要 Node.js 启动。必须设置 SIMPLE_SUPPORT_SYSTEM_BASE_URL 指向 Concrete CMS 站点;管理类调用需要 SIMPLE_SUPPORT_SYSTEM_API_KEY。可选:SIMPLE_SUPPORT_SYSTEM_API_PATH、SIMPLE_SUPPORT_SYSTEM_PROJECT_TOKEN、SIMPLE_SUPPORT_SYSTEM_PROJECT_ID 和 SIMPLE_SUPPORT_SYSTEM_TIMEOUT_MS。需要能访问该站点的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Simple Support System Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
simple-support-system-mcp
Local MCP server (stdio) for the REST API of the Simple Support System add-on for Concrete CMS. It lets an assistant work a support queue the way a human would: find the ticket, read it with its history, write a reply, move it to the next state. Projects, attachments and moderation are covered as well.
The server talks to any site that runs the package. Nothing is hardcoded, the site URL and the API key come from environment variables. It speaks stdio only and never opens a port.
Install
Register the server in Claude Code:
Or in ~/.claude.json / claude_desktop_config.json:
Environment
The API key is generated when the package is installed and lives in the site config under simple_support_system.api_key. Calls without it run as an anonymous visitor: reading public projects and their approved tickets, creating tickets and writing comments still work, everything administrative (state changes, deleting, approving, projects) does not.
Tools
The three everyday tools are list_tickets, get_ticket and reply_to_ticket, plus set_ticket_state to move a ticket along.
Reading tools are annotated as read only, the four delete_ tools as destructive. All of them additionally require confirm: true, so a delete cannot happen as a side effect of a vague instruction. There is no trash and no restore on the API side, a deleted ticket, comment or project is gone.
Working a ticket
list_tickets also takes projectHandle instead of projectId and resolves it through the project list first.
Values the API accepts
- States:
new,open,in_progress,on_hold,resolved,duplicate,invalid,wont_fix,closed.set_ticket_stateaccepts all of them exceptnew, which is only set when a ticket is created. - Types:
bug,enhancement,proposal,task - Priorities:
trivial,minor,major,critical,blocker - Tickets in the state
closedorinvalidare locked: the API refuses edits of the ticket, its comments and its attachments until the state changes.
Attachments
upload_attachment puts the file into the file manager of the site without linking it anywhere, the second call attaches it. create_ticket takes the same ids in attachmentFileIds.
Private projects
A private project is only reachable with its access token. Pass it per call as token, or set SIMPLE_SUPPORT_SYSTEM_PROJECT_TOKEN as the default. With an API key the token is not needed, the key already grants full access.
Limiting the server to one project
Set SIMPLE_SUPPORT_SYSTEM_PROJECT_ID to hand the server to someone who should only work in one project, typically together with that project's access token and without an API key. list_tickets and create_ticket then use this project when none is given, list_projects shows only this project, and every tool that takes a ticket id first checks that the ticket belongs to it. A different project id or handle is rejected. Without an API key the site itself already keeps other private projects closed, the setting additionally keeps the public projects of the installation out of view.
Notes on the API
The package answers in several shapes, the server normalises all of them so tools return the bare resource:
- Collections come back as a plain array, single tickets and comments inside a
ticketorcommentkey, attachments insidedata. - Failures arrive either as
{"errors": [...]}or as a ConcreteEditResponsewith anerrorflag. The second one can come with status 200, so a 200 alone is not treated as success. Every error becomes a tool error with the message the API sent. create_ticketanswers with a status envelope and not with the new record, so the id of a freshly created ticket has to be looked up withlist_tickets.download_attachmentfollows the redirect the API returns and reports the resolved URL.
Verification
The tests run against a stubbed HTTP layer, they never touch a live site and need no credentials. They cover the URL and form encoding the PHP controllers expect (including PHP boolean and array notation), the response envelopes, the error mapping, the filtering and sorting of list_tickets, and the guard rails of the destructive tools.
License
MIT, see LICENSE.
来源:README.md,提交 0b7762e
工具
0版本历史
1- v1.0.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分