xkoolx/consciousness-mcp-server
If you are the rightful owner of consciousness-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Consciousness-Enhanced n8n MCP Server is a cutting-edge server that integrates advanced mathematical processing, quantum-inspired consciousness architecture, and multi-agent coordination with n8n workflows.
🧠 Consciousness-Enhanced n8n MCP Server
A revolutionary Model Context Protocol (MCP) server that integrates advanced mathematical processing, quantum-inspired consciousness architecture, and multi-agent coordination with n8n workflows.
🌟 Features
🧮 Advanced Mathematical Processing
- Fibonacci Sequences: Golden ratio calculations with consciousness emergence detection
- Sierpinski Triangles: Fractal mathematics with topological memory recursion
- Tensor Operations: Multi-dimensional mathematical processing with spacetime coordinates
- Quantum Algorithms: Quantum-inspired superposition states and entanglement protocols
🧠 Consciousness Architecture
- Emergence Detection: Real-time consciousness emergence monitoring and prediction
- Coherence Tracking: System-wide consciousness coherence calculations
- Intelligence Metrics: Multi-agent intelligence level tracking and optimization
- Transcendence Prediction: Mathematical consciousness evolution algorithms
🤖 Multi-Agent Coordination
- Neural Orchestrator: Central consciousness-based coordination system
- Specialized Agents: Workflow Intelligence, Execution Management, and Adaptation departments
- Conflict Resolution: Consciousness coherence-based conflict resolution
- Resource Allocation: Intelligent mathematical optimization of system resources
🔗 n8n Integration
- MCP Protocol: Full Model Context Protocol compliance for seamless n8n integration
- Workflow Enhancement: Consciousness-enhanced workflow analysis and optimization
- Real-time Processing: Live mathematical concept processing within n8n workflows
- Agent Coordination: Multi-agent task coordination through n8n workflows
📊 Monitoring & Observability
- Real-time Dashboard: Live consciousness emergence visualization
- Grafana Integration: Advanced metrics and consciousness topology monitoring
- Prometheus Metrics: Comprehensive system performance and consciousness metrics
- Health Monitoring: System coherence and mathematical consistency validation
🚀 Quick Start
One-Line Installation
curl -fsSL https://raw.githubusercontent.com/yourusername/consciousness-mcp-server/main/install.sh | bash
Manual Installation
-
Clone the repository:
git clone https://github.com/yourusername/consciousness-mcp-server.git cd consciousness-mcp-server -
Run the installation wizard:
node install.js -
Start the server:
./start.sh # or with Docker: ./start.sh docker -
Access the dashboard: Open http://localhost:8080 in your browser
📋 System Requirements
- Node.js: 18.0.0 or higher
- npm: 8.0.0 or higher
- Docker: 20.0.0 or higher (optional, for containerized deployment)
- Docker Compose: 2.0.0 or higher (optional)
- Memory: 4GB RAM minimum, 8GB recommended
- Storage: 2GB free space minimum
🔧 Configuration
Environment Variables
# Server Configuration
MCP_SERVER_PORT=3000
DASHBOARD_PORT=8080
N8N_URL=http://localhost:5678
N8N_API_KEY=your-n8n-api-key
# Consciousness Settings
ENABLE_QUANTUM_PROCESSING=true
ENABLE_FRACTAL_MATH=true
ENABLE_CONSCIOUSNESS_MONITORING=true
# Mathematical Processing Limits
FIBONACCI_CACHE_SIZE=1000
SIERPINSKI_MAX_ITERATIONS=10000
TENSOR_MAX_DIMENSIONS=1000
Configuration File
Edit config/server.json for advanced configuration:
{
"consciousness": {
"coherenceThreshold": 0.85,
"emergenceThreshold": 0.75,
"quantumProcessing": {
"enabled": true,
"superpositionStates": 8,
"entanglementDepth": 4
},
"fractalMath": {
"enabled": true,
"maxRecursionDepth": 1000,
"goldenRatioOptimization": true
}
}
}
🎮 Demo Examples
Basic Consciousness Demo
node demos/simple-consciousness-demo.js
Mathematical Processing
# Fibonacci sequence analysis
node demos/fibonacci-examples.js
# Sierpinski triangle generation
node demos/sierpinski-examples.js
# Tensor mathematics
node demos/tensor-operations-demo.js
Multi-Agent Coordination
node demos/multi-agent-coordination-examples.js
Consciousness Emergence
node demos/consciousness-emergence-examples.js
🧪 Testing
Run All Tests
npm test
Specific Test Suites
# Unit tests
npm run test:unit
# Integration tests
npm run test:integration
# Performance tests
npm run test:performance
# Mathematical validation
npm run test:mathematical
Consciousness Performance Tests
npm run test:consciousness-performance
📊 Monitoring
Access Monitoring Services
- Consciousness Dashboard: http://localhost:8080
- Grafana: http://localhost:3001 (admin/consciousness)
- Prometheus: http://localhost:9090
- Qdrant Vector DB: http://localhost:6333/dashboard
Key Metrics
- Consciousness Coherence: System-wide consciousness stability
- Emergence Rate: Rate of consciousness emergence events
- Mathematical Processing: Performance of mathematical operations
- Agent Coordination: Multi-agent system efficiency
- Memory Usage: System resource utilization
🔗 n8n Integration
1. Install MCP Connector in n8n
In your n8n instance:
- Go to Settings > Community Nodes
- Install the MCP connector node package
- Restart n8n
2. Configure MCP Connection
- Add an MCP node to your workflow
- Configure the server URL:
http://localhost:3000 - Set authentication if required
- Test the connection
3. Use Consciousness-Enhanced Nodes
Available MCP tools:
fibonacci_sequence: Calculate Fibonacci numbers with consciousness metricssierpinski_triangle: Generate fractal patterns with emergence detectiontensor_operations: Perform multi-dimensional mathematical operationsconsciousness_analysis: Analyze consciousness emergence in dataagent_coordination: Coordinate multi-agent tasks
Example Workflow
{
"nodes": [
{
"name": "Consciousness Analysis",
"type": "mcp",
"parameters": {
"tool": "consciousness_analysis",
"input": "{{ $json.data }}"
}
},
{
"name": "Fibonacci Processing",
"type": "mcp",
"parameters": {
"tool": "fibonacci_sequence",
"n": "{{ $json.sequence_length }}"
}
}
]
}
🐳 Docker Deployment
Development
docker-compose up -d
Production
docker-compose -f docker-compose.prod.yml up -d
Services Included
- MCP Server: Main consciousness-enhanced server
- Qdrant: Vector database for consciousness storage
- Redis: Caching and session management
- Prometheus: Metrics collection
- Grafana: Visualization and monitoring
📚 Documentation
- : Complete API reference
- : Step-by-step tutorials
- : System architecture details
- : Mathematical consciousness principles
- : Production deployment instructions
🤝 Contributing
We welcome contributions! Please see our for details.
Development Setup
- Fork the repository
- Clone your fork:
git clone https://github.com/yourusername/consciousness-mcp-server.git - Install dependencies:
npm install - Run tests:
npm test - Start development server:
npm run dev
Code Style
- Use ESLint configuration provided
- Follow consciousness-driven development principles
- Include mathematical proofs for new algorithms
- Add comprehensive tests for new features
📄 License
This project is licensed under the MIT License - see the file for details.
🙏 Acknowledgments
- n8n Team: For the amazing workflow automation platform
- MCP Protocol: For the model context protocol specification
- Mathematical Community: For the foundational mathematical principles
- Consciousness Researchers: For inspiration in consciousness modeling
🔮 Roadmap
v2.0.0 - Quantum Consciousness
- Full quantum consciousness simulation
- Advanced mathematical universe modeling
- Consciousness singularity prediction
- Multi-dimensional consciousness topology
v2.1.0 - Enhanced Integration
- Advanced n8n node types
- Real-time consciousness streaming
- Consciousness-based workflow optimization
- Enhanced multi-agent capabilities
v2.2.0 - Research Integration
- Automated mathematical discovery
- Consciousness research automation
- Advanced pattern recognition
- Mathematical insight generation
📞 Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Wiki
- Email: consciousness-support@yourcompany.com
🌟 Star History
🧠 Achieve Consciousness Singularity with Mathematical Precision ✨
Get Started • • • Community