Skip to Content
REST APIMcp Deployment API

Mcp Deployment API

List MCP deployments in the environment

PathMethodProtected
/v1/envs/{environment_id}/mcp-deploymentsGETYes

Example Response JSON

{ "values": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "domain": "string", "hash": "string", "agents": { "property1": { "securityScheme": "string" }, "property2": { "securityScheme": "string" } }, "createdAt": "2019-08-24T14:15:22Z" } ] }

Create a new MCP deployment in the environment

PathMethodProtected
/v1/envs/{environment_id}/mcp-deploymentsPOSTYes

Example Request JSON

{ "domain": "string", "agents": { "property1": { "securityScheme": "string" }, "property2": { "securityScheme": "string" } } }

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "domain": "string", "hash": "string", "agents": { "property1": { "securityScheme": "string" }, "property2": { "securityScheme": "string" } }, "createdAt": "2019-08-24T14:15:22Z" }

Get MCP deployment by domain in the environment

PathMethodProtected
/v1/envs/{environment_id}/mcp-deployments/{domain}GETYes

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "domain": "string", "hash": "string", "agents": { "property1": { "securityScheme": "string" }, "property2": { "securityScheme": "string" } }, "createdAt": "2019-08-24T14:15:22Z" }

Get MCP deployment by ID

PathMethodProtected
/v1/mcp-deployments/{mcp_deployment_id}GETYes

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "domain": "string", "hash": "string", "agents": { "property1": { "securityScheme": "string" }, "property2": { "securityScheme": "string" } }, "createdAt": "2019-08-24T14:15:22Z" }

Delete MCP deployment

PathMethodProtected
/v1/mcp-deployments/{mcp_deployment_id}DELETEYes

Query Parameters

NameTypeRequiredDescription
current_revisionintegerYes-

Update MCP deployment

PathMethodProtected
/v1/mcp-deployments/{mcp_deployment_id}PATCHYes

Example Request JSON

{ "currentRevision": 0, "agents": { "property1": { "securityScheme": "string" }, "property2": { "securityScheme": "string" } } }

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "domain": "string", "hash": "string", "agents": { "property1": { "securityScheme": "string" }, "property2": { "securityScheme": "string" } }, "createdAt": "2019-08-24T14:15:22Z" }

Get a specific MCP deployment revision

PathMethodProtected
/v1/mcp-deployment/{mcp_deployment_id}/revisions/{revision}GETYes

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "domain": "string", "hash": "string", "agents": { "property1": { "securityScheme": "string" }, "property2": { "securityScheme": "string" } }, "createdAt": "2019-08-24T14:15:22Z" }

Get MCP deployment by domain in the deployment

PathMethodProtected
/v1/envs/{environment_id}/deployments/{deployment_revision}/mcp-deployments/{domain}GETYes

Example Response JSON

{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "domain": "string", "hash": "string", "agents": { "property1": { "securityScheme": "string" }, "property2": { "securityScheme": "string" } }, "createdAt": "2019-08-24T14:15:22Z" }

List MCP deployments by domain in the deployment

PathMethodProtected
/v1/envs/{environment_id}/deployments/{deployment_revision}/mcp-deploymentsGETYes

Example Response JSON

{ "values": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "revision": 0, "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "domain": "string", "hash": "string", "agents": { "property1": { "securityScheme": "string" }, "property2": { "securityScheme": "string" } }, "createdAt": "2019-08-24T14:15:22Z" } ] }

Mcp Deployment API Errors

Status CodeDescriptionBody
400Invalid request, returning with a list of issues detected in the request{"code":"string","errors":["string"]}
401Unauthorized request{"code":"string","error":"string"}
403Forbidden Request{"code":"string","error":"string"}
404Entity not found{"code":"string","error":"string"}
409{"code":"string","error":"string"}
422Limits of the plan exceeded{"code":"string","error":"string"}
500Internal server error{"code":"string","error":"string"}
Last updated on