This commit adds a complete integration between n8n workflow automation and the Model Context Protocol (MCP): Features: - MCP server that exposes n8n workflows as tools, resources, and prompts - Custom n8n node for connecting to MCP servers from workflows - Bidirectional bridge for data format conversion - Token-based authentication and credential management - Comprehensive error handling and logging - Full test coverage for core components Infrastructure: - TypeScript/Node.js project setup with proper build configuration - Docker support with multi-stage builds - Development and production docker-compose configurations - Installation script for n8n custom node deployment Documentation: - Detailed README with usage examples and API reference - Environment configuration templates - Troubleshooting guide 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
690 B
YAML
32 lines
690 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
n8n:
|
|
image: n8nio/n8n:latest
|
|
container_name: n8n-dev
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5678:5678"
|
|
environment:
|
|
- N8N_BASIC_AUTH_ACTIVE=false
|
|
- N8N_HOST=localhost
|
|
- N8N_PORT=5678
|
|
- N8N_PROTOCOL=http
|
|
- NODE_ENV=development
|
|
- WEBHOOK_URL=http://localhost:5678/
|
|
- GENERIC_TIMEZONE=UTC
|
|
# Enable API for MCP integration
|
|
- N8N_USER_MANAGEMENT_DISABLED=true
|
|
- N8N_PUBLIC_API_DISABLED=false
|
|
volumes:
|
|
- n8n_data:/home/node/.n8n
|
|
- ./dist/n8n:/home/node/.n8n/custom/nodes
|
|
networks:
|
|
- n8n-network
|
|
|
|
networks:
|
|
n8n-network:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
n8n_data: |