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.
sandboxShapestring
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
{
"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"
}