Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| interactive_feedback | MCP 工具:请求用户通过 Web UI 提供交互式反馈 参数message : str, required 向用户显示的问题或消息(Markdown 格式支持) 最大长度: 10000 字符(超出部分自动截断) predefined_options : Optional[list], optional 预定义选项列表,用户可多选或单选 - 每个选项最大长度: 500 字符 - 非字符串选项会被自动过滤 - None 或空列表表示无预定义选项 返回list MCP 标准 Content 对象列表,包含用户反馈: - TextContent: {"type": "text", "text": str} 包含选项选择和用户输入的文本 - ImageContent: {"type": "image", "data": str, "mimeType": str} 用户上传的图片(base64 编码) 示例简单文本反馈: interactive_feedback(message="确认删除文件吗?") 带选项的反馈: interactive_feedback( message="选择代码风格:", predefined_options=["Google", "PEP8", "Airbnb"] ) 复杂问题: interactive_feedback( message="""请审查以下更改: 1. 重构了 ServiceManager 类 2. 添加了多任务支持 3. 优化了通知系统 请选择操作:""",
predefined_options=["Approve", "Request Changes", "Reject"]
) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |