Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Automation - official n8n server

n8n MCP server

An MCP server built into every n8n instance, Cloud or self-hosted. Connected clients can search workflows, run and test the workflows you enable, and create or edit workflows, data tables and agents. It is served from your own instance at https://<your-n8n-domain>/mcp-server/http with OAuth or API key auth.

Last verified 15 tools6 sources

Install

Terminal
claude mcp add --transport http n8n https://<your-n8n-domain>/mcp-server/http
Terminal
codex mcp add n8n --url "https://<your-n8n-domain>/mcp-server/http"
JSON
{
  "mcpServers": {
    "n8n": {
      "type": "streamable-http",
      "url": "https://<your-n8n-domain>/mcp-server/http"
    }
  }
}

VS Code

JSON
{
  "servers": {
    "n8n": {
      "type": "http",
      "url": "https://<your-n8n-domain>/mcp-server/http"
    }
  }
}

Generic

JSON
{
    "mcpServers": {
        "n8n-mcp": {
            "type": "http",
            "url": "https://<your-n8n-domain>/mcp-server/http",
            "headers": {
                "Authorization": "Bearer <YOUR_N8N_MCP_TOKEN>"
            }
        }
    }
}

Tools

search_workflows
Search for workflows with optional filters. Returns a preview of each workflow.
get_workflow_details
Get detailed information about a specific workflow, including trigger details.
execute_workflow
Execute a workflow by ID. Returns the execution ID immediately without waiting for completion.
test_workflow
Test a workflow using pin data to bypass external services.
publish_workflow
Publish (activate) a workflow to make it available for production execution.
get_workflow_execution
Get execution details by execution ID and workflow ID.
search_workflow_executions
Search for workflow executions with optional filters, returning status, timing and workflow ID.
list_credentials
List credentials the current user can access; never returns credential secret data.
search_nodes
Search for n8n nodes by service name, trigger type, or utility function.
validate_workflow
Validate n8n Workflow SDK code and check for errors before creating or updating a workflow.
create_workflow_from_code
Create a workflow in n8n from validated SDK code.
update_workflow
Update an existing workflow by applying an ordered, atomic batch of targeted partial updates.
create_data_table
Create a new data table with the specified columns.
call_agent
Test an agent draft through the built-in Preview chat.
get_instance_context
Return context about the connected n8n instance.

As documented on October 17, 2026. A running server reports its current list through tools/list.

Notes and caveats

  • An instance owner or admin turns it on under Settings > Instance-level MCP, and each workflow must then be enabled for MCP. search_workflows is the exception: it returns previews of every workflow the user can view.
  • The URL depends on the instance, for example your-instance.app.n8n.cloud.
  • Self-hosted instances must be publicly reachable for cloud clients, and N8N_DISABLED_MODULES=mcp removes the feature.
  • Workflow building tools need n8n 2.12+ or 2.13+, the per-client Connect dialog needs 2.33.0+, and agent tools need 2.34.0+ (agents are in Preview).
  • OAuth is recommended; an API key (Bearer token) is the alternative.
  • The Claude Code and Codex snippets use OAuth; the generic snippet is the documented API-key claude.json entry.
  • This is separate from the per-workflow MCP Server Trigger node.

FAQ

What does the n8n MCP server do?

An MCP server built into every n8n instance, Cloud or self-hosted. Connected clients can search workflows, run and test the workflows you enable, and create or edit workflows, data tables and agents. The vendor documents 15 tools, including search_workflows, get_workflow_details, execute_workflow and test_workflow.

How do I add the n8n MCP server to Claude Code?

Run claude mcp add --transport http n8n https://<your-n8n-domain>/mcp-server/http, copied from n8n's docs. This page also has snippets for Codex, Cursor, VS Code and Generic.

Does the n8n MCP server need authentication?

Yes, OAuth or API key. Transport: Streamable HTTP. Status: Unlabelled, last checked October 17, 2026.

Sources

Last verified against 6 n8n pages, then re-checked independently.

Newsletter

New MCP servers, the week they ship

One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.