n8n-mcp
Verified Safeby Spartantechcompany
Overview
Provides an AI-friendly interface (via Model Context Protocol) for N8n workflow documentation, node configuration, validation, and management. Enables AI agents to discover, build, and maintain automation workflows.
Installation
npm startEnvironment Variables
- MCP_MODE
- USE_FIXED_HTTP
- AUTH_TOKEN
- PORT
- LOG_LEVEL
- CORS_ORIGIN
- SSE_ENABLED
- N8N_API_URL
- N8N_API_KEY
- BUILD_DB_PATH
- N8N_MODULES_PATH
- N8N_CUSTOM_PATH
Security Notes
The server correctly enforces an `AUTH_TOKEN` for HTTP/SSE modes, which must be securely generated and configured as an environment variable. `CORS_ORIGIN` is configurable. The codebase uses `axios` for external API calls to n8n.io and a configured n8n instance, which should be secured. A debug script (`src/scripts/debug-n8n-auth.ts`) contains a hardcoded `N8N_API_KEY` example, which is a minor risk if accidentally used in production. The internal `WorkflowValidator` and `NodeSpecificValidators` include warnings for potential SQL injection vulnerabilities in user-provided queries, indicating a proactive approach to security within the code's own validation logic. File system access is for local data (database, node sources) and build processes.
Similar Servers
n8n
AI-powered workflow automation platform, enabling users to build and run workflows using various integrations, with a focus on AI models and tools for task execution and conversational agents.
mcp-n8n-builder
Programmatic creation and management of n8n workflows by AI assistants via the Model Context Protocol (MCP).
n8n-operator
Automates the deployment and management of n8n workflow automation instances on Kubernetes clusters.
n8n-workflows
A fast, modern documentation system for N8N workflows, providing search, categorization, visualization, and a RESTful API for workflow management and analysis.