How do you use n8n with MCP?
How do you use n8n with MCP? There are two directions. In the first, n8n is the MCP server and an AI client such as an assistant app uses your workflows as tools. In the second, an n8n agent uses tools from an outside MCP server.
For the first, an instance owner or admin turns on MCP access in the n8n settings, then connects a client from the connection details. Clients can only run workflows you have enabled for MCP.
For one workflow, the MCP Server Trigger node exposes tools from that workflow only. For the second direction, the MCP Client Tool node lets an agent use the tools of an external MCP server.
If you use a cloud-based client, your n8n instance must be reachable from the internet.