Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AUTH_TOKENYesToken de autenticación para HTTP
N8N_API_KEYYesAPI Key de n8n
N8N_API_URLYesURL de la instancia n8n (sin /api/v1)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
tools_documentationA

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.

search_nodesA

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.

get_nodeA

Get node info with progressive detail levels and multiple modes. Detail: minimal (~200 tokens), standard (~1-2K, default), full (~3-8K). Modes: info (default), docs (markdown documentation), search_properties (find properties), versions/compare/breaking/migrations (version info). Use format='docs' for readable documentation, mode='search_properties' with propertyQuery for finding specific fields.

validate_nodeA

Validate n8n node configuration. Use mode='full' for comprehensive validation with errors/warnings/suggestions, mode='minimal' for quick required fields check. Example: nodeType="nodes-base.slack", config={resource:"channel",operation:"create"}

get_templateA

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

search_templatesA

Search templates with multiple modes. Use searchMode='keyword' for text search, 'by_nodes' to find templates using specific nodes, 'by_task' for curated task-based templates, 'by_metadata' for filtering by complexity/setup time/services, 'patterns' for lightweight workflow pattern summaries mined from 2700+ templates.

validate_workflowA

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

n8n_create_workflowA

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

n8n_get_workflowA

Get workflow by ID with different detail levels. n8n has a draft/publish model: the workflow body holds the draft (latest edits); use mode='active' to see the published graph that is actually running. Modes: 'full' (draft + metadata), 'details' (full + execution stats), 'active' (published graph only), 'structure' (nodes/connections topology), 'filtered' (full config of only the nodes named in nodeNames - use to read one heavy node without the whole workflow), 'minimal' (id/name/active/tags).

n8n_update_full_workflowA

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

n8n_update_partial_workflowA

Update workflow incrementally with diff operations. Types: addNode, removeNode, updateNode, patchNodeField, moveNode, enable/disableNode, addConnection, removeConnection, updateSettings, updateName, add/removeTag, activate/deactivateWorkflow, transferWorkflow. patchNodeField requires fieldPath (dot path, e.g. "parameters.jsCode") and patches: [{find, replace}]. See tools_documentation("n8n_update_partial_workflow", "full") for details.

n8n_delete_workflowA

Permanently delete a workflow. This action cannot be undone.

n8n_list_workflowsA

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

n8n_validate_workflowA

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

n8n_autofix_workflowA

Automatically fix common workflow validation errors. Preview fixes or apply them. Fixes expression format, typeVersion, error output config, webhook paths, connection structure issues (numeric keys, invalid types, ID-to-name, duplicates, out-of-bounds indices).

n8n_test_workflowA

Test/trigger workflow execution. Auto-detects trigger type (webhook/form/chat). Supports: webhook (HTTP), form (fields), chat (message). Note: Only workflows with these trigger types can be executed externally.

n8n_executionsA

Manage workflow executions: get details, list, or delete. Use action='get' with id for execution details, action='list' for listing executions, action='delete' to remove execution record.

n8n_health_checkA

Check n8n instance health and API connectivity. Use mode='diagnostic' for detailed troubleshooting with env vars and tool status.

n8n_workflow_versionsA

Manage workflow version history, rollback, and cleanup. Versions are scoped to your n8n instance. Five 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 Old backups are also pruned automatically (10 most recent per workflow, plus an age-based retention window).

n8n_deploy_templateA

Deploy a workflow template from n8n.io directly to your n8n instance. Deploys first, then auto-fixes common issues (expression format, typeVersions). Returns workflow ID, required credentials, and fixes applied.

n8n_manage_datatableA

Manage n8n data tables and rows. Actions: createTable, listTables, getTable, updateTable, deleteTable, getRows, insertRows, updateRows, upsertRows, deleteRows.

n8n_manage_credentialsA

