-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[Bug]无法添加部分mcp服务器的相关bug #5972
Copy link
Copy link
Closed
Labels
area:coreThe bug / feature is about astrbot's core, backendThe bug / feature is about astrbot's core, backendbugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
area:coreThe bug / feature is about astrbot's core, backendThe bug / feature is about astrbot's core, backendbugSomething isn't workingSomething isn't working
What happened / 发生了什么
关于添加部分特定的mcp服务器会报错
Reproduce / 如何复现?
添加一下配置
{
"transport": "sse",
"url": "https://mcp-api.gf.com.cn/server/mcp/quant/sse",
"headers": {
"Authorization": "Bearer key"
},
"timeout": 5,
"sse_read_timeout": 300
}
测试通过后点击保存
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
4.19.3
window桌面端
webui上操作的
OS
Windows
Logs / 报错日志
Failed to enable MCP server 广发证券-财务对比分析: True is not of type 'array' Failed validating 'type' in schema['allOf'][1]['properties']['properties']['additionalProperties']['$dynamicRef']['allOf'][3]['properties']['required']: {'type': 'array', 'items': {'type': 'string'}, 'uniqueItems': True, 'default': []} On instance['properties']['stock_code']['required']: True
Are you willing to submit a PR? / 你愿意提交 PR 吗?
Code of Conduct