Skip to content

n8n MCP: install, tools and limits

Better Design

Direct answer

n8n has a built-in MCP server for each instance, which lets Claude Code or Cursor search, run, build and edit the workflows you enable for MCP. It runs over Streamable HTTP at https://<your-n8n-domain>/mcp-server/http, needs n8n OAuth or an API key, and exposes 60 tools.

A hand-drawn terminal that connects a coding agent to n8n MCP, with the server's name and tool count written beside it.

What n8n MCP does

n8n has a built-in MCP server for each instance, which lets Claude Code or Cursor search, run, build and edit the workflows you enable for MCP. It also ships MCP nodes: the MCP Server Trigger turns one workflow into an MCP server, and the MCP Client nodes call tools on other MCP servers.

n8n maintains it. The latest release on npm is n8n 2.47.4, published November 11, 2026.

How a coding agent uses n8n MCP

The agent asks, n8n MCP acts, and the result comes back into the session.

A hand-drawn three-step flow from the coding agent to n8n MCP and back: Build the webhook workflow behind this form, Creates, validates and runs the workflow in n8n, The workflow and its execution result.
  1. The agent asks: Build the webhook workflow behind this form
  2. n8n MCP acts: Creates, validates and runs the workflow in n8n
  3. The result comes back: The workflow and its execution result

Install n8n MCP in Claude Code

terminal
claude mcp add --transport http n8n https://<your-n8n-domain>/mcp-server/http
# then run /mcp and select n8n to complete OAuth

Install n8n MCP in Cursor

~/.cursor/mcp.json or .cursor/mcp.json (or one-click setup in the Connect a client dialog)
{
  "mcpServers": {
    "n8n": {
      "type": "streamable-http",
      "url": "https://<your-n8n-domain>/mcp-server/http"
    }
  }
}

Install n8n MCP in VS Code

.vscode/mcp.json (or one-click setup)
{
  "servers": {
    "n8n": {
      "type": "http",
      "url": "https://<your-n8n-domain>/mcp-server/http"
    }
  }
}

Install n8n MCP in Codex

terminal
codex mcp add n8n --url "https://<your-n8n-domain>/mcp-server/http"
# then: codex mcp login n8n

The 60 tools n8n MCP gives your agent

n8n MCP lists these names in its own documentation, read on November 12, 2026. Your agent sees each one as a tool it can call.

  • search_workflows
  • get_workflow_details
  • execute_workflow
  • test_workflow
  • prepare_workflow_pin_data
  • publish_workflow
  • unpublish_workflow
  • get_workflow_history
  • get_workflow_version
  • get_workflow_versions_diff
  • search_projects
  • search_folders
  • list_workflow_tags
  • get_workflow_execution
  • search_workflow_executions
  • list_credentials
  • update_credential_description
  • get_instance_context
  • get_instance_activity
  • expand_instance_activity
  • get_node_usage
  • get_workflow_sdk_reference
  • search_nodes
  • get_node_types
  • get_workflow_best_practices
  • explore_node_resources
  • validate_workflow
  • validate_node_config
  • create_workflow_from_code
  • update_workflow
  • archive_workflow
  • restore_workflow_version
  • search_agents
  • get_agent
  • get_agent_builder_reference
  • discover_agent_assets
  • create_agent
  • mutate_agent
  • validate_agent
  • call_agent
  • verify_agent_mcp_server
  • publish_agent
  • unpublish_agent
  • revert_agent
  • list_agent_versions
  • list_agent_sessions
  • get_agent_session
  • update_agent_integration
  • delete_agent
  • get_user_preferences
  • save_user_preference
  • update_user_preference
  • undo_user_preference
  • search_data_tables
  • create_data_table
  • add_data_table_column
  • rename_data_table_column
  • delete_data_table_column
  • rename_data_table
  • add_data_table_rows

Settings worth knowing in n8n MCP

N8N_MCP_ACCESS_ENABLED and N8N_MCP_MANAGED_BY_ENV
What it changes

Turn MCP access on, and manage it from the environment, on a self-hosted instance.

Server

n8n MCP

N8N_DISABLED_MODULES=mcp
What it changes

Removes the MCP feature from the instance.

Server

n8n MCP

Auto-expose new workflows
What it changes

Makes each new workflow available to MCP clients; it is off by default.

Server

n8n MCP

Allowed callback URLs
What it changes

Allows OAuth callbacks to all URLs or only to trusted ones.

Server

n8n MCP

execute_workflow executionMode
What it changes

Runs the production workflow by default, or the manual version.

Server

n8n MCP

Sign-in, limits and caveats for n8n MCP

Sign-in: Instance server: OAuth (recommended) or an API key (personal access token sent as Authorization: Bearer). Enabling MCP needs an instance owner or admin. MCP Server Trigger: None, n8n User Auth (OAuth2, node v2+), Bearer auth or Header auth.

Limits and price: No rate limits or plan requirements documented on the MCP pages. Workflow building and editing through MCP needs n8n 2.13.0 or later; the current settings layout needs 2.33.0. From 2.47.0 a protected (read-only) instance blocks every tool not annotated readOnlyHint, except production execute_workflow.

  • MCP access is not scoped per client: every connected client sees every workflow you enabled for MCP.
  • Cloud-based MCP clients need the n8n instance to be publicly reachable, and a reverse proxy must forward the MCP-Protocol-Version, Mcp-Method and Mcp-Name headers.
  • With multiple webhook replicas in queue mode, route all /mcp* traffic to one dedicated replica, or MCP Server Trigger connections break.

Use n8n MCP for interface work

A coding agent building a product feature can create, validate and run the n8n workflow behind it (for example a form or webhook backend) and read its execution results without leaving the editor.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "n8n MCP: install, tools and limits" at https://better-design.com/blog/n8n-mcp and help me apply it to my project.

n8n has a built-in MCP server for each instance, which lets Claude Code or Cursor search, run, build and edit the workflows you enable for MCP. It runs over Streamable HTTP at https://<your-n8n-domain>/mcp-server/http, needs n8n OAuth or an API key, and exposes 60 tools.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

What does n8n MCP do?

n8n has a built-in MCP server for each instance, which lets Claude Code or Cursor search, run, build and edit the workflows you enable for MCP. It also ships MCP nodes: the MCP Server Trigger turns one workflow into an MCP server, and the MCP Client nodes call tools on other MCP servers.

Does n8n MCP need an API key or sign-in?

Instance server: OAuth (recommended) or an API key (personal access token sent as Authorization: Bearer). Enabling MCP needs an instance owner or admin. MCP Server Trigger: None, n8n User Auth (OAuth2, node v2+), Bearer auth or Header auth.

Is n8n MCP free?

No rate limits or plan requirements documented on the MCP pages. Workflow building and editing through MCP needs n8n 2.13.0 or later; the current settings layout needs 2.33.0. From 2.47.0 a protected (read-only) instance blocks every tool not annotated readOnlyHint, except production execute_workflow.

Which coding agents can use n8n MCP?

Its documentation shows a setup for Claude Code, Cursor, VS Code, Codex. Any client that speaks MCP over Streamable HTTP at https://<your-n8n-domain>/mcp-server/http can connect.

Where these n8n MCP facts come from

Each fact on this page comes from n8n MCP's own repository, documentation or package registry, read on November 12, 2026.

Add design rules next to it

n8n MCP gives the agent its tools. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.