n8n-mcp-project

ortiq01/n8n-mcp-project

3.1

If you are the rightful owner of n8n-mcp-project and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The n8n-MCP Integration Project is a comprehensive Model Context Protocol (MCP) server implementation designed for the n8n automation platform, offering enterprise-grade backup protection and workflow management capabilities.

Tools
4
Resources
0
Prompts
0

n8n-MCP Integration Project

A comprehensive Model Context Protocol (MCP) server implementation for n8n automation platform with enterprise-grade backup protection and workflow management capabilities.

🚀 Features

Core MCP Server

  • Minimal MCP Server: Lightweight, efficient MCP implementation
  • n8n Integration: Seamless integration with n8n workflows
  • 4 Essential Tools: File operations, workflow validation, data generation, and performance testing
  • 100% Test Coverage: Comprehensive testing suite with verified functionality

Backup & Protection System

  • Automated Backups: 14-category comprehensive backup system
  • One-Click Restore: Complete system restoration capabilities
  • Daily Automation: Automated backup scheduling
  • Security Hardened: Environment variable protection and input sanitization

Development Framework

  • Docker Integration: Production-ready containerized environment
  • Version Control: Git-based development workflow with GitHub integration
  • Documentation: Comprehensive guides and status monitoring
  • System Monitoring: Real-time health checks and performance metrics

📁 Project Structure

├── minimal-mcp/           # Core MCP server implementation
│   ├── server.js         # Main MCP server
│   ├── test.js           # Comprehensive test suite
│   └── package.json      # Dependencies and scripts
├── docker/               # Docker configuration
│   ├── docker-compose.yml
│   └── n8n_data/        # n8n persistent data
├── backups/              # Automated backup storage
├── backup-system.sh      # Backup creation script
├── restore-system.sh     # System restoration script
└── setup-automated-backups.sh  # Backup automation setup

🛠 Quick Start

Prerequisites

  • Docker & Docker Compose
  • Node.js 18+ (for MCP server)
  • Git (for version control)

Installation

  1. Clone the repository:

    git clone https://github.com/ortiq01/n8n-mcp-project.git
    cd n8n-mcp-project
    
  2. Start the services:

    docker-compose up -d
    
  3. Test the MCP server:

    cd minimal-mcp && npm test
    
  4. Access n8n: Open http://localhost:5679

Setting Up Backups

# Create initial backup
./backup-system.sh

# Set up automated daily backups
./setup-automated-backups.sh

# Restore from backup if needed
./restore-system.sh

🔧 MCP Tools Available

ToolDescriptionUsage
write_fileCreate/update filesWorkflow automation, data persistence
validate_workflowWorkflow validationQuality assurance, error prevention
generate_test_dataTest data generationDevelopment, testing scenarios
performance_testPerformance monitoringSystem optimization, benchmarking

📊 System Status

  • n8n Server: Running on port 5679
  • PostgreSQL: Database operational
  • MCP Server: 100% test pass rate
  • Backup System: 25MB initial backup created
  • Version Control: GitHub integration active

🔒 Security Features

  • SSH Key Protection: All private keys excluded from repository
  • Environment Variables: Secure credential management
  • Input Sanitization: XSS and injection prevention
  • Backup Encryption: Compressed, secure backup archives
  • Access Controls: Production-ready security configuration

📖 Documentation

  • - Backup system overview
  • - Current system health
  • - Production deployment guide

🧪 Testing

Run the comprehensive test suite:

cd minimal-mcp
npm test

Expected output: ✅ 5/5 tests passing

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Make your changes and test thoroughly
  4. Commit with descriptive messages: git commit -m "feat: description"
  5. Push to your fork: git push origin feature-name
  6. Create a Pull Request

📄 License

This project is licensed under the MIT License - see the file for details.

🆘 Support

  • Issues: Report bugs and feature requests via GitHub Issues
  • Documentation: Check the /docs directory for detailed guides
  • Community: Join our discussions for help and collaboration

Built with ❤️ for workflow automation and MCP integration