POST /api/mcp-tools
Connects to an MCP server and returns the list of available tools. Used by the MCP node’s Load Tools button in the Properties Panel.Request
| Field | Type | Required | Description |
|---|---|---|---|
serverUrl | string | ✅ | The MCP server endpoint URL |
authType | "none" | "bearer" | "api_key" | — | Authentication method |
authValue | string | — | Token or API key value |
Response
| Field | Type | Description |
|---|---|---|
tools | { name: string; description: string }[] | Available tools from the server |
Error responses
| Status | Description |
|---|---|
500 | Could not connect to the MCP server or list tools |