MCP服务

获取MCP服务列表

Changed on

获取当前空间的所有MCP服务(含已保存工具目录数量)

get/mcp-services

Request

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

Query parameters

agent_idstring

Agent ID; needs agent_source_tenant_id

agent_source_tenant_idinteger

Shared agent source workspace

Response

MCP服务列表

successboolean

Example response

{
  "success": true
}

Changes

    • info

      added the new optional query request parameter agent_id

    • info

      added the new optional query request parameter agent_source_tenant_id

    • info

      added the non-success response with the status

    • info

      the endpoint scheme security ApiKeyAuth was added to the API