mcp/n8n

Verified Publisher

By mcp

Updated 2 months ago

Bridges n8n's workflow automation platform with AI models, providing access to 543 n8n nodes, wor...

Image
Machine learning & AI
5

10K+

mcp/n8n repository overview

n8n MCP Server

Bridges n8n's workflow automation platform with AI models, providing access to 543 n8n nodes, workflow templates, and AI-capable automation tools.

What is an MCP Server?

MCP Info

AttributeDetails
Docker Imagemcp/n8n
Authorczlonkowski
Repositoryhttps://github.com/czlonkowski/n8n-mcp

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/czlonkowski/n8n-mcp/blob/1bbfaabbc20f4989d81bc8a2cfc9f16795134ed8/Dockerfile
Commit1bbfaabbc20f4989d81bc8a2cfc9f16795134ed8
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/n8n --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceMIT License

Available Tools (42)

Tools provided by this ServerShort Description
get_database_statisticsNode stats: 525 total, 263 AI tools, 104 triggers, 87% docs coverage.
get_node_as_tool_infoHow to use ANY node as AI tool.
get_node_documentationGet readable docs with examples/auth/patterns.
get_node_essentialsGet node essential info with optional real-world examples from templates.
get_node_infoGet full node documentation.
get_property_dependenciesShows property dependencies and visibility rules.
get_templateGet template by ID.
get_templates_for_taskCurated templates by task.
list_ai_toolsList 263 AI-optimized nodes.
list_node_templatesFind templates using specific nodes.
list_nodesList n8n nodes.
list_tasksList task templates by category: HTTP/API, Webhooks, Database, AI, Data Processing, Communication.
list_templatesList all templates with minimal data (id, name, description, views, node count).
n8n_autofix_workflowAutomatically fix common workflow validation errors.
n8n_create_workflowCreate workflow.
n8n_delete_executionDelete an execution record.
n8n_delete_workflowPermanently delete a workflow.
n8n_diagnosticDiagnose n8n API config.
n8n_get_executionGet execution details with smart filtering.
n8n_get_workflowGet a workflow by ID.
n8n_get_workflow_detailsGet workflow details with metadata, version, execution stats.
n8n_get_workflow_minimalGet minimal info: ID, name, active status, tags.
n8n_get_workflow_structureGet workflow structure: nodes and connections only.
n8n_health_checkCheck n8n instance health and API connectivity.
n8n_list_available_toolsList available n8n tools and capabilities.
n8n_list_executionsList workflow executions (returns up to limit).
n8n_list_workflowsList workflows (minimal metadata only).
n8n_trigger_webhook_workflowTrigger workflow via webhook.
n8n_update_full_workflowFull workflow update.
n8n_update_partial_workflowUpdate workflow incrementally with diff operations.
n8n_validate_workflowValidate workflow by ID.
n8n_workflow_versionsManage workflow version history, rollback, and cleanup.
search_node_propertiesFind specific properties in a node (auth, headers, body, etc).
search_nodesSearch n8n nodes by keyword with optional real-world examples.
search_templatesSearch templates by name/description keywords.
search_templates_by_metadataSearch templates by AI-generated metadata.
tools_documentationGet documentation for n8n MCP tools.
validate_node_minimalCheck n8n node required fields.
validate_node_operationValidate n8n node configuration.
validate_workflowFull workflow validation: structure, connections, expressions, AI tools.
validate_workflow_connectionsCheck workflow connections only: valid nodes, no cycles, proper triggers, AI tool links.
validate_workflow_expressionsValidate n8n expressions: syntax {{}}, variables ($json/$node), references.

Tools Details

Tool: get_database_statistics

Node stats: 525 total, 263 AI tools, 104 triggers, 87% docs coverage. Verifies MCP working.

Tool: get_node_as_tool_info

How to use ANY node as AI tool. Shows requirements, use cases, examples. Works for all nodes, not just AI-marked ones.

ParametersTypeDescription
nodeTypestringFull node type WITH prefix: "nodes-base.slack", "nodes-base.googleSheets", etc.

Tool: get_node_documentation

Get readable docs with examples/auth/patterns. Better than raw schema! 87% coverage. Format: "nodes-base.slack"

ParametersTypeDescription
nodeTypestringFull type with prefix: "nodes-base.slack"

Tool: get_node_essentials

Get node essential info with optional real-world examples from templates. Pass nodeType as string with prefix. Example: nodeType="nodes-base.slack". Use includeExamples=true to get top 3 template configs.

ParametersTypeDescription
nodeTypestringFull type: "nodes-base.httpRequest"
includeExamplesboolean optionalInclude top 3 real-world configuration examples from popular templates (default: false)

Tool: get_node_info

Get full node documentation. Pass nodeType as string with prefix. Example: nodeType="nodes-base.webhook"

