Create MCP server
Creates a new MCP server.
Creates a new MCP server.
Path Parameters
orgId*string
The organization ID
Request Body
application/json
name*string
Name of the MCP server.
projectId?string
Project to which the MCP server belongs to.
sandboxShape*string
The shape of the sandbox created by the MCP server.
sandboxMaxLifetimeSeconds?number
The maximum lifetime of a sandbox.
Default
3600sandboxMaxIdleTimeSeconds?number
The maximum idle time of a sandbox.
Default
3600sandboxAutoCreation?boolean
Whether to create a new sandbox automatically when old sandbox is deleted. If not, new sandboxes will be created when calling computer use tools.
Default
falsesandboxExposeRecreateTool?boolean
Whether to expose recreate tool to LLMs.
Default
falsesandboxExposeRestartTool?boolean
Whether to expose restart tool to LLMs.
Default
falsesandboxExposeDeleteTool?boolean
Whether to expose delete tool to LLMs.
Default
falseResponse Body
application/json
curl -X POST "https://loading/api/orgs/string/mcp-servers" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "sandboxShape": "string" }'{
"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"
}