APIMCPs
Create MCP
Create an MCP. Set origin to "catalog" with a catalog_slug, or "custom" with full config.
POST
/mcpsCreate an MCP. Set origin to "catalog" with a catalog_slug, or "custom" with full config.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
An MCP (Model Context Protocol) server configuration.
Response Body
application/json
application/json
curl -X POST "https://example.com/mcps" \ -H "Content-Type: application/json" \ -d '{ "origin": "catalog", "config": { "catalog_slug": "string" } }'{ "id": null, "origin": "catalog", "kind": "builtin", "display_name": "string", "server_url": "http://example.com", "gateway_url": "http://example.com", "available_tools": [ { "name": "string", "description": "string", "input_schema": { "property1": null, "property2": null } } ], "config": { "catalog_slug": "string", "mode": "embedded", "byo_client_id": "string", "token_endpoint_auth_method": "client_secret_basic" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}{ "code": "bad_request", "message": "string", "validation_errors": [ { "field": "string", "message": "string", "rule": "string" } ]}