MCP Client Tool node

The MCP Client Tool node is a Model Context Protocol (MCP) client, allowing you to use the tools exposed by an external MCP server. You can connect the MCP Client Tool node to your models to call external tools with n8n agents.

Note

Credentials The MCP Client Tool node supports Bearer, generic header, and OAuth2 authentication methods.

Node parameters

Configure the node with the following parameters.

  • SSE Endpoint: The SSE endpoint for the MCP server you want to connect to.

  • Authentication: The authentication method for authentication to your MCP server. The MCP tool supports bearer, generic header, and OAuth2 authentication. Select None to attempt to connect without authentication.

  • Tools to Include: Choose which tools you want to expose to the AI Agent:

    • All: Expose all the tools given by the MCP server.

    • Selected: Activates a Tools to Include parameter where you can select the tools you want to expose to the AI Agent.

    • All Except: Activates a Tools to Exclude parameter where you can select the tools you want to avoid sharing with the AI Agent. The AI Agent will have access to all MCP server’s tools that aren’t selected.

Templates and examples