Skip to main content
Glama

n8n-MCP

by czlonkowski
MIT License
11,094
4,666
  • Apple
  • Linux

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_MODENoThe mode for the MCP server to run instdio
LOG_LEVELNoThe log level for the servererror
N8N_API_KEYNoAPI key for your n8n instance (required for n8n management tools)
N8N_API_URLNoURL of your n8n instance (required for n8n management tools)
DISABLE_CONSOLE_OUTPUTNoWhether to disable console outputtrue

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
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.

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.

get_node_info

Get FULL node schema (100KB+). TIP: Use get_node_essentials first! Returns all properties/operations/credentials. Prefix required: "nodes-base.httpRequest" not "httpRequest".

search_nodes

Search nodes by keywords. Modes: OR (any word), AND (all words), FUZZY (typos OK). Primary nodes ranked first. Examples: "webhook"→Webhook, "http call"→HTTP Request.

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.

get_node_documentation

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

get_database_statistics

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

get_node_essentials

Get 10-20 key properties only (<5KB vs 100KB+). USE THIS FIRST! Includes examples. Format: "nodes-base.httpRequest"

search_node_properties

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

get_node_for_task

Get pre-configured node for tasks: post_json_request, receive_webhook, query_database, send_slack_message, etc. Use list_tasks for all.

list_tasks

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

validate_node_operation

Validate node config. Checks required fields, types, operation rules. Returns errors with fixes. Essential for Slack/Sheets/DB nodes.

validate_node_minimal

Fast check for missing required fields only. No warnings/suggestions. Returns: list of missing fields.

get_property_dependencies

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

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.

list_node_templates

Find templates using specific nodes. 399 community workflows. Use FULL types: "n8n-nodes-base.httpRequest".

get_template

Get complete workflow JSON by ID. Ready to import. IDs from list_node_templates or search_templates.

search_templates

Search templates by name/description keywords. NOT for node types! For nodes use list_node_templates. Example: "chatbot".

get_templates_for_task

Curated templates by task: ai_automation, data_sync, webhooks, email, slack, data_transform, files, scheduling, api, database.

validate_workflow

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

validate_workflow_connections

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

validate_workflow_expressions

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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/czlonkowski/n8n-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server