n8n-free-mcp

n8n-free-mcp

Free and open-source MCP server for managing n8n workflows, executions, and tags via n8n's API. Enables workflow creation, activation, debugging, and deletion from any MCP client.

Category
Visit Server

README

n8n-free-mcp

Free & open-source MCP server for n8n. Manage your workflows, debug executions and control your self-hosted n8n instance directly from Claude Code, Claude Desktop, Cursor, or any Model Context Protocol client.

  • 🆓 100% free, MIT licensed — no paywalls, no telemetry
  • 🏠 Built for self-hosted / homelab n8n instances (works with n8n Cloud too)
  • 🔑 Uses n8n's official public API (/api/v1) with your own API key
  • ðŸŠķ Tiny: one file, two dependencies (@modelcontextprotocol/sdk + zod)
  • 🧠 Context-friendly: list tools return compact summaries instead of dumping full workflow JSON

Tools

Tool Description
list_workflows List workflows (id, name, active, tags, node count) with filters + pagination
get_workflow Full workflow JSON: nodes, connections, settings
create_workflow Create a new workflow from n8n-format JSON
update_workflow Replace a workflow (read-only fields stripped automatically)
activate_workflow / deactivate_workflow Toggle a workflow's triggers
delete_workflow Delete a workflow (irreversible ⚠ïļ)
list_executions List executions, filter by status (error/success/waiting) or workflow
get_execution Execution detail — with includeData=true returns per-node I/O for debugging
delete_execution Delete an execution record
list_tags List instance tags
check_connection Verify the instance is reachable and the API key works

Setup

1. Get an n8n API key

In your n8n instance: Settings → n8n API → Create an API key.

2. Install

git clone https://github.com/jserna0001/n8n-free-mcp.git
cd n8n-free-mcp
npm install
npm run build

3. Configure your MCP client

Claude Code:

claude mcp add --scope user n8n \
  --env N8N_API_URL=https://your-n8n-instance.com \
  --env N8N_API_KEY=your-api-key \
  -- node /path/to/n8n-free-mcp/dist/index.js

Claude Desktop / Cursor / other clients (claude_desktop_config.json, mcp.json, etc.):

{
  "mcpServers": {
    "n8n": {
      "command": "node",
      "args": ["/path/to/n8n-free-mcp/dist/index.js"],
      "env": {
        "N8N_API_URL": "https://your-n8n-instance.com",
        "N8N_API_KEY": "your-api-key"
      }
    }
  }
}

Alternative: .env file. Instead of passing env vars from the client, copy .env.example to .env in the project root and fill it in. Environment variables from the client take precedence.

4. Try it

Ask your assistant things like:

  • "List my n8n workflows"
  • "Show me the failed executions of the last runs and diagnose the error"
  • "Deactivate the workflow called X"
  • "Duplicate this workflow but change the webhook path"

Notes

  • The n8n public API does not expose credential values (by design). Credential management tools are intentionally out of scope.
  • update_workflow performs a full replace (PUT), as required by the n8n API — fetch with get_workflow, modify, then update.
  • n8n API keys are JWTs with an expiration date. If you start getting 401s, generate a new key.

Contributing

Issues and PRs welcome. Ideas on the roadmap:

  • [ ] Trigger workflows via webhook test URLs
  • [ ] Variables & projects endpoints
  • [ ] npm package (npx n8n-free-mcp)
  • [ ] Docker image

License

MIT ÂĐ Justine Serna

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured