Lybic Docs

获取默认 MCP 服务器

返回组织的默认 MCP 服务器。如果未设置,将创建一个新的。

GET
/api/orgs/{orgId}/mcp-servers/default

返回组织的默认 MCP 服务器。如果未设置,将创建一个新的。

Path Parameters

orgId*string

组织 ID

Response Body

application/json

curl -X GET "https://loading/api/orgs/string/mcp-servers/default"
{
  "id": "string",
  "name": "string",
  "createdAt": "string",
  "defaultMcpServer": true,
  "projectId": "string",
  "policy": {
    "sandboxShape": "string",
    "sandboxMaxLifetimeSeconds": 3600,
    "sandboxMaxIdleTimeSeconds": 3600,
    "sandboxAutoCreation": false,
    "sandboxExposeRecreateTool": false,
    "sandboxExposeRestartTool": false,
    "sandboxExposeDeleteTool": false
  },
  "currentSandboxId": "string"
}