Register an MCP server
POST/v1/mcp_servers
A task gets the server when it names it in task.mcp_servers (after the plugin .mcp.json and before the Kobana catalog). Scope: kadu/environments (run configuration). The message of a refusal follows Accept-Language (pt-BR, en-US or es-ES); details.reason is the reason as a stable code, with its parameters.
Request​
Responses​
- 201
- 400
- 401
- 403
- 409
- 422
- 503
created
VALIDATION_ERROR
INVALID_TOKEN / INVALID_AUDIENCE / INVALID_ISSUER / TOKEN_EXPIRED / TOKEN_REVOKED / MTLS_REQUIRED
INSUFFICIENT_SCOPE (see above) or FEATURE_NOT_ENABLED — the operation is not enabled for the organization (the same permission that enables the screen in the console); details: { permission }.
CONFLICT — a live server already has this name / IDEMPOTENCY_KEY_REUSED
INVALID_CONFIG — config outside the mcpServers format or with a literal credential
AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).