ParametersTypeDescription
nodeTypestringFull type: "nodes-base.{name}" or "nodes-langchain.{name}". Examples: nodes-base.httpRequest, nodes-base.webhook, nodes-base.slack

Tool: get_property_dependencies

Shows property dependencies and visibility rules. Example: sendBody=true reveals body fields. Test visibility with optional config.

ParametersTypeDescription
nodeTypestringThe node type to analyze (e.g., "nodes-base.httpRequest")
configobject optionalOptional partial configuration to check visibility impact

Tool: get_template

Get template by ID. Use mode to control response size: nodes_only (minimal), structure (nodes+connections), full (complete workflow).

ParametersTypeDescription
templateIdnumberThe template ID to retrieve
modestring optionalResponse detail level. nodes_only: just node list, structure: nodes+connections, full: complete workflow JSON.

Tool: get_templates_for_task

Curated templates by task. Returns paginated results sorted by popularity.

ParametersTypeDescription
taskstringThe type of task to get templates for
limitnumber optionalMaximum number of results. Default 10.
offsetnumber optionalPagination offset. Default 0.

Tool: list_ai_tools

List 263 AI-optimized nodes. Note: ANY node can be AI tool! Connect any node to AI Agent's tool port. Community nodes need N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true.

Tool: list_node_templates

Find templates using specific nodes. Returns paginated results. Use FULL types: "n8n-nodes-base.httpRequest".

ParametersTypeDescription
nodeTypesarrayArray of node types to search for (e.g., ["n8n-nodes-base.httpRequest", "n8n-nodes-base.openAi"])
limitnumber optionalMaximum number of templates to return. Default 10.
offsetnumber optionalPagination offset. Default 0.

Tool: list_nodes

List n8n nodes. Common: list_nodes({limit:200}) for all, list_nodes({category:'trigger'}) for triggers. Package: "n8n-nodes-base" or "@n8n/n8n-nodes-langchain". Categories: trigger/transform/output/input.

ParametersTypeDescription
categorystring optionaltrigger
developmentStylestring optionalUsually "programmatic"
isAIToolboolean optionalFilter AI-capable nodes
limitnumber optionalMax results (default 50, use 200+ for all)
packagestring optional"n8n-nodes-base" (core) or "@n8n/n8n-nodes-langchain" (AI)

Tool: list_tasks

List task templates by category: HTTP/API, Webhooks, Database, AI, Data Processing, Communication.

ParametersTypeDescription
categorystring optionalFilter by category (optional)

Tool: list_templates

List all templates with minimal data (id, name, description, views, node count). Optionally include AI-generated metadata for smart filtering.

ParametersTypeDescription
includeMetadataboolean optionalInclude AI-generated metadata (categories, complexity, setup time, etc.). Default false.
limitnumber optionalNumber of results (1-100). Default 10.
offsetnumber optionalPagination offset. Default 0.
sortBystring optionalSort field. Default: views (popularity).

Tool: n8n_autofix_workflow

Automatically fix common workflow validation errors. Preview fixes or apply them. Fixes expression format, typeVersion, error output config, webhook paths.

ParametersTypeDescription
idstringWorkflow ID to fix
applyFixesboolean optionalApply fixes to workflow (default: false - preview mode)
confidenceThresholdstring optionalMinimum confidence level for fixes (default: medium)
fixTypesarray optionalTypes of fixes to apply (default: all)
maxFixesnumber optionalMaximum number of fixes to apply (default: 50)

Tool: n8n_create_workflow

Create workflow. Requires: name, nodes[], connections{}. Created inactive. Returns workflow with ID.

ParametersTypeDescription
connectionsobjectWorkflow connections object. Keys are source node IDs, values define output connections
namestringWorkflow name (required)
nodesarrayArray of workflow nodes. Each node must have: id, name, type, typeVersion, position, and parameters
settingsobject optionalOptional workflow settings (execution order, timezone, error handling)

Tool: n8n_delete_execution

Delete an execution record. This only removes the execution history, not any data processed.

ParametersTypeDescription
idstringExecution ID to delete

Tool: n8n_delete_workflow

Permanently delete a workflow. This action cannot be undone.

ParametersTypeDescription
idstringWorkflow ID to delete

Tool: n8n_diagnostic

Diagnose n8n API config. Shows tool status, API connectivity, env vars. Helps troubleshoot missing tools.

ParametersTypeDescription
verboseboolean optionalInclude detailed debug information (default: false)

Tool: n8n_get_execution

