MCP服务

同步 MCP 工具目录

Changed on

显式连接上游并原子替换完整目录。OAuth 服务写入当前用户的快照,Viewer 及以上可调用;静态认证写入租户共享快照,需要 Admin。

post/mcp-services/{id}/metadata/refresh

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Path parameters

idstring required

MCP服务ID

Response

同步后的目录快照

successboolean
syncedboolean
tool_countinteger

Changes