mcp-n8n
v1.5.0Operate and build n8n: 61 tools, 560-node catalog, validation, autofix, snapshots and backups.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
n8n_create_workflow
Create a new workflow in n8n. Prefer n8n_search_nodes + n8n_validate_workflow first so the JSON is valid. You can specify nodes, connections, and settings.
| Parameter | Type | Description |
|---|---|---|
name * | string | Name of the workflow |
connections | object | Node connections |
nodes | array | Array of workflow nodes (defaults to empty) |
settings | object | Workflow settings |
n8n_list_workflows
List all workflows with full details. Can filter by active status, tags, name, or project. WARNING: Returns complete workflow data including nodes and connections - use n8n_list_workflows_summary for better token efficiency.
| Parameter | Type | Description |
|---|---|---|
active | boolean | Filter by active status |
cursor | string | Pagination cursor |
fields | array | Specific fields to return (e.g., ["id", "name", "active"]). Reduces token usage significantly. |
limit | integer | Number of results (max 250) |
name | string | Filter by workflow name |
projectId | string | Filter by project ID |
tags | string | Filter by tag ID |
n8n_list_workflows_summary
List workflows with minimal data (id, name, active, tags, updatedAt only). Recommended for browsing and listing - uses 90% fewer tokens than n8n_list_workflows. Use n8n_get_workflow to fetch full details of a specific workflow.
| Parameter | Type | Description |
|---|---|---|
active | boolean | Filter by active status |
cursor | string | Pagination cursor |
limit | integer | Number of results (max 250) |
name | string | Filter by workflow name |
projectId | string | Filter by project ID |
tags | string | Filter by tag ID |
n8n_get_workflow
Get detailed information about a specific workflow by ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID |
n8n_update_workflow
Update an existing workflow. Supports partial updates: omitted fields keep their current values (the current workflow is fetched and merged automatically).
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID to update |
connections | object | Updated connections |
name | string | New workflow name |
nodes | array | Updated workflow nodes |
settings | object | Updated settings |
n8n_delete_workflow
Delete a workflow permanently. A local snapshot is saved first so it can be restored with n8n_rollback_workflow (into a new workflow).
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID to delete |
n8n_activate_workflow
Activate a workflow to start receiving triggers.
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID to activate |
n8n_deactivate_workflow
Deactivate a workflow to stop receiving triggers.
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID to deactivate |
n8n_transfer_workflow
Transfer a workflow to another project.
| Parameter | Type | Description |
|---|---|---|
destinationProjectId * | string | Destination project ID |
id * | string | Workflow ID |
n8n_get_workflow_tags
Get all tags associated with a workflow.
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID |
n8n_update_workflow_tags
Update tags for a workflow.
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID |
tagIds * | array | Array of tag IDs |
n8n_list_executions
List workflow executions. Can filter by status, workflow ID, or project. TIP: Set includeData=false and use fields parameter to reduce token usage.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor |
fields | array | Specific fields to return (e.g., ["id", "status", "workflowId"]). Reduces token usage. |
includeData | boolean | Include execution data (WARNING: significantly increases token usage) |
limit | integer | Number of results |
projectId | string | Filter by project ID |
status | string | Filter by execution status |
workflowId | string | Filter by workflow ID |
n8n_get_execution
Get detailed information about a specific execution.
| Parameter | Type | Description |
|---|---|---|
id * | string | Execution ID |
includeData | boolean | Include execution data |
n8n_delete_execution
Delete an execution record.
| Parameter | Type | Description |
|---|---|---|
id * | string | Execution ID to delete |
n8n_retry_execution
Retry a failed execution.
| Parameter | Type | Description |
|---|---|---|
id * | string | Execution ID to retry |
n8n_create_credential
Create a new credential for a specific node type.
| Parameter | Type | Description |
|---|---|---|
data * | object | Credential data |
name * | string | Credential name |
type * | string | Credential type (e.g., "httpBasicAuth") |
projectId | string | Project ID |
n8n_delete_credential
Delete a credential (owner only).
| Parameter | Type | Description |
|---|---|---|
id * | string | Credential ID to delete |
n8n_get_credential_schema
Get the schema for a credential type to understand required fields.
| Parameter | Type | Description |
|---|---|---|
credentialTypeName * | string | Credential type name |
n8n_transfer_credential
Transfer a credential to another project.
| Parameter | Type | Description |
|---|---|---|
destinationProjectId * | string | Destination project ID |
id * | string | Credential ID |
n8n_create_tag
Create a new tag for organizing workflows.
| Parameter | Type | Description |
|---|---|---|
name * | string | Tag name |
n8n_list_tags
List all tags available in n8n.
n8n_get_tag
Get information about a specific tag.
| Parameter | Type | Description |
|---|---|---|
id * | string | Tag ID |
n8n_update_tag
Update a tag name.
| Parameter | Type | Description |
|---|---|---|
id * | string | Tag ID |
name * | string | New tag name |
n8n_delete_tag
Delete a tag.
| Parameter | Type | Description |
|---|---|---|
id * | string | Tag ID to delete |
n8n_create_variable
Create a new environment variable in n8n.
| Parameter | Type | Description |
|---|---|---|
key * | string | Variable key |
value * | string | Variable value |
projectId | string | Project ID |
type | string | Variable type |
n8n_list_variables
List all environment variables.
| Parameter | Type | Description |
|---|---|---|
projectId | string | Filter by project ID |
state | string | Filter by state |
n8n_update_variable
Update an environment variable.
| Parameter | Type | Description |
|---|---|---|
id * | string | Variable ID |
key | string | New key |
type | string | |
value | string | New value |
n8n_delete_variable
Delete an environment variable.
| Parameter | Type | Description |
|---|---|---|
id * | string | Variable ID to delete |
n8n_list_users
List all users (owner only).
| Parameter | Type | Description |
|---|---|---|
includeRole | boolean | Include role information |
n8n_create_users
Create multiple users at once.
| Parameter | Type | Description |
|---|---|---|
users * | array | Array of user objects |
n8n_get_user
Get user by ID or email (owner only).
| Parameter | Type | Description |
|---|---|---|
id * | string | User ID or email |
n8n_delete_user
Delete a user.
| Parameter | Type | Description |
|---|---|---|
id * | string | User ID to delete |
n8n_change_user_role
Change a user's global role.
| Parameter | Type | Description |
|---|---|---|
id * | string | User ID |
role * | string | New role |
n8n_create_project
Create a new project in n8n.
| Parameter | Type | Description |
|---|---|---|
name * | string | Project name |
type | string | Project type |
n8n_list_projects
List all projects.
n8n_update_project
Update a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | Project ID |
name | string | New project name |
type | string |
n8n_delete_project
Delete a project.
| Parameter | Type | Description |
|---|---|---|
id * | string | Project ID to delete |
n8n_add_user_to_project
Add a user to a project with a specific role.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project ID |
role * | string | User role in project |
userId * | string | User ID to add |
n8n_remove_user_from_project
Remove a user from a project.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project ID |
userId * | string | User ID to remove |
n8n_change_user_project_role
Change a user's role within a project.
| Parameter | Type | Description |
|---|---|---|
projectId * | string | Project ID |
role * | string | New role |
userId * | string | User ID |
n8n_generate_audit
Generate a security audit report.
n8n_pull_source_control
Pull changes from remote source control repository.
n8n_export_all_workflows
Back up every workflow of the instance as individual JSON files in a local directory. Complements the per-change snapshots with a full-instance safety net.
| Parameter | Type | Description |
|---|---|---|
directory | string | Target directory (default: ~/.mcp-n8n/backups/<timestamp>) |
n8n_import_workflows
Import workflow JSON files from a local directory (e.g. a backup created with n8n_export_all_workflows) as new workflows in the instance.
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory containing .json workflow files |
activate | boolean | Activate workflows that were active in the backup (default false) |
n8n_list_workflow_templates
List available workflow templates with their metadata. Use this to discover what pre-built workflows are available.
| Parameter | Type | Description |
|---|---|---|
category | string | Filter by category (e.g., "AI/Chat", "E-commerce/Support") |
search | string | Search keywords in name, description, tags, and use cases |
n8n_get_workflow_template
Get a specific workflow template by ID or intelligently find the best matching template based on user requirements.
| Parameter | Type | Description |
|---|---|---|
templateId | string | Template ID (if known) |
userRequest | string | User's description of what they want to build. Used to intelligently match the best template. |
n8n_create_workflow_from_template
Create a new workflow in n8n based on a template. Automatically selects the best template if not specified.
| Parameter | Type | Description |
|---|---|---|
activate | boolean | Whether to activate the workflow after creation |
templateId | string | Template ID to use (if known) |
userRequest | string | Description of what the user wants. Used to find the best matching template if templateId not provided. |
workflowName | string | Custom name for the new workflow (optional, will use template name if not provided) |
n8n_search_nodes
Search the full catalog of 560 n8n nodes (extracted from the real n8n packages). Use this BEFORE creating a workflow so node types are correct. Returns summaries; use n8n_get_node for the full parameter schema.
| Parameter | Type | Description |
|---|---|---|
query * | string | What the node should do (e.g. "slack", "postgres", "vector store", "schedule") |
limit | integer | Max results (default 8) |
n8n_get_node
Get the real parameter schema of an n8n node type: parameters with types, options and display conditions, required params, credentials, latest typeVersion, plus curated notes and an example for common nodes.
| Parameter | Type | Description |
|---|---|---|
type * | string | Node type or alias (e.g. "n8n-nodes-base.slack" or "webhook") |
n8n_autofix_workflow
Apply safe mechanical fixes to a workflow: missing typeVersion, missing positions, duplicate node names, connections to nonexistent nodes, and missing "=" prefixes on expressions. By default returns a preview; set apply=true to save (a snapshot is taken first).
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID |
apply | boolean | Save the fixed workflow (default false = preview only) |
n8n_validate_workflow
Validate a workflow JSON before creating or updating it. Checks node names, types, required parameters, and connections. Always call this before n8n_create_workflow or n8n_activate_workflow.
| Parameter | Type | Description |
|---|---|---|
connections | object | |
name | string | |
nodes | array | |
workflowId | string | If set, validate the workflow already stored in n8n |
n8n_update_workflow_partial
Apply surgical edits to an existing workflow without rewriting it. Operations: setName, addNode, removeNode, updateNode, addConnection, removeConnection. Fetches the current workflow, applies the ops, and saves.
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID |
operations * | array | List of edits to apply in order |
validate | boolean | Validate before saving (default true) |
n8n_debug_last_error
Get the most recent failed execution (optionally for one workflow) with the failing node and error message. Use this to repair a broken workflow.
| Parameter | Type | Description |
|---|---|---|
workflowId | string | Limit to one workflow |
n8n_get_node_execution_data
Inspect the data that flowed through a specific node in an execution, without downloading the whole execution. Without nodeName, returns an overview of all executed nodes (status, item counts, errors). With nodeName, returns the actual output items (limited sample) and error details for that node.
| Parameter | Type | Description |
|---|---|---|
executionId * | string | Execution ID |
itemsLimit | integer | Max output items to return per run (default 3) |
nodeName | string | Node name to inspect (omit for an overview of all nodes) |
n8n_workflow_health
Operational health report computed from recent executions: success rate, failure count, average duration, and last failure per workflow, sorted worst-first. Use it to find which workflows need attention.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many recent executions to analyze (default 100) |
workflowId | string | Limit to one workflow |
n8n_search_public_templates
Search official n8n.io workflow templates (thousands, always current). Returns summaries only. Then use n8n_import_public_template to copy one into the instance.
| Parameter | Type | Description |
|---|---|---|
query * | string | What the workflow should do |
limit | integer |
n8n_import_public_template
Download an official n8n.io template by ID and create it as a workflow in this instance. Credentials still have to be attached in n8n.
| Parameter | Type | Description |
|---|---|---|
templateId * | string | Numeric ID from n8n_search_public_templates |
activate | boolean | |
workflowName | string |
n8n_trigger_webhook
Call a Webhook-trigger workflow on the n8n instance to test it end-to-end and see the real response. Use test=true only while the workflow is in "Listen for test event" mode in the editor; otherwise the workflow must be active.
| Parameter | Type | Description |
|---|---|---|
path * | string | Webhook path as configured in the Webhook node (e.g. "my-hook" or a UUID) |
body | object | JSON body to send |
method | string | HTTP method (default POST) |
test | boolean | Use the /webhook-test/ path instead of /webhook/ |
n8n_list_workflow_snapshots
List local snapshots of a workflow. A snapshot is saved automatically before every update, partial update, or delete done through this server.
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID |
n8n_rollback_workflow
Restore a workflow to a previous snapshot (latest by default). The current state is snapshotted first, so a rollback can itself be undone. If the workflow was deleted, set recreate=true to restore it as a new workflow.
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID |
recreate | boolean | Create a new workflow from the snapshot instead of updating (for deleted workflows) |
timestamp | string | Snapshot timestamp from n8n_list_workflow_snapshots (default: most recent) |
n8n_diff_workflow_snapshot
Compare a workflow snapshot against the current state (or another snapshot): nodes added/removed/modified, changed parameters, and connection changes. Useful before deciding whether to roll back.
| Parameter | Type | Description |
|---|---|---|
id * | string | Workflow ID |
from | string | Snapshot timestamp to compare from (default: most recent snapshot) |
to | string | Snapshot timestamp to compare to (default: current state in n8n) |