Get execution details with smart filtering. RECOMMENDED: Use mode='preview' first to assess data size. Examples:

  • {id, mode:'preview'} - Structure & counts (fast, no data)
  • {id, mode:'summary'} - 2 samples per node (default)
  • {id, mode:'filtered', itemsLimit:5} - 5 items per node
  • {id, nodeNames:['HTTP Request']} - Specific node only
  • {id, mode:'full'} - Complete data (use with caution) Parameters|Type|Description -|-|- id|string|Execution ID includeData|boolean optional|Legacy: Include execution data. Maps to mode=summary if true (deprecated, use mode instead) includeInputData|boolean optional|Include input data in addition to output (default: false) itemsLimit|number optional|Items per node: 0=structure only, 2=default, -1=unlimited (for filtered mode) mode|string optional|Data retrieval mode: preview=structure only, summary=2 items, filtered=custom, full=all data nodeNames|array optional|Filter to specific nodes by name (for filtered mode)

Tool: n8n_get_workflow

Get a workflow by ID. Returns the complete workflow including nodes, connections, and settings.

ParametersTypeDescription
idstringWorkflow ID

Tool: n8n_get_workflow_details

Get workflow details with metadata, version, execution stats. More info than get_workflow.

ParametersTypeDescription
idstringWorkflow ID

Tool: n8n_get_workflow_minimal

Get minimal info: ID, name, active status, tags. Fast for listings.

ParametersTypeDescription
idstringWorkflow ID

Tool: n8n_get_workflow_structure

Get workflow structure: nodes and connections only. No parameter details.

ParametersTypeDescription
idstringWorkflow ID

Tool: n8n_health_check

Check n8n instance health and API connectivity. Returns status and available features.

Tool: n8n_list_available_tools

List available n8n tools and capabilities.

Tool: n8n_list_executions

List workflow executions (returns up to limit). Check hasMore/nextCursor for pagination.

ParametersTypeDescription
cursorstring optionalPagination cursor from previous response
includeDataboolean optionalInclude execution data (default: false)
limitnumber optionalNumber of executions to return (1-100, default: 100)
projectIdstring optionalFilter by project ID (enterprise feature)
statusstring optionalFilter by execution status
workflowIdstring optionalFilter by workflow ID

Tool: n8n_list_workflows

List workflows (minimal metadata only). Returns id/name/active/dates/tags. Check hasMore/nextCursor for pagination.

ParametersTypeDescription
activeboolean optionalFilter by active status
cursorstring optionalPagination cursor from previous response
excludePinnedDataboolean optionalExclude pinned data from response (default: true)
limitnumber optionalNumber of workflows to return (1-100, default: 100)
projectIdstring optionalFilter by project ID (enterprise feature)
tagsarray optionalFilter by tags (exact match)

Tool: n8n_trigger_webhook_workflow

Trigger workflow via webhook. Must be ACTIVE with Webhook node. Method must match config.

