Data as of

n8n MCP Server for Cursor: Setup & Config

n8n MCP Server lets Cursor manage workflows and inspect or control executions in an n8n instance.

What you can do with n8n in Cursor

Pick it for workflow lifecycle controls, execution inspection, and webhook triggers against your n8n instance.

  • Run workflows and inspect their execution results.
  • Trigger a Basic-Auth-protected n8n webhook by workflow name.

Before you start: n8n in Cursor

  • Node.js 20 or newer
  • An n8n instance with API access enabled
  • The globally installed @leonardsellem/n8n-mcp-server package
  • An n8n API key

Install with npm install -g @leonardsellem/n8n-mcp-server before using this executable. N8N_WEBHOOK_USERNAME and N8N_WEBHOOK_PASSWORD are needed only for webhook tools. Source builds and Docker are documented alternatives.

n8n Cursor configuration

  1. Choose Cursor configuration scope

    For n8n MCP Server, open Project: .cursor/mcp.json User: ~/.cursor/mcp.json. Merge into mcpServers at project or user scope.

  2. Add n8n MCP Server to Cursor

    Use the n8n-mcp-server entry below in mcpServers. Keep n8n MCP Server's documented stdio connection fields and your other Cursor entries.

  3. Check n8n MCP Server in Cursor

    n8n MCP Server: Enable in Cursor’s MCP settings; inspect tools.

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

JSON
{
  "mcpServers": {
    "n8n-mcp-server": {
      "command": "n8n-mcp-server",
      "args": [],
      "env": {
        "N8N_API_URL": "<Full n8n API URL including /api/v1>",
        "N8N_API_KEY": "<n8n API key with appropriate permissions>"
      }
    }
  }
}

n8n tools available to Cursor

n8n's stored tool list documents 12 tools; compare it with Cursor's connected tool list, because the stored list is not a live check.

workflow_list

Find workflow_list under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

workflow_get

Find workflow_get under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

workflow_create

Find workflow_create under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

workflow_update

Find workflow_update under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

workflow_delete

Find workflow_delete under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

workflow_activate

Find workflow_activate under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

workflow_deactivate

Find workflow_deactivate under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Disable a workflow.

execution_run

Find execution_run under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Start a workflow through the n8n API.

run_webhook

Find run_webhook under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Trigger a named workflow through its webhook.

execution_get

Find execution_get under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Inspect details for a specific workflow run.

execution_list

Find execution_list under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

List runs associated with a workflow.

execution_stop

Find execution_stop under n8n in Cursor's MCP settings; inspect its arguments when the agent requests a call.

Stop an execution that is currently running.

n8n: full stored tool descriptions

Troubleshooting n8n in Cursor

  • Cursor must find n8n-mcp-server for n8n MCP Server. Enable the project/user entry in MCP settings and inspect its tools.
  • Review N8N_API_KEY, N8N_API_URL for n8n MCP Server before sharing project .cursor/mcp.json; project scope travels with the repository.
  • n8n MCP Server uses stdio here: Cursor must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
  • Known limitation: Requires an API-enabled n8n instance and suitable API credentials.
  • Known limitation: Webhook use needs a configured workflow and Basic Authentication credentials.
  • Known limitation: The README describes part-time maintenance and a search for co-maintainers.
  • General Cursor troubleshooting lives in the /clients/cursor guide.

n8n MCP Server — details. Cursor guide

Frequently asked questions

Cursor's n8n MCP Server entry belongs under mcpServers in .cursor/mcp.json (project) or ~/.cursor/mcp.json (user). Confirm the active scope in MCP settings.