Provides containerized deployment options for the debug MCP server with Docker build and run capabilities
Uses SQLite as the primary database backend for storing structured logs and application data with zero-setup local file storage
Built with TypeScript providing strongly-typed interfaces and structured logging capabilities
Debug MCP Server - Ultra Minimal MVP
AI-powered debugging through structured logging and intelligent analysis.
Quick Start (< 5 minutes)
Option 1: Using Development Scripts (Recommended)
Option 2: Manual Setup
Option 3: Docker Setup
Development Commands
MVP Features
Available Tools
- write_log - Write structured log entries
- get_logs - Query logs with filtering
- analyze_logs - AI-powered error pattern analysis
Core Value Demonstration
The MVP demonstrates the core value proposition:
- Structured Logging: Apps write structured logs with app_id isolation
- Pattern Recognition: AI identifies repeated error patterns automatically
- Actionable Insights: Provides specific debugging suggestions
- Real State Access: Uses actual runtime data for analysis
Example Usage
Architecture
- Database: SQLite (single file, zero setup)
- Transport: stdio only (MCP standard)
- AI: Simple pattern matching (no external AI yet)
- Auth: None (app_id based isolation)
Development Tools
Interactive Manual Client
Test the server manually with a user-friendly interface:
Features:
- ✅ Write log entries interactively
- ✅ Query logs with filtering
- ✅ Run AI analysis
- ✅ List available tools
- ✅ Guided prompts for all parameters
Integration Example
See a complete integration example:
This demonstrates:
- 📝 Real-time logging to Debug MCP Server
- 🏗️ Structured metadata capture
- 📊 Log querying and retrieval
- 🤖 AI-powered error pattern analysis
- 💡 Actionable debugging suggestions
Project Structure
MVP Limitations (By Design)
- Single transport: stdio only
- Simple AI: Pattern matching, no LLM integration yet
- No authentication: Direct app_id access
- SQLite only: Not production-scale
- Basic analysis: Error frequency and patterns only
Next Steps
This MVP validates the core concept. Phase 2 will add:
- Real AI analysis (OpenAI/Claude integration)
- PostgreSQL with better performance
- Multi-transport support (HTTP, SSE)
- Authentication and security
- Advanced correlation and trace analysis
Testing
The included test client validates:
- ✅ Writing logs from multiple apps
- ✅ Querying logs with filters
- ✅ Error pattern recognition
- ✅ AI providing actionable suggestions
- ✅ End-to-end workflow in <30 seconds
Ultra-minimal MVP - built for rapid iteration and validation
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables AI-powered debugging through structured logging with pattern recognition and intelligent analysis. Allows applications to write structured logs and receive actionable debugging insights based on error patterns and frequency analysis.