LogoSTMCP
Download
n8n MCP Server

n8n MCP Server

n8n-mcp-server is a community-driven, open-source Multi-Command Platform (MCP) server designed to facilitate seamless interaction with the n8n workflow automation API. It enables developers and AI assistants (such as VS Code extensions or desktop apps) to manage, execute, and automate n8n workflows through a unified interface.

Tools

1. workflow_list

List all workflows available in the n8n instance.

2. workflow_get

Get detailed information of a specific workflow by its ID.

3. workflow_create

Create a new workflow in the n8n instance.

4. workflow_update

Update an existing workflow with new configuration or nodes.

5. workflow_delete

Delete a workflow from the n8n instance.

6. workflow_activate

Activate a workflow to make it ready for execution.

7. workflow_deactivate

Deactivate a workflow to stop it from running.

8. execution_run

Execute a workflow via the n8n API.

9. run_webhook

Execute a workflow via a webhook endpoint with optional data payload.

10. execution_get

Get details of a specific workflow execution by its ID.

11. execution_list

List all executions for a specific workflow.

12. execution_stop

Stop a currently running workflow execution.

JSON Config

{
  "mcpServers": {
    // Give your server a unique name
    "n8n-local": {
      // Use 'node' to execute the built JavaScript file
      "command": "node",
      // Provide the *absolute path* to the built index.js file
      "args": [
        "/path/to/your/cloned/n8n-mcp-server/build/index.js"
        // On Windows, use double backslashes:
        // "C:\\path\\to\\your\\cloned\\n8n-mcp-server\\build\\index.js"
      ],
      // Environment variables needed by the server
      "env": {
        "N8N_API_URL": "http://your-n8n-instance:5678/api/v1", // Replace with your n8n URL
        "N8N_API_KEY": "YOUR_N8N_API_KEY", // Replace with your key
        // Add webhook credentials only if you plan to use webhook tools
        // "N8N_WEBHOOK_USERNAME": "your_webhook_user",
        // "N8N_WEBHOOK_PASSWORD": "your_webhook_password"
      },
      // Ensure the server is enabled
      "disabled": false,
      // Default autoApprove settings
      "autoApprove": []
    }
    // ... other servers might be configured here
  }
}

Useful Links

Information