n8n MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| N8N_API_KEY | Yes | n8n Public API key (Settings → API → Create API Key) | |
| N8N_API_URL | Yes | n8n instance URL (e.g. http://localhost:5678) | |
| N8N_MCP_API_KEY | No | n8n MCP Server API key for node discovery tools (Settings → MCP Server). Requires n8n 2.14+ | |
| N8N_WEBHOOK_URL | No | Separate base URL for webhooks if behind a reverse proxy. Defaults to N8N_API_URL |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| n8n_list_workflowsA | List all n8n workflows. Use to find workflow IDs, check active status, or search by name. |
| n8n_get_workflowA | Get full workflow definition (nodes, connections, settings). Use to inspect structure or prepare updates. |
| n8n_create_workflowA | Create a new n8n workflow with pre-flight validation and auto-fix. Automatically fixes: Code v2→v1, missing settings, webhookId, SplitInBatches ports, MongoDB alwaysOutputData, ExecuteWorkflow workflowId format, node name spaces. After creation use n8n_activate_workflow to enable. |
| n8n_update_workflowC | Update an existing workflow's nodes, connections, or settings. Same validation as create. |
| n8n_delete_workflowB | Delete a workflow. Auto-deactivates first if active. |
| n8n_activate_workflowB | Activate a workflow (enable triggers). Pre-validates before activating. |
| n8n_update_workflow_jsonA | Deploy a complete workflow from JSON string. Parses the JSON, runs pre-flight validation/auto-fix, PUTs the update, and optionally activates. Use this for 'edit local file → deploy' patterns instead of raw curl. |
| n8n_deactivate_workflowC | Deactivate a workflow (stop triggers). |
| n8n_list_executionsA | List recent workflow executions. Filter by workflow ID or status (success/error). Shows execution timeline and error summary. |
| n8n_get_executionA | Get detailed execution trace — shows each node's status, item count, errors, and duration. Auto-matches errors against knowhow database for fix suggestions. On failed executions, also runs pre-flight diagnostics on the workflow. |
| n8n_run_workflowA | Trigger a workflow execution via its webhook URL. Workflow must have a webhook trigger and be active. By default waits for completion (120s timeout) and returns full execution trace. Set wait_for_result=false to fire-and-forget. |
| n8n_diagnose_workflowB | Run comprehensive diagnostics on a workflow without executing it. Checks all known n8n pitfalls: Code node versions, webhook paths, credential refs, SplitInBatches wiring, MongoDB alwaysOutputData, etc. |
| n8n_search_knowhowA | Search the embedded n8n knowhow database for solutions. Query with error messages, node types, or keywords like 'webhook 404', 'Code node require', 'SplitInBatches output'. |
| n8n_run_adhocA | Run a one-off workflow: creates a temp workflow with your nodes, executes via webhook, waits for the result, then deletes it. Perfect for quick operations (MongoDB queries, HTTP requests) without leaving debris. Do NOT include trigger nodes — a webhook trigger is auto-added. |
| n8n_list_credentialsA | List all credentials configured in n8n. Shows ID, name, and type for each. |
| n8n_get_credential_schemaA | Get the JSON schema for a credential type — shows required fields, types, and defaults. Use this before creating credentials to know exactly what data fields to pass. |
| n8n_create_credentialA | Create a new credential in n8n. Use n8n_get_credential_schema first to see required fields. On error, auto-fetches the schema as a hint. |
| n8n_search_nodesA | Search available n8n node types by keyword. Returns node IDs, discriminators (resource/operation), and related nodes. Use this to find the correct node type before creating workflows. |
| n8n_get_node_paramsA | Get TypeScript type definitions for n8n node parameters. Returns exact parameter names, types, and structures. MUST be called before writing workflow node definitions — prevents guessing parameter names. Include discriminators from search results if available. |
| n8n_get_suggested_nodesA | Get curated node recommendations for workflow technique categories. Returns recommended nodes with pattern hints and configuration guidance. Use when designing a new workflow to discover the best nodes for your use case. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 20 tools
Most tools map to a clearly distinct resource+action (workflow CRUD, node discovery, execution inspection, credentials, knowhow). The main soft overlaps are n8n_update_workflow vs n8n_update_workflow_json (both deploy workflow changes) and n8n_run_workflow vs n8n_run_adhoc (both execute), but descriptions make the boundaries explicit enough for correct selection. n8n_search_nodes vs n8n_get_suggested_nodes are also adjacent but differentiated as keyword search vs curated recommendations.
Every tool uses the same n8n_ prefix followed by a snake_case verb_noun pattern (list_workflows, get_workflow, create_credential, search_knowhow). No mixing of camelCase or alternate verb styles. The predictable scheme makes related tools easy to group mentally.
Twenty tools is on the heavy side, but the surface spans four genuinely different areas (workflows, nodes, executions, credentials) plus a knowhow lookup, so each tool maps to a real capability. The only arguable redundancy is n8n_update_workflow_json layering on top of n8n_update_workflow, which keeps it just short of a clean 5.
Workflow lifecycle is fully covered (list/get/create/update/delete/activate/deactivate), and executions, node discovery, and credential creation are supported. Gaps are minor: no credential update/delete or single-credential get, no execution delete/retry, and no workflow duplication, but agents can work around these via the JSON deploy and re-run paths.