Uses Jinja2 templating engine to auto-generate 13+ specialized documentation templates including architecture guides, phase plans, checklists, and research reports with security sandboxing.
Supports PostgreSQL as an enterprise storage backend for team deployments, enabling multi-user access to documentation and audit trails with bulletproof crash recovery.
Includes comprehensive test suite with 69+ functional tests covering all core functionality, performance benchmarks, and integration testing.
Built as a Python 3.11+ MCP server providing CLI tools and programmatic APIs for documentation management, template generation, and audit trail logging.
Provides zero-config SQLite storage backend for documentation and logging with atomic operations, write-ahead logging, and automatic corruption detection.
๐ Scribe MCP Server
Enterprise-grade documentation governance for AI-powered development
Drop-in ready โข 13+ specialized templates โข Zero-config SQLite โข Production-tested
๐ Why Scribe MCP?
Scribe transforms how AI agents and developers maintain project documentation. Instead of scattered notes and outdated docs, Scribe provides bulletproof audit trails, automated template generation, and cross-project intelligence that keeps your entire development ecosystem in sync.
Perfect for:
๐ค AI Agent Teams - Structured workflows and quality grading
๐ข Enterprise Teams - Audit trails and compliance documentation
๐จโ๐ป Solo Developers - Automatic documentation that actually works
๐ Research Projects - Structured logs and reproducible reports
Immediate Value:
โ 30-second setup - Drop into any repository and start logging
๐ฏ 18+ specialized templates - From architecture guides to bug reports
๐ Cross-project search - Find patterns across your entire codebase
๐ Agent report cards - Performance grading for AI workflows
๐ก๏ธ Bulletproof storage - Atomic operations with crash recovery
โก Quick Start
Get Scribe running in under 60 seconds:
1๏ธโฃ Install Dependencies
2๏ธโฃ Start Logging Immediately
That's it! You've just created your first structured log entry. Scribe automatically:
โ Created a project configuration
โ Generated documentation templates
โ Started your progress log
โ Provided intelligent reminders
3๏ธโฃ Launch MCP Server (Optional)
๐ฏ Try These Examples
Project Management:
Research Workflows:
Team Collaboration:
๐ ๏ธ Installation Options
Prerequisites
Python 3.11+ - Modern Python with async support
pip - Standard Python package manager
Optional: PostgreSQL for team deployments (SQLite works out of the box)
Storage Backends
๐๏ธ SQLite (Default - Zero Config)
Perfect for solo developers and small teams
No setup required - just run and go
Automatic database creation and management
๐ PostgreSQL (Enterprise)
Ideal for large teams and production deployments
Set environment variables before starting:
export SCRIBE_STORAGE_BACKEND=postgres export SCRIBE_DB_URL=postgresql://user:pass@host:port/database
MCP Integration
For Claude Desktop:
For Claude Code CLI:
๐จ Template System Showcase
Scribe includes 13+ specialized templates that auto-generate professional documentation:
๐ Document Templates
๐ Architecture Guides - System design and technical blueprints
๐ Phase Plans - Development roadmaps with milestones
โ Checklists - Verification ledgers with acceptance criteria
๐ฌ Research Reports - Structured investigation documentation
๐ Bug Reports - Automated issue tracking with indexing
๐ Agent Report Cards - Performance grading and quality metrics
๐ Progress Logs - Append-only audit trails with UTC timestamps
๐ Security Logs - Compliance and security event tracking
๐ Template Features
๐ Security Sandboxing - Jinja2 templates run in restricted environments
๐ Template Inheritance - Create custom template families
๐ฏ Smart Discovery - Project โ Repository โ Built-in template hierarchy
โก Atomic Generation - Bulletproof template creation with integrity verification
Example: Generate Architecture Guide
๐ป CLI Power Tools
Scribe's command-line interface (386 lines of pure functionality) gives you complete control:
๐ฏ Core Commands
๐จ Rich Features
๐ญ Emoji Support - Built-in emoji mapping for all status types
๐ Metadata Tracking - Rich key=value metadata for organization
๐ Multiple Log Types - Progress, bugs, security, and custom logs
๐ Timestamp Control - Override timestamps for bulk imports
๐ฏ Project Discovery - Automatic project configuration detection
Status Types & Emojis
infoโน๏ธ - General information and updatessuccessโ - Completed tasks and achievementswarnโ ๏ธ - Warning messages and cautionserrorโ - Errors and failuresbug๐ - Bug reports and issuesplan๐ - Planning and roadmap entries
๐ Enterprise Features
๐ Agent Report Cards
Performance grading infrastructure for AI workflows:
Quality metrics tracking and trend analysis
Performance levels with UPSERT operations
Automated agent evaluation and reporting
๐ Security & Compliance
๐ก๏ธ Security Sandboxing - Restricted Jinja2 environments with 22+ built-in controls
๐ Audit Trails - Complete change tracking with metadata
๐ Access Control - Path validation and input sanitization
๐ Compliance Reporting - Structured logs for regulatory requirements
โก Advanced Search
Phase 4 Enhanced Search capabilities:
๐ Cross-Project Validation - Find patterns across your entire codebase
๐ Relevance Scoring - 0.0-1.0 quality filtering
๐ฏ Code Reference Verification - Validate referenced code exists
๐ Temporal Filtering - Search by time ranges ("last_30d", "last_7d")
๐พ Bulletproof Storage
๐๏ธ Multi-Backend Support - SQLite (zero-config) + PostgreSQL (enterprise)
โก Atomic Operations - Temp-file-then-rename with fsync guarantees
๐ Write-Ahead Logging - Bulletproof crash recovery with journaling
โ Integrity Verification - Automatic corruption detection and recovery
๐ง Intelligent Reminders
Scribe keeps your documentation in sync with intelligent context awareness:
๐ Smart Reminders
Every MCP tool response includes contextual reminders about:
๐ Stale Documentation - When architecture docs need updates
โฐ Overdue Logs - Gentle nudges to maintain progress tracking
๐ฏ Project Context - Active project status and recent activity
๐ Drift Detection - When implementation deviates from plans
โ๏ธ Customization
๐ Environment Variables
SCRIBE_REMINDER_IDLE_MINUTES- Work session reset timeout (default: 45)SCRIBE_REMINDER_WARMUP_MINUTES- Grace period after resuming (default: 5)SCRIBE_REMINDER_DEFAULTS- JSON configuration for all projects
๐๏ธ Project Structure
๐งช Testing & Quality
Comprehensive testing infrastructure with 79+ test files:
๐งช Run Tests
โ Quality Assurance
๐ฌ Functional Testing - 69 comprehensive tests covering all core functionality
โก Performance Testing - Optimized benchmarks for file operations
๐ก๏ธ Security Testing - Template sandboxing and access control validation
๐ Integration Testing - MCP server protocol compliance verification
๐ Smoke Test
๐ก Real-World Use Cases
๐ค AI Agent Teams
Structured workflows for AI development:
๐ข Enterprise Documentation
Compliance and audit trails:
๐ Research Projects
Structured research documentation:
๐ง Troubleshooting
Common Issues & Solutions
๐จ MCP SDK Missing
๐ง No Tools Returned
๐๏ธ SQLite Permission Issues
๐ Python Path Issues
โก Server Not Starting
Getting Help
๐ Documentation: Check
docs/whitepapers/scribe_mcp_whitepaper.mdfor comprehensive technical details๐งช Test Suite: Run
pytestto verify system functionality๐ Project Templates: Use
--list-projectsto see available configurations๐ Smoke Test: Run
python scripts/test_mcp_server.pyfor MCP validation
๐ค Contributing
We welcome contributions! Here's how to get started:
๐งช Development Workflow
๐ Development Guidelines
โ Test Coverage: All new features must include tests
๐ Documentation: Update relevant documentation sections
๐ง Integration: Ensure MCP server compatibility
๐ก๏ธ Security: Follow security best practices for templates and inputs
๐ Quality Standards
๐งช 69+ functional tests must pass
โก Performance benchmarks for file operations
๐ Security validation for template sandboxing
๐ MCP protocol compliance verification
๐ Further Reading
๐ Technical Documentation
๐ Whitepaper v2.1 - Comprehensive technical architecture
๐ง API Reference - Complete MCP tool documentation
๐จ Template Guide - Custom template development
๐๏ธ Architecture Patterns - System design and integration
๐ Advanced Features
๐ค Claude Code Integration - Structured workflows and subagent coordination
๐ Agent Report Cards - Performance grading and quality metrics
๐ Vector Search - FAISS integration for semantic search
๐ Security Framework - Comprehensive access control and audit trails
๐ Production Deployment
๐ PostgreSQL Setup - Enterprise-scale deployment guide
๐ Monitoring - Performance tracking and alerting
๐ Backup & Recovery - Data protection strategies
๐ Multi-tenant - Organizational deployment patterns
๐ License
MIT License - see LICENSE file for details.
๐ Acknowledgments
Built with passion for better documentation and AI-human collaboration. Special thanks to:
The MCP protocol team for the standardized AI tool interface
Jinja2 for the powerful and secure templating system
Our early adopters for invaluable feedback and feature suggestions
๐ Ready to transform your documentation?
Start Logging โข Explore Templates โข Read Whitepaper
Join thousands of developers and AI teams using Scribe for bulletproof documentation governance