获取 MCP 服务器

从工作区获取指定 MCP server 配置。

路径参数

mcp_server_idstring必需

MCP 服务器 ID。

请求头

xi-api-keystring可选

响应

成功响应

idstring
configobject
metadataobject

MCP 服务器的元数据

access_infoobject or null可选

MCP Server 的访问信息

dependent_agentslist of objects可选

依赖此 MCP Server 的智能体列表。

错误

422
Unprocessable Entity Error