Skip to main content

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

{
  "serverUrl": "https://my-mcp-server.example.com",
  "authType": "bearer",
  "authValue": "my-token"
}
FieldTypeRequiredDescription
serverUrlstringThe MCP server endpoint URL
authType"none" | "bearer" | "api_key"Authentication method
authValuestringToken or API key value

Response

{
  "tools": [
    {
      "name": "get_customer",
      "description": "Fetch customer data by email address"
    },
    {
      "name": "create_ticket",
      "description": "Create a support ticket in the CRM"
    }
  ]
}
FieldTypeDescription
tools{ name: string; description: string }[]Available tools from the server

Error responses

StatusDescription
500Could not connect to the MCP server or list tools