Skip to main content
Synta MCP provides 22 specialized tools to help your AI agent understand, search, validate, and build N8N workflows with full support for both core and community nodes. These tools include self-healing capabilities that automatically test, detect errors, and fix issues.

Getting Started with Agent Tools

Phase 1: Discovery & Assessment
1

Discover Templates & Best Practices

For AI workflows, get patterns first. For standard workflows, search templates directly.
// AI Workflows: Get patterns FIRST
get_ai_workflow_patterns({mode: "list"})

// Standard Workflows: Search templates
search_templates({searchMode: "keyword", query: "slack notification"})
get_best_practices({mode: "list"})
2

Find Nodes

Search for specific nodes you need in your workflow.
search_nodes({query: "webhook", source: "all"})
search_nodes({query: "slack", source: "core"})
Phase 2: Planning
1

Reference Patterns & Templates

Get detailed examples and best practices for your workflow type.
// Get template details
get_template({templateId: 123, mode: "full", includeMermaid: true})

// Get best practices for techniques
get_best_practices({mode: "detail", techniques: ["chatbot", "notification"]})

// Get node configuration examples
get_node({nodeType: "n8n-nodes-base.slack", includeConfigExamples: "json"})
Phase 3: Implementation
1

Create Workflow

Deploy your workflow directly to n8n.
n8n_create_workflow({
  name: "My Workflow",
  nodes: [...],
  connections: {...}
})
Phase 4: Validation & Testing
1

Validate & Add Credentials

Check workflow structure and configure credentials.
n8n_validate_workflow({id: "wf-id"})
n8n_manage_credentials({mode: "check_workflow", workflowId: "wf-id"})
2

Test & Self-Heal

Execute and automatically fix runtime errors.
n8n_trigger_execution({id: "wf-id"})
// Analyzes errors, modifies config, re-executes until successful
Self-Healing: Synta MCP automatically tests workflows, detects runtime errors, and modifies configurations until successful execution. Requires N8N login credentials. See Installation for setup.

Tool Categories

Node Discovery (2)

search_nodes - Full-text search across nodesget_node - Complete node information with multiple modes

Templates (3)

search_templates - Search 10,000+ templatesget_template - Get workflow JSON by IDn8n_deploy_template - Deploy from n8n.io

AI Workflow Guides (2)

get_ai_workflow_patterns - AI architectural patternsget_best_practices - Technique guidance

Workflow Management (7)

n8n_create_workflow - Create workflowsn8n_update_partial_workflow - Diff-based updates with typeVersion supportn8n_list_workflows - List all workflows…and 4 more workflow tools

Execution & Testing (5)

n8n_trigger_execution - Self-healing testingn8n_test_workflow - External testingn8n_manage_executions - Execution managementn8n_manage_pindata - Mock data for testing

Workflow Analysis (2)

n8n_search_workflow - AST-based searchn8n_autofix_workflow - Auto-fix errors

Credentials (1)

n8n_manage_credentials - Manage credentials

Complete Tool Reference

search_nodes
tool
Full-text search across all N8N nodes by name, description, or category.
get_node
tool
Get node information with progressive detail levels and multiple modes.
search_templates
tool
Search through 10,000+ workflow templates with multiple search modes.
get_template
tool
Get complete workflow JSON for a specific template by ID.
n8n_deploy_template
tool
Deploy a workflow template from n8n.io directly to your n8n instance with auto-fix.
get_ai_workflow_patterns
tool
Get architectural patterns for workflows containing AI elements. Mandatory for workflows with AI components (agents, RAG, LLMs, vector stores, AI APIs). These patterns are authoritative blueprints that must be followed strictly.
get_best_practices
tool
Get best practices and implementation guidance for workflow techniques. Use alongside templates for complete workflow planning.
n8n_create_workflow
tool
Create a new workflow in your N8N instance using adaptive validation and automatic sanitization. Workflows are created inactive by default.
n8n_get_workflow
tool
Retrieve a workflow by ID with different detail levels.
n8n_list_workflows
tool
List workflows with filtering and pagination. Returns minimal metadata (id/name/active/dates/tags). Check hasMore/nextCursor for pagination.
n8n_update_partial_workflow
tool
Update workflows incrementally with diff operations. Supports 17 operation types: addNode, removeNode, updateNode, moveNode, enable/disableNode, addConnection, removeConnection, rewireConnection, cleanStaleConnections, replaceConnections, updateSettings, updateName, add/removeTag, publishWorkflow, deactivateWorkflow. TypeVersion changes via updateNode are automatically validated with guidance. Supports smart parameters (branch=‘true’/‘false’ for IF nodes, case=N for Switch nodes) and AI connections.
n8n_update_full_workflow
tool
Replace an entire workflow with new configuration. For incremental updates, use n8n_update_partial_workflow instead.
n8n_delete_workflow
tool
Permanently delete a workflow. This action cannot be undone.
n8n_validate_workflow
tool
Validate workflow configuration, connections, and expressions. When execution data exists, also performs runtime expression checks and reports actionable fixes.
n8n_search_workflow
tool
Search within a workflow to find nodes, connections, flow patterns, or text. Use regex matching by default for flexible substring search, exact for strict equality, or fuzzy for typo tolerance. Returns matching nodes with configurable detail levels.
n8n_autofix_workflow
tool
Automatically fix common workflow validation errors. Preview fixes before applying. Handles expression format, typeVersion corrections, error output config, node types, webhook paths, version migrations, and parameter locations.
n8n_trigger_execution
tool
Self-Healing
The most powerful tool in Synta MCP. Triggers workflows and enables true AI self-healing by automatically testing, detecting errors, analyzing root causes, and modifying configurations to fix issues. Works with n8n_manage_pindata for comprehensive testing.
n8n_test_workflow
tool
External workflow testing without login credentials. Test workflows with webhook, form, or chat triggers. Workflow must be active.
n8n_manage_executions
tool
Comprehensive execution management with advanced correlation to trace execution chains. Use action: "get" with workflowId (no id) to fetch the latest execution for a workflow.
n8n_manage_pindata
tool
Save and reuse mock data for testing workflows. Instead of calling real APIs or waiting for webhooks, save sample output from any node and reuse it in future test runs. Especially useful for triggers (webhooks, forms) but works with any node for consistent testing without external dependencies.Authentication: analyzePinDataRequirement works with API key/OAuth only. CRUD operations (add/update/remove/clear/read) require login credentials.
n8n_inspect_node_io
tool
Inspect post-execution node input/output data. Use after any execution to debug expression errors, verify data shapes, or understand branch routing (IF/Switch outputs). Defaults to schema-style output (field/type shape) to keep context small.
n8n_manage_credentials
tool
Manage n8n credentials with five modes: get_credential_docs, create, delete, get_schema, check_workflow.

Next Steps

Best Practices

Learn tips and tricks for building better workflows with AI

Configure Agent Rules

Set up client-specific rules for optimal workflow building
Production Safety: Always test workflows in a development environment before deploying to production. Never edit production workflows directly without backups.