n8n-mcp-server
2
The n8n-mcp-server is a Model-Controller-Provider server for automating workflows in n8n. It features a JSON-RPC 2.0 compliant API for workflow management and supports Docker along with TypeScript for comprehensive workflow automation solutions.
n8n-mcp-server
A Model-Controller-Provider (MCP) server implementation for n8n workflow automation.
Features
- JSON-RPC 2.0 compliant API
- Workflow execution and management
- Environment-based configuration
- TypeScript support
- Comprehensive logging
- Docker support
Prerequisites
- Node.js >= 14.0.0
- n8n instance running and accessible
- n8n API key
Configuration
N8N_URL
: URL of your n8n instance APIN8N_API_KEY
: Your n8n API keyN8N_API_HEADER
: Header name for API key (default: X-N8N-API-KEY)
Usage
Starting the Server
- Standard start, Development mode, Simple mode, Debug mode
Docker Support
- Build and run with Docker or use Docker Compose
API Documentation
- JSON-RPC 2.0 interface with methods like
initialize
,shutdown
,listTools
,callTool
.