Create MCP server
Creates a new MCP server.
Path Parameters
orgIdstring
The organization ID
namestring
Name of the MCP server.
projectId?string
Project to which the MCP server belongs to.
sandboxMaxLifetimeSeconds?number
The maximum lifetime of a sandbox.
Default
3600
sandboxMaxIdleTimeSeconds?number
The maximum idle time of a sandbox.
Default
3600
sandboxAutoCreation?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
false
sandboxExposeRecreateTool?boolean
Whether to expose recreate tool to LLMs.
Default
false
sandboxExposeRestartTool?boolean
Whether to expose restart tool to LLMs.
Default
false
sandboxExposeDeleteTool?boolean
Whether to expose delete tool to LLMs.
Default
false
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"
}