Create an MCP server
POST/api/v1/chatbots/:chatbotId/mcp-servers
Create a new MCP server configuration for a chatbot. Stdio transport is not supported via the management API (use HTTP transport). Tool discovery is attempted automatically for HTTP servers. OAuth flows, PostgreSQL scan, and metrics are dashboard-only (deferred). Required scope: mcp:write.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 429
MCP server created.
Bad Request — invalid input
Unauthorized — missing or invalid API key
Forbidden — key lacks required scope
Not Found
Too Many Requests — rate limit exceeded