Overview
The n8n-MCP server provides 20 specialized tools designed to help AI agents build, validate, and manage n8n workflows efficiently. These tools are optimized to reduce token usage while providing comprehensive functionality.Tool Categories
Discovery Tools
These tools help you find and explore n8n nodes.tools_documentation
Get documentation for MCP tools themselves.Call without parameters for a quick start guide, or use
depth="full" for comprehensive documentation.search_nodes
Search for n8n nodes by keyword with optional real-world examples.OR- Match any word (default, broadest results)AND- Match all words (narrower results)FUZZY- Typo-tolerant matching
Example Response
Example Response
Configuration Tools
These tools provide node schemas and configuration details.get_node
Get detailed node information with progressive detail levels.minimal- ~200 tokens (basic info only)standard- ~1-2K tokens (recommended, essential properties)full- ~3-8K tokens (everything, use sparingly)
Available Modes
Available Modes
- info (default) - Node schema with properties
- docs - Readable markdown documentation
- search_properties - Find specific properties by query
- versions - List available versions
- compare - Compare two versions
- breaking - Show breaking changes between versions
- migrations - Migration guide between versions
Token Optimization: Start with
detail="standard" which provides 10-20 essential properties instead of 200+. Use detail="full" only when you need advanced configuration options.Validation Tools
Ensure your configurations are correct before execution.validate_node
Validate a single node configuration with comprehensive error checking.full- Comprehensive validation with errors/warnings/suggestionsminimal- Quick check for required fields only
Profile Details
Profile Details
- minimal - Only critical errors (missing required fields)
- runtime - Errors that would cause runtime failures
- ai-friendly - Balanced validation with helpful suggestions (default)
- strict - Everything including best practices and security checks
validate_workflow
Validate an entire workflow including structure, connections, and expressions.Essential before deployment: Always validate workflows before deploying to catch connection errors, invalid expressions, and configuration issues.
Template Tools
Discover and use pre-built workflow templates.get_template
Get a specific template by ID.nodes_only- Just the node list (minimal)structure- Nodes + connectionsfull- Complete workflow JSON
search_templates
Search for workflow templates using multiple strategies.Keyword Search
Keyword Search
By Nodes Search
By Nodes Search
By Task Search
By Task Search
ai_automationdata_syncwebhook_processingemail_automationslack_integrationdata_transformationfile_processingschedulingapi_integrationdatabase_operations
By Metadata Search
By Metadata Search
Recommended Workflows
Building a New Workflow
-
Search for nodes:
-
Get node details:
-
Validate configuration:
-
Validate complete workflow:
Using Templates
-
Search for templates:
-
Get template details:
-
Modify and validate:
Performance Tips
Token Optimization Best Practices:
- Use
get_nodewithdetail="standard"(95% smaller than full) - Use
mode="search_properties"to find specific properties - Use
validate_nodewithmode="minimal"for quick checks - Use
includeExamples=trueonly when you need real-world examples - Use templates as starting points instead of building from scratch
Common Patterns
HTTP API Integration
Database Operations
Error Handling
Common Validation Errors:
missing_required- Add the required propertyinvalid_type- Check the expected type (string, number, boolean, object)invalid_value- Value not in allowed options or wrong formatinvalid_configuration- Complex type structure is incorrect (filter, resourceLocator, etc.)
Next Steps
Node Search
Learn about full-text search and filtering
Validation
Deep dive into multi-level validation
Templates
Discover pre-built workflow templates
Workflows
Understand workflow structure and validation