Knowledge Graph-powered MCP (Model Context Protocol) Client with episodic memory system.
- Knowledge Graph Integration: Graphiti-powered episodic memory system
- MCP Protocol Support: Full Model Context Protocol implementation
- Docker Deployment: Production-ready containerized architecture
- Control Center Dashboard: Interactive knowledge graph visualization
- Bridge Architecture: Maintains Sconce operational continuity
- Docker Engine 20.10+
- Docker Compose V2
- 8GB RAM minimum
- 20GB disk space
-
Clone Repository
git clone https://github.com/[your-username]/MCP-Client.git cd MCP-Client -
Configure Environment
cp .env.template .env # Edit .env with your configuration -
Deploy with Docker
docker-compose up -d
-
Verify Installation
docker-compose ps curl http://localhost/health
- mcp-client-app: Main MCP Client application
- knowledge-graph-db: PostgreSQL database for Graphiti knowledge graph
- load-balancer: NGINX reverse proxy
- monitoring: Prometheus + Grafana monitoring
Internet → Load Balancer → MCP Client → Knowledge Graph DB
↓
Monitoring System
# Database Configuration
DATABASE_URL=postgresql://postgres:password@knowledge-graph:5432/graphiti
NODE_ENV=production
# Application Configuration
MCP_PORT=3000
LOG_LEVEL=infoThe system uses a 4-container architecture:
- MCP Client (Node.js application)
- Knowledge Graph Database (PostgreSQL)
- Load Balancer (NGINX)
- Monitoring (Prometheus)
# Install dependencies
npm install
# Run in development mode
npm run dev
# Run tests
npm test# Build all services
docker-compose build
# Build specific service
docker-compose build mcp-clientAccess monitoring dashboards:
- Prometheus: http://localhost:9090
- Application Health: http://localhost/health
- Container Stats:
docker-compose ps
# Initialize swarm
docker swarm init
# Deploy stack
docker stack deploy -c docker-compose.prod.yml mcp-client
# Monitor deployment
docker service ls- Configure external database
- Set up SSL certificates
- Configure monitoring alerts
- Set up backup procedures
GET /health
Response: {"status": "ok", "services": {"database": "connected", "graph": "ready"}}
POST /mcp/tools
POST /mcp/resources
GET /mcp/status
The integrated knowledge graph provides:
- Episodic Memory: Context-aware conversation memory
- Entity Recognition: Automatic entity extraction and linking
- Relationship Mapping: Dynamic relationship discovery
- Query Interface: GraphQL and REST APIs
# Query graph
curl -X POST http://localhost/graph/query -d '{"query": "MATCH (n) RETURN n LIMIT 10"}'
# Add entities
curl -X POST http://localhost/graph/entities -d '{"name": "example", "type": "concept"}'Database Connection Failed
# Check database status
docker-compose logs knowledge-graph
# Restart database
docker-compose restart knowledge-graphHigh Memory Usage
# Check container resources
docker stats
# Restart services
docker-compose restartSSL Certificate Issues
# Renew certificates
./scripts/renew-ssl.sh
# Restart load balancer
docker-compose restart load-balancer# View all logs
docker-compose logs
# View specific service logs
docker-compose logs mcp-client
docker-compose logs knowledge-graph
# Follow logs in real-time
docker-compose logs -f- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
[Specify your license here]
- Issues: GitHub Issues
- Documentation: Wiki
- Contact: [your-email@example.com]
Project Status: Active Development
Latest Version: v1.0.0
Docker Support: ✅ Production Ready