
n8n Manager
STDIOMCP server enabling AI agents to manage n8n workflow automation through API
MCP server enabling AI agents to manage n8n workflow automation through API
[!IMPORTANT] This repository is no longer being actively developed. The n8n instance management tools have been integrated into the more comprehensive n8n-mcp project, which provides a complete solution for n8n automation with AI agents.
Please use n8n-mcp for the latest features and updates.
A Model Context Protocol (MCP) server that enables Claude Desktop and other AI agents to manage n8n workflow automation instances through the n8n API.
This MCP server provides AI agents with tools to manage n8n workflows programmatically. It implements the core n8n API operations with intelligent workarounds for API limitations.
active
field is read-only - workflows must be activated manually in the UIn8n_create_workflow
- Create new workflows with nodes and connectionsn8n_get_workflow
- Retrieve workflow details by IDn8n_update_workflow
- Update existing workflows (requires full node list)n8n_delete_workflow
- Delete workflows permanentlyn8n_list_workflows
- List workflows with filtering and paginationn8n_trigger_webhook_workflow
- Trigger workflows via webhook URLn8n_get_execution
- Get detailed execution informationn8n_list_executions
- List executions with status filteringn8n_delete_execution
- Delete execution recordsn8n_health_check
- Check API connectivity and configurationClone the repository
git clone https://github.com/czlonkowski/n8n-manager-for-ai-agents cd n8n-manager-for-ai-agents
Install dependencies
npm install
Configure environment
cp .env.example .env # Edit .env with your n8n instance details
Build the project
npm run build
Configure Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json
on macOS):
{ "mcpServers": { "n8n-manager": { "command": "node", "args": ["/absolute/path/to/n8n-manager-for-ai-agents/build/index.js"], "env": { "N8N_API_URL": "https://your-n8n-instance.com", "N8N_API_KEY": "your-api-key", "LOG_LEVEL": "info", "NODE_ENV": "production", "MCP_MODE": "stdio" } } } }
Restart Claude Desktop and verify the n8n-manager appears in the MCP tools list
Logs are written to ~/.n8n-manager/logs/n8n-manager.log
to avoid interfering with MCP protocol communication.
"Create a workflow named 'Test API' with a manual trigger"
"Show me all active workflows"
"List workflows with tag 'production'"
"Show recent executions for workflow ID abc123"
"Get details of execution xyz789"
"Trigger the webhook at https://n8n.example.com/webhook/abc-def-ghi"
# Run tests npm test # Run in development mode npm run dev # Type checking npm run typecheck # Linting npm run lint # Build for production npm run build
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
Copyright (c) 2024 Romuald Czlonkowski @ aiadvisors.pl
Romuald Czlonkowski
aiadvisors.pl
Phase 1 Complete: Core workflow and execution management tools are fully functional. See CLAUDE.md for detailed usage guidance and common error solutions.