n8n-free-mcp
Manages n8n workflows, executions, and tags via the n8n API, allowing listing, creating, updating, activating/deactivating workflows, and debugging executions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@n8n-free-mcplist my n8n workflows"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 (id, name, active, tags, node count) with filters + pagination |
| Full workflow JSON: nodes, connections, settings |
| Create a new workflow from n8n-format JSON |
| Replace a workflow (read-only fields stripped automatically) |
| Toggle a workflow's triggers |
| Delete a workflow (irreversible â ïļ) |
| List executions, filter by status ( |
| Execution detail â with |
| Delete an execution record |
| List instance tags |
| Verify the instance is reachable and the API key works |
Related MCP server: mcp-n8n-builder
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 build3. 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.jsClaude 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_workflowperforms a full replace (PUT), as required by the n8n API â fetch withget_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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jserna0001/n8n-free-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server