Atlas / MCP servers / ifmelate / N8n Workflow Builder

N8n Workflow BuilderSAFE

mcp/ifmelate/n8n-workflow-builder-3

MCP server that allow LLM in agent mode builds n8n workflows for you

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
25 10r · 11w · 4d
Transport
stdio
License
MIT
Stars
52
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

A Model Context Protocol (MCP) server for building and manipulating n8n workflows. Build n8n workflows just by prompting with AI — works with Claude Code, VS Code, Cursor, and any MCP-compatible client.

DEMO VIDEO:

[](https://youtu.be/MKEVLM5QmPA?si=8SJQAcYGeAIuhaBm)

Cursor rules

  • File with rules is in rules/n8n-mcp-server-rules.mdc

Key Features

  • Workflow Management: Create, update, and execute n8n workflows programmatically (execute is not implemented yet)
  • Node Discovery: Explore available n8n nodes and their capabilities
  • Connection Management: Create connections between workflow nodes
  • AI Integration: Special tools for connecting AI components in workflows
  • AI-Friendly Interface: Designed specifically for interaction with AI agents
  • N8N Version Management: Automatic version detection and compatibility handling - supports 184+ n8n versions (1.86.0 – 2.6.2) with dynamic node filtering and "closest lower version" matching for backward compatibility

Prerequisites

  • Node.js (v18 or higher)
  • npm (for npx command)
  • An MCP-compatible client (Claude Code, VS Code, Cursor, etc.)

Installation & Setup

Getting your n8n API Key

  1. Open your n8n instance in a browser
  2. Go to Settings > API Keys
  3. Click Create API Key
  4. Copy the generated key and use it in your configuration

Claude Code (Recommended)

Add the MCP server using the Claude Code CLI:

claude mcp add n8n-workflow-builder -- npx -y n8n-workflow-builder-mcp

Then set the environment variables:

claude mcp add n8n-workflow-builder \
-e N8N_API_URL=http://localhost:5
Read from source at commit cf4f0e699715OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add n8n-workflow-builder-mcp --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} --env API_KEYS=${API_KEYS} --env CREDENTIALS_DIR=${CREDENTIALS_DIR} --env ENCRYPTION_KEY=${ENCRYPTION_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "n8n-workflow-builder-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}",
        "API_KEYS": "${API_KEYS}",
        "CREDENTIALS_DIR": "${CREDENTIALS_DIR}",
        "ENCRYPTION_KEY": "${ENCRYPTION_KEY}"
      }
    }
  }
}
03

Exposed tools (25)

10 read · 11 write · 4 destructive. Blast radius: 4 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
add_ai_connectionswriteWire AI model, tools, and memory to an agent
add_connectionwriteCreate a connection between two nodes
add_nodewriteAdd a node to an n8n workflow
apply_workflow_planwriteApply a previously reviewed plan to the workflow on disk (atomic write).
compose_ai_workflowreadCompose a complex AI workflow (agent + model + memory + embeddings + vector + tools + trigger) in one call, including wiring and basic validation.
connection_managedestructiveManage connections between nodes (create, remove, remove all)
create_workflowwriteCreate a new n8n workflow
credential_managedestructiveManage credentials (store, get, update, delete, list, rotate key)
delete_nodedestructiveDelete a node from a workflow
edit_nodewriteEdit an existing node in a workflow
fix_node_paramsreadReturn parameters with defaults applied for required fields that are missing.
get_n8n_version_inforeadGet N8N version info and capabilities
get_workflow_detailsreadGet workflow details by name or path
list_available_nodesreadList available node types. Supports tag-style synonym search and multi-token queries. By default, multiple terms use OR logic (e.g.,
list_missing_parametersreadList required parameters missing for a node considering visibility rules.
list_workflowsreadList workflows in the workspace
n8n_managewriteManage workflows in n8n (deploy, activate, get, check execution, list)
node_managewriteManage nodes in workflows (search, add, replace)
plan_workflowwriteCreate a non-destructive plan (nodes and connections) to update a workflow. Does not write files.
review_workflow_planwriteApply a plan in-memory and return validation errors, warnings, and suggested fixes. Does not write files.
suggest_node_paramsreadSuggest minimal valid parameters for a node type using defaults and required fields.
validate_workflowreadValidate a workflow file against known node schemas
workflow_createwriteCreate a new workflow
workflow_managedestructiveManage workflows (create, save, load, list, delete, generate)
workflow_testreadTest workflows and check test status
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (7 observation(s))
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (14)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
connection_manage, credential_manage, delete_node, workflow_manage
Why it matters. 4 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.hidden_file · CWE-1104
.cursorignore
.cursorignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/unit/mcp-logger.test.js:170
attemptedPath: '/etc/passwd',
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/unit/mcp-logger.test.js:183
attemptedPath: '/etc/passwd',
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/unit/mcp-logger.test.js:201
attemptedPath: '/etc/passwd',
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/unit/path-security.test.js:191
resolveWorkflowPath('test', '/etc/passwd');
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/unit/path-security.test.js:195
resolveWorkflowPath('test', '/root/secret');
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/mcp/tools/addAiConnections.ts:4
import { N8nWorkflow, N8nWorkflowNode } from '../../types/n8n';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/mcp/tools/addAiConnections.ts:5
import { resolveWorkflowPath, tryDetectWorkspaceForName } from '../../utils/workspace';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/mcp/tools/addAiConnections.ts:6
import { ToolNames, ErrorCodes } from '../../utils/constants';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/mcp/tools/addAiConnections.ts:7
import { loadNodeTypesForCurrentVersion } from '../../validation/nodeTypesLoader';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/mcp/tools/addAiConnections.ts:8
import { getCurrentN8nVersion } from '../../nodes/versioning';
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, @types/uuid, abort-controller, ajv, ajv-formats, better-sqlite3, cors, dotenv
Why it matters. 29 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
catalog.sqlite
catalog.sqlite
Why it matters. 27353088 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha cf4f0e699715full audit observations/trust-audit/mcp-server/ifmelate__n8n-workflow-builder-3.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08cf4f0e699715SAFEB89first audit
06

Questions

What is the N8n Workflow Builder MCP server?

MCP server that allow LLM in agent mode builds n8n workflows for you

What tools does N8n Workflow Builder expose?

25 in total: 10 read-only, 11 that write, and 4 that can delete or overwrite (connection_manage, credential_manage, delete_node, workflow_manage). Every one is listed on this page with its risk.

Is N8n Workflow Builder safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 4 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does N8n Workflow Builder need?

It reads ANTHROPIC_API_KEY, API_KEYS, CREDENTIALS_DIR, ENCRYPTION_KEY, JWT_SECRET, KEY_ROTATION_INTERVAL, LLM_MAX_TOKENS, MCP_API_KEY, N8N_API_KEY, OPENAI_API_KEY and SKIP_AUTH from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does N8n Workflow Builder run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as n8n-workflow-builder-mcp at 2.0.0.

How current is this page?

The grade is for one exact copy of the source (cf4f0e699715), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement