svg-annotate-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_TOOL_TIMEOUT | No | Timeout in milliseconds for MCP tools. Optional; setting it lets wait_for_annotations block longer without frequent looping. | 600000 |
| SVG_ANNOTATE_NO_OPEN | No | Set to '1' to make the open_svg tool not automatically open a browser (useful for testing). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| open_svgA | 在浏览器中打开一个 SVG 图,供用户圈选区域写批注。 |
| wait_for_annotationsA | 阻塞等待用户在浏览器里提交批注,提交后立即返回批注内容。 |
| get_annotationsA | 非阻塞地取最近一批已提交的批注(wait_for_annotations 的兜底)。 |
| set_statusA | 向批注页面顶栏推送一条状态文字,如「正在修改 fig_xxx.py 并重跑…」。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
每个工具职责清晰唯一:打开、等待、获取、状态推送,互不重叠,边界明确。open_svg 负责启动,wait_for_annotations 阻塞等待,get_annotations 非阻塞兜底,set_status 用于反馈,无混淆可能。
所有工具均采用 snake_case 的动词_名词结构(open_svg, wait_for_annotations, get_annotations, set_status),动词清晰且规律一致,无混用风格。
4 个工具覆盖了 SVG 批注交互的完整核心流程,每个工具都有不可替代的作用,没有冗余或缺失,数量恰到好处。
工具集覆盖了打开、等待提交、非阻塞获取和状态通知,生命周期闭环。没有明显的缺失操作,且描述了超时续等和兜底恢复机制,足以支持用户与 agent 的完整交互。