MCP服务

设置 MCP 服务凭据

Changed on

为指定字段写入新凭据;省略的字段保留原值;空字符串视为 no-op(如需删除请用 DELETE)

put/mcp-services/{id}/credentials

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/{id}/credentials
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Path parameters

idstring required

MCP 服务 ID

Request body

object required

Response

写入后的凭据状态

successboolean

Example response

{
  "success": true
}

Changes