Skip to content

Connect Cursor to n8n

Connect Cursor to n8n in 3 steps: 1. Sign in to ApexGenius and connect n8n. 2. Add the ApexGenius MCP server. 3. Start using n8n in Cursor.

7 days free · No card required

How to connect n8n to Cursor

  1. 1Sign in to ApexGenius and connect n8n
  2. 2Add the ApexGenius MCP server to Cursor
  3. 3Start using n8n in Cursor

FirstConnect n8n to ApexGenius

ThenConnect ApexGenius to Cursor

n8napexgenius.ai/connections/n8n1 of 3

Connect n8n. n8n shows as connected in ApexGenius.

Then ask Cursor:

List up to five n8n workflows. Do not run or change any workflow.

Written setup, step by stepShow

Before you start

  • A reachable n8n instance and an API key for that instance.

1. Connect n8n to ApexGenius

  1. Open n8n in Connections. Sign in to ApexGenius, open Connections, choose n8n, and select Connect.
  2. Enter the instance credentials. Provide the n8n instance URL and API key in the connection form. Save the connection after validation succeeds.
  3. Check the available tools. Open the Tools tab and use the Read filter to review the available inspection tools before using workflow authoring or execution actions.
  4. Check the saved connection. Use Test connection and read the reported status before asking your AI to list workflows.
    The actual n8n connection page in ApexGenius, showing its saved connection status.
    This captured n8n connection reports ready. Check your own connection and its latest validation before using tools.Open full-size image (opens in a new tab)
Connect n8n →

2. Connect ApexGenius to Cursor

Use this server address when adding the connection:

https://server.autom8.pro/mcp
  1. In Cursor, open Customize to manage MCP servers and add an apexgenius entry to mcpServers in ~/.cursor/mcp.json with the hosted HTTP URL. Choose Connect, then approve ApexGenius in your browser.
  2. When ApexGenius asks what this AI client may use, choose Read only for the first test, or Custom to limit it to the tools you need.
  3. Start a new conversation and select ApexGenius from the available tools before asking for live data.

3. Verify one safe read

List up to five n8n workflows. Do not run or change any workflow.

List up to five n8n workflows. Do not run or change any workflow.

Compare the workflow names and active status with the same n8n instance. A test execution can trigger downstream actions, so begin with a list request.

What Cursor can do in n8n

20 operations. Read looks things up and changes nothing. Write changes n8n and runs only when that tool is enabled.

Read9 operations

Looks things up. Changes nothing.

Workflows and executions

  • n8n_list_workflowsList minimal workflow metadata with cursor pagination.
  • n8n_get_workflowRead a workflow at minimal, details, structure, or full detail.
  • n8n_audit_instanceAudit the instance and workflows for security, credential, webhook, and retention risks.

Nodes and templates

  • n8n_search_nodesSearch n8n nodes by keyword, with optional template examples.
  • n8n_get_nodeRead node details, documentation, properties, versions, and migrations.
  • n8n_validate_nodeValidate a node configuration in minimal or full mode.
  • n8n_search_templatesSearch workflow templates by keyword, nodes, task, metadata, or pattern.
  • n8n_get_templateRead a template as nodes only, structure, or a full workflow.

Build and validate

  • n8n_validate_workflowValidate workflow nodes, connections, and expressions by workflow ID.

Write11 operations

Changes n8n. Runs only when enabled.

Workflows and executions

  • n8n_executionsGet, list, or delete workflow execution records.

Build and validate

  • n8n_create_workflowCreate an inactive workflow from supplied nodes and connections.
  • n8n_generate_workflowGenerate workflow proposals from a description and optionally deploy a confirmed proposal.
  • n8n_deploy_templateDeploy a template from n8n.io and apply supported automatic fixes.

Change, run, and recover

  • n8n_update_workflowApply incremental operations to a live workflow.
  • n8n_replace_workflowReplace a workflow with a complete nodes-and-connections definition.
  • n8n_autofix_workflowPreview or apply supported fixes for common workflow validation errors.
  • n8n_test_workflowTrigger an eligible webhook, form, or chat workflow and its real downstream actions.
  • n8n_workflow_versionsList, read, restore, delete, prune, or truncate workflow version history.
  • n8n_manage_datatableCreate, read, update, upsert, or delete n8n data tables and rows.
  • n8n_delete_workflowPermanently delete a workflow.

You choose what Cursor can use

When you approve Cursor, pick Full access, Read only, or Custom. Read only allows the Read operations and nothing else. Custom picks apps and tools one by one.

Limits in n8n

  • · The connection belongs to the user and is not tied to a Salesforce connection.
  • · Read, write, destructive, and open-world tool hints come from the current gateway catalog.
  • · A test run can trigger real downstream actions such as email or third-party API calls.
  • · Turn a tool off to block calls. Enabled tools run when called.

What it looks like in Cursor

An illustrative read-only request and response. Your results come from the account and dates you choose.

How the route works
Cursor
CursorApexGenius MCP route
Which n8n workflows are turned on right now?
ApexGenius
Working with ApexGenius1 tool search · 2 reads
RequestActive workflows
Account scopeAuthorized connections checked
apex_search_toolsn8n workflows · Find the n8n read pathComplete
n8napex_call_read_tooln8n_list_workflows · List active workflowsComplete
n8napex_call_read_tooln8n_get_workflow · Read each triggerComplete
Cursor

Nine workflows are active. Four run on a schedule, five on webhooks. The newest is the lead intake workflow, changed two days ago. Nothing was changed.

Read-only route
Cursor

Try asking

“Audit my workflows for broken nodes and missing credentials.”

“Find a template for routing form submissions into Salesforce.”

“Show the last failed executions and explain the common cause.”

“Update the webhook node on the intake workflow.”

Questions people ask first

What does ApexGenius need to reach my n8n instance?

Your instance URL and an API key. ApexGenius stores the credential for the connection instead of leaving it in an agent config.

Does this work with self-hosted n8n?

Yes. Any reachable instance URL works, self-hosted or cloud, as long as the API key you supply is valid for it.

Can an agent change or delete my workflows?

Workflow and execution operations that remove or overwrite are marked destructive and run when enabled. Read operations return workflow detail and change nothing.

Can I use n8n and Salesforce in the same conversation?

Yes. One connection carries every app you have connected, so an agent can read from one and act in another with both calls on the same audit trail.

Connect n8n to Cursor today

Start free

7 days free. No card required. Disconnect any time.