post
{protocol}://{base-url}/ai/api/v1/config/mcp-server
Create an MCP server config. Tests the connection before creating. Returns 422 if the connection test fails. Provide either auth_config (inline) or auth_config_id (pre-existing, e.g. after OAuth).
422Connection test failed or validation error.