Skip to content

Mcp Client

Node: mcpClient · Full type: @n8n/n8n-nodes-langchain.mcpClient · Version: 1

Credentials

httpBearerAuth (alias: @http) / httpHeaderAuth (alias: @http) / mcpOAuth2Api (alias: @mcp) / httpMultipleHeadersAuth (alias: @http)

CREDENTIAL @http = httpBearerAuth "My Mcp Client"

Parameters

Parameter Type Default Details
serverTransport options "httpStreamable" httpStreamable, sse
endpointUrl string "" required
authentication options "none" bearerAuth, headerAuth, mcpOAuth2Api, multipleHeadersAuth, none
tool resourceLocator {...} required; modes: list, id
inputMode options "manual" manual, json
parameters resourceMapper {...} required
jsonInput json "{
"my_field_1": "value",
"my_fiel..."
options collection {} keys: convertToBinary, timeout

options children:

Parameter Type Default Details
convertToBinary boolean true
timeout number 60000

Example

NODE "mcpClient" @http AS "Mcp Client" {
  endpointUrl: {{ $json.endpointUrl }}
}