Manage n8n credentials. Actions: list, get, create, update, delete, getSchema. Use getSchema to discover required fields before creating. For list, page beyond 100 results with cursor (from the previous response's nextCursor). NOTE: list/get need an n8n deployment whose public API permits credential reads — older n8n versions, restricted API keys, or instance settings can reject them, returning NOT_SUPPORTED (create, delete, getSchema — and update where the API version supports it — still work). SECURITY: credential data values are never logged.

n8n_generate_workflowA

Generate an n8n workflow from a natural language description using AI. Call with just a description to get workflow proposals. Then call again with deploy_id to deploy a chosen proposal, or set skip_cache=true to generate a fresh workflow. Use confirm_deploy=true to deploy a previously generated workflow.

n8n_audit_instanceA

Security audit of n8n instance. Combines n8n's built-in audit API (credentials, database, nodes, instance, filesystem risks) with deep workflow scanning (hardcoded secrets via 50+ regex patterns, unauthenticated webhooks, error handling gaps, data retention risks). Returns actionable markdown report with remediation steps using n8n_manage_credentials and n8n_update_partial_workflow.

n8n_get_node_configA

Get a single node's full configuration from a workflow by node name. Returns parameters, type, position, and other metadata without downloading the entire workflow. Use this instead of n8n_get_workflow(mode="full") when you only need one node's config. Use mode='filtered' with nodeNames for fetching multiple specific nodes.

n8n_read_node_fieldA

Read the current value of a specific field from a workflow node without downloading the full workflow. Use this to inspect a field before editing it with n8n_update_partial_workflow (patchNodeField).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
N8n Code Javascript — BUILTIN FUNCTIONSBuilt-in Functions - JavaScript Code Node
N8n Code Javascript — COMMON PATTERNSCommon Patterns - JavaScript Code Node
N8n Code Javascript — DATA ACCESSData Access Patterns - JavaScript Code Node
N8n Code Javascript — ERROR PATTERNSError Patterns - JavaScript Code Node
N8n Code Javascript — READMEn8n Code JavaScript
n8n-code-javascriptWrite JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with $helpers, working with dates using DateTime, troubleshooting Code node errors, choosing between Code node modes, or doing any custom data transformation in n8n. Always use this skill when a workflow needs a Code node — whether for data aggregation, filtering, API calls, format conversion, batch processing logic, or any custom JavaScript. Covers SplitInBatches loop patterns, cross-iteration data, pairedItem, and real-world production patterns.
N8n Code Python — COMMON PATTERNSCommon Patterns - Python Code Node
N8n Code Python — DATA ACCESSData Access Patterns - Python Code Node
N8n Code Python — ERROR PATTERNSError Patterns - Python Code Node
N8n Code Python — READMEn8n Code Python Skill
n8n-code-pythonWrite Python code in n8n Code nodes. Use when writing Python in n8n, using _input/_json/_node syntax, working with standard library, or need to understand Python limitations in n8n Code nodes. Use this skill when the user specifically requests Python for an n8n Code node. Note — JavaScript is recommended for 95% of use cases — only use Python when the user explicitly prefers it or the task requires Python-specific standard library capabilities (regex, hashlib, statistics).
N8n Code Python — STANDARD LIBRARYStandard Library Reference - Python Code Node
N8n Expression Syntax — COMMON MISTAKESCommon n8n Expression Mistakes
N8n Expression Syntax — EXAMPLESn8n Expression Examples
N8n Expression Syntax — READMEn8n Expression Syntax
n8n-expression-syntaxValidate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {{}} syntax, accessing $json/$node variables, troubleshooting expression errors, mapping data between nodes, or referencing webhook data in workflows. Use this skill whenever configuring node fields that reference data from previous nodes — expressions are how n8n passes data between nodes, and getting the syntax wrong is the most common source of workflow errors.
N8n Mcp Tools Expert — READMEn8n MCP Tools Expert
N8n Mcp Tools Expert — SEARCH GUIDENode Discovery Tools Guide
n8n-mcp-tools-expertExpert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates, managing workflows, managing credentials, auditing instance security, or using any n8n-mcp tool. Provides tool selection guidance, parameter formats, and common patterns. IMPORTANT — Always consult this skill before calling any n8n-mcp tool — it prevents common mistakes like wrong nodeType formats, incorrect parameter structures, and inefficient tool usage. If the user mentions n8n, workflows, nodes, or automation and you have n8n MCP tools available, use this skill first.
N8n Mcp Tools Expert — VALIDATION GUIDEConfiguration Validation Tools Guide
N8n Mcp Tools Expert — WORKFLOW GUIDEWorkflow Management Tools Guide
N8n Node Configuration — DEPENDENCIESProperty Dependencies Guide
N8n Node Configuration — OPERATION PATTERNSOperation Patterns Guide
N8n Node Configuration — READMEn8n Node Configuration
n8n-node-configurationOperation-aware node configuration guidance. Use when configuring nodes, understanding property dependencies, determining required fields, choosing between get_node detail levels, or learning common configuration patterns by node type. Always use this skill when setting up node parameters — it explains which fields are required for each operation, how displayOptions control field visibility, and when to use patchNodeField for surgical edits vs full node updates.
N8n Validation Expert — ERROR CATALOGError Catalog
N8n Validation Expert — FALSE POSITIVESFalse Positives Guide
N8n Validation Expert — READMEn8n Validation Expert
n8n-validation-expertInterpret validation errors and guide fixing them. Use when encountering validation errors, validation warnings, false positives, operator structure issues, or need help understanding validation results. Also use when asking about validation profiles, error types, the validation loop process, or auto-fix capabilities. Consult this skill whenever a validate_node or validate_workflow call returns errors or warnings — it knows which warnings are false positives and which errors need real fixes.
N8n Workflow Patterns — READMEn8n Workflow Patterns
n8n-workflow-patternsProven workflow architectural patterns from real n8n workflows. Use when building new workflows, designing workflow structure, choosing workflow patterns, planning workflow architecture, or asking about webhook processing, HTTP API integration, database operations, AI agent workflows, batch processing, or scheduled tasks. Always consult this skill when the user asks to create, build, or design an n8n workflow, automate a process, or connect services — even if they don't explicitly mention 'patterns'. Covers webhook, API, database, AI, batch processing, and scheduled automation architectures.
N8n Workflow Patterns — Ai Agent WorkflowAI Agent Workflow Pattern
N8n Workflow Patterns — Database OperationsDatabase Operations Pattern
N8n Workflow Patterns — Http Api IntegrationHTTP API Integration Pattern
N8n Workflow Patterns — Scheduled TasksScheduled Tasks Pattern
N8n Workflow Patterns — Webhook ProcessingWebhook Processing Pattern

Latest Blog Posts

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/luislopezsanchez/n8n-mcp-server'

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