ParametersTypeDescription
webhookUrlstringFull webhook URL from n8n workflow (e.g., https://n8n.example.com/webhook/abc-def-ghi)
dataobject optionalData to send with the webhook request
headersobject optionalAdditional HTTP headers
httpMethodstring optionalHTTP method (must match webhook configuration, often GET)
waitForResponseboolean optionalWait for workflow completion (default: true)

Tool: n8n_update_full_workflow

Full workflow update. Requires complete nodes[] and connections{}. For incremental use n8n_update_partial_workflow.

ParametersTypeDescription
idstringWorkflow ID to update
connectionsobject optionalComplete connections object (required if modifying workflow structure)
namestring optionalNew workflow name
nodesarray optionalComplete array of workflow nodes (required if modifying workflow structure)
settingsobject optionalWorkflow settings to update

Tool: n8n_update_partial_workflow

Update workflow incrementally with diff operations. Types: addNode, removeNode, updateNode, moveNode, enable/disableNode, addConnection, removeConnection, updateSettings, updateName, add/removeTag. See tools_documentation("n8n_update_partial_workflow", "full") for details.

ParametersTypeDescription
idstringWorkflow ID to update
operationsarrayArray of diff operations to apply. Each operation must have a "type" field and relevant properties for that operation type.
continueOnErrorboolean optionalIf true, apply valid operations even if some fail (best-effort mode). Returns applied and failed operation indices. Default: false (atomic)
validateOnlyboolean optionalIf true, only validate operations without applying them

Tool: n8n_validate_workflow

Validate workflow by ID. Checks nodes, connections, expressions. Returns errors/warnings/suggestions.

ParametersTypeDescription
idstringWorkflow ID to validate
optionsobject optionalValidation options

Tool: n8n_workflow_versions

Manage workflow version history, rollback, and cleanup. Six modes:

  • list: Show version history for a workflow
  • get: Get details of specific version
  • rollback: Restore workflow to previous version (creates backup first)
  • delete: Delete specific version or all versions for a workflow
  • prune: Manually trigger pruning to keep N most recent versions
  • truncate: Delete ALL versions for ALL workflows (requires confirmation) Parameters|Type|Description -|-|- mode|string|Operation mode confirmTruncate|boolean optional|REQUIRED: Must be true to truncate all versions (truncate mode only) deleteAll|boolean optional|Delete all versions for workflow (delete mode only) limit|number optional|Max versions to return in list mode maxVersions|number optional|Keep N most recent versions (prune mode only) validateBefore|boolean optional|Validate workflow structure before rollback versionId|number optional|Version ID (required for get mode and single version delete, optional for rollback) workflowId|string optional|Workflow ID (required for list, rollback, delete, prune)

Tool: search_node_properties

Find specific properties in a node (auth, headers, body, etc). Returns paths and descriptions.

ParametersTypeDescription
nodeTypestringFull type with prefix
querystringProperty to find: "auth", "header", "body", "json"
maxResultsnumber optionalMax results (default 20)

Tool: search_nodes

Search n8n nodes by keyword with optional real-world examples. Pass query as string. Example: query="webhook" or query="database". Returns max 20 results. Use includeExamples=true to get top 2 template configs per node.

ParametersTypeDescription
querystringSearch terms. Use quotes for exact phrase.
includeExamplesboolean optionalInclude top 2 real-world configuration examples from popular templates (default: false)
limitnumber optionalMax results (default 20)
modestring optionalOR=any word, AND=all words, FUZZY=typo-tolerant

Tool: search_templates

Search templates by name/description keywords. Returns paginated results. NOT for node types! For nodes use list_node_templates.

ParametersTypeDescription
querystringSearch keyword as string. Example: "chatbot"
fieldsarray optionalFields to include in response. Default: all fields. Example: ["id", "name"] for minimal response.
limitnumber optionalMaximum number of results. Default 20.
offsetnumber optionalPagination offset. Default 0.

Tool: search_templates_by_metadata

Search templates by AI-generated metadata. Filter by category, complexity, setup time, services, or audience. Returns rich metadata for smart template discovery.

ParametersTypeDescription
categorystring optionalFilter by category (e.g., "automation", "integration", "data processing")
complexitystring optionalFilter by complexity level
limitnumber optionalMaximum number of results. Default 20.
maxSetupMinutesnumber optionalMaximum setup time in minutes
minSetupMinutesnumber optionalMinimum setup time in minutes
offsetnumber optionalPagination offset. Default 0.
requiredServicestring optionalFilter by required service (e.g., "openai", "slack", "google")
targetAudiencestring optionalFilter by target audience (e.g., "developers", "marketers", "analysts")

Tool: tools_documentation

Get documentation for n8n MCP tools. Call without parameters for quick start guide. Use topic parameter to get documentation for specific tools. Use depth='full' for comprehensive documentation.

ParametersTypeDescription
depthstring optionalLevel of detail. "essentials" (default) for quick reference, "full" for comprehensive docs.
topicstring optionalTool name (e.g., "search_nodes") or "overview" for general guide. Leave empty for quick reference.

Tool: validate_node_minimal

Check n8n node required fields. Pass nodeType as string and config as empty object {}. Example: nodeType="nodes-base.webhook", config={}

ParametersTypeDescription
configobjectConfiguration object. Always pass {} for empty config
nodeTypestringNode type as string. Example: "nodes-base.slack"

Tool: validate_node_operation

Validate n8n node configuration. Pass nodeType as string and config as object. Example: nodeType="nodes-base.slack", config={resource:"channel",operation:"create"}

ParametersTypeDescription
configobjectConfiguration as object. For simple nodes use {}. For complex nodes include fields like {resource:"channel",operation:"create"}
nodeTypestringNode type as string. Example: "nodes-base.slack"
profilestring optionalProfile string: "minimal", "runtime", "ai-friendly", or "strict". Default is "ai-friendly"

Tool: validate_workflow

Full workflow validation: structure, connections, expressions, AI tools. Returns errors/warnings/fixes. Essential before deploy.

ParametersTypeDescription
workflowobjectThe complete workflow JSON to validate. Must include nodes array and connections object.
optionsobject optionalOptional validation settings

Tool: validate_workflow_connections

Check workflow connections only: valid nodes, no cycles, proper triggers, AI tool links. Fast structure validation.

ParametersTypeDescription
workflowobjectThe workflow JSON with nodes array and connections object.

Tool: validate_workflow_expressions

Validate n8n expressions: syntax {{}}, variables ($json/$node), references. Returns errors with locations.

ParametersTypeDescription
workflowobjectThe workflow JSON to check for expression errors.

Use this MCP Server

{
  "mcpServers": {
    "n8n": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "N8N_API_URL",
        "-e",
        "N8N_API_KEY",
        "mcp/n8n"
      ],
      "env": {
        "N8N_API_URL": "http://host.docker.internal:5678",
        "N8N_API_KEY": "n8n_api_****"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:061cdb8fb

Size

152 MB

Last updated

2 months ago

docker pull mcp/n8n

This week's pulls

Pulls:

3,737

Last week