mcp-n8n-builder

by spences10
Verified

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
N8N_HOSTYesURL of the n8n APIhttp://localhost:5678/api/v1
CACHE_TTLNoCache TTL in seconds300
LOG_LEVELNoLogging levelinfo
N8N_API_KEYYesAPI key for n8n authentication
SERVER_NAMENoName of the MCP servern8n-workflow-builder
CACHE_ENABLEDNoEnable cachingfalse
SERVER_VERSIONNoVersion of the MCP serverPackage version
OUTPUT_VERBOSITYNoOutput verbosity level (concise or full)concise

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
n8n WorkflowsList of all workflows in n8n

Tools

Functions exposed to the LLM to take actions

NameDescription
list_available_nodes

Lists all available nodes in the n8n instance. Use this tool BEFORE creating or updating workflows to ensure you only use valid node types. This helps prevent errors caused by using node types that do not exist in the current n8n instance.

list_workflows

Lists all workflows from n8n with their basic information including ID, name, status, creation date, and tags. Use this tool to get an overview of available workflows before performing operations on specific workflows. Results can be filtered by active status, tags, or name.

create_workflow

Creates a new workflow in n8n with specified nodes and connections. Note that only workflows with automatic trigger nodes (schedule, webhook, etc.) can be activated - workflows with only manual triggers cannot be activated. Returns the created workflow with its assigned ID.

get_workflow

Retrieves complete details of a specific workflow by its ID, including all nodes, connections, settings, and metadata. Use this tool when you need to examine a workflow's structure before updating it or to understand how it works.

update_workflow

Updates an existing workflow with new configuration. Typically used after retrieving a workflow with get_workflow, modifying its structure, and then saving the changes. The entire workflow structure must be provided, not just the parts being changed.

delete_workflow

Permanently deletes a workflow by its ID. This action cannot be undone, so use with caution. Consider deactivating workflows instead if you might need them again later.

activate_workflow

Activates a workflow by its ID, enabling it to run automatically based on its trigger (schedule, webhook, etc.). Note that only workflows with automatic trigger nodes can be activated - workflows with only manual triggers cannot be activated.

deactivate_workflow

Deactivates a workflow by its ID, preventing it from running automatically. The workflow will still exist and can be manually executed or reactivated later. Use this instead of deleting workflows that you might need again.

list_executions

Lists workflow execution history with details on success/failure status, duration, and timestamps. Use this tool to monitor workflow performance, troubleshoot issues, or verify that workflows are running as expected. Results can be filtered by workflow ID, status, and limited to a specific number.

get_execution

Retrieves detailed information about a specific workflow execution, including execution time, status, and optionally the full data processed at each step. Particularly useful for debugging failed workflows or understanding data transformations between nodes.

ID: hk5pjh6zd6