Test Mcp Connection
POST/api/components/mcp-servers/test-connection
Test connection to an MCP server without persisting anything.
Args: request: Connection details:
- mcpUrl: MCP server endpoint URL (required)
- headers: Authentication headers (optional)
- transportType: Force transport type - "auto", "http", "sse", "websocket" (optional)
Returns: Connection test result with discovered tools on success, or error details on failure.
Request
Responses
- 200
- 422
Successful Response
Validation Error