New: Credits are here. One balance for web and MCP. See pricing

    Guides
    n8n
    mcp
    workflow

    n8n MCP Server: Automate Workflows with Your AI Agent (2026)

    Set up the n8n MCP server to let your AI agent create, modify, and trigger workflow automations through the Model Contex

    June 14, 20264 min read
    Share:

    The n8n MCP server connects your AI coding agent to n8n, the open-source workflow automation platform. Your agent can create, modify, and trigger n8n workflows through the Model Context Protocol. This turns your coding agent into a workflow automation assistant.

    Quick Answer: The n8n MCP server enables AI coding agents to create, modify, and trigger n8n workflows through the Model Context Protocol, turning the agent into a workflow automation assistant. It allows agents to build automations from natural language descriptions, facilitate integration development, and automate DevOps tasks.

    What You Can Do

    With the n8n MCP server connected, your AI agent can:

    • Create workflows: Describe an automation in natural language, and the agent builds the n8n workflow
    • Read existing workflows: Analyze and understand your current automations
    • Modify workflows: Add nodes, change triggers, update connections
    • Trigger executions: Run workflows on demand
    • Debug failures: Read execution logs and identify issues

    Recommended skills

    Installation

    npm install -g @n8n/mcp-server
    

    Configure in Claude Code:

    {
      "mcpServers": {
        "n8n": {
          "command": "npx",
          "args": ["@n8n/mcp-server"],
          "env": {
            "N8N_API_URL": "https://your-n8n-instance.com/api/v1",
            "N8N_API_KEY": "your-api-key"
          }
        }
      }
    }
    

    Use Cases

    Building Automations from Descriptions

    "Create an n8n workflow that monitors a GitHub repo for new issues labeled 'bug', sends a Slack notification to #engineering, and creates a Jira ticket."

    The agent creates the full workflow with the correct nodes, connections, and configuration.

    Integration Development

    When building applications that need to connect to external services, the n8n MCP server lets your agent set up the integration layer. Your agent can create webhooks, configure API connections, and build data transformation workflows.

    DevOps Automation

    "Create a workflow that runs every morning at 9 AM, checks our Supabase database for failed jobs, and sends a summary email."

    The agent builds deployment pipelines, monitoring automations, and alerting workflows directly in n8n.

    Pairing with Skills

    A DevOps skill or automation skill from Agensi combined with the n8n MCP server creates a powerful automation development workflow. The skill defines best practices for workflow design. The MCP server provides the execution environment.

    Browse automation and DevOps skills on Agensi.

    Frequently Asked Questions