Lybic Docs

Get Default MCP server

Returns the default MCP server for the organization. If not set, it will create a new one.

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

Path Parameters

orgIdstring

The organization ID

Response Body

{
  "id": "string",
  "name": "string",
  "createdAt": "string",
  "defaultMcpServer": true,
  "projectId": "string",
  "policy": {
    "sandboxMaxLifetimeSeconds": 3600,
    "sandboxMaxIdleTimeSeconds": 3600,
    "sandboxAutoCreation": false,
    "sandboxExposeRecreateTool": false,
    "sandboxExposeRestartTool": false,
    "sandboxExposeDeleteTool": false
  },
  "currentSandboxId": "string"
}