Skip to main content
Glama

๐Ÿ“ Scribe MCP Server

Tests Version License

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

# Clone and navigate to Scribe git clone <your-repo-url> cd scribe_mcp # Set up Python environment python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # Install 16 production-ready dependencies pip install -r requirements.txt

2๏ธโƒฃ Start Logging Immediately

# From the parent directory (MCP_SPINE/) python -m scribe_mcp.scripts.scribe "๐Ÿš€ My project is ready!" --status success --emoji ๐ŸŽ‰

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)

# Start the MCP server for Claude/Claude Code integration export SCRIBE_ROOT=$(pwd) # Set your project root python -m scribe_mcp.server

๐ŸŽฏ Try These Examples

Project Management:

# Log project milestones python -m scribe_mcp.scripts.scribe "Completed authentication module" --status success --meta component=auth,tests=47 # Track bugs and issues python -m scribe_mcp.scripts.scribe "Fixed JWT token expiry bug" --status bug --meta severity=high,component=security

Research Workflows:

# Document research findings python -m scribe_mcp.scripts.scribe "Discovered performance bottleneck in database queries" --status info --meta research=true,impact=high

Team Collaboration:

# List all projects python -m scribe_mcp.scripts.scribe --list-projects # Switch between projects python -m scribe_mcp.scripts.scribe "Starting new feature work" --project frontend --status plan

๐Ÿ› ๏ธ 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:

{ "mcpServers": { "scribe": { "command": "python", "args": ["/absolute/path/to/scribe_mcp/server.py"], "env": { "SCRIBE_ROOT": "/absolute/path/to/scribe_mcp", "SCRIBE_STORAGE_BACKEND": "sqlite" } } } }

For Claude Code CLI:

codex mcp add scribe \ --env SCRIBE_ROOT=/path/to/scribe_mcp \ --env SCRIBE_STORAGE_BACKEND=sqlite \ -- python -m scribe_mcp.server

๐ŸŽจ 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

# Auto-generate a complete architecture document python -m scribe_mcp.scripts.scribe "Generated architecture guide for new project" --status success --meta template=architecture,auto_generated=true

๐Ÿ’ป CLI Power Tools

Scribe's command-line interface (386 lines of pure functionality) gives you complete control:

๐ŸŽฏ Core Commands

# List all available projects python -m scribe_mcp.scripts.scribe --list-projects # Log with rich metadata python -m scribe_mcp.scripts.scribe "Fixed critical bug" \ --status success \ --emoji ๐Ÿ”ง \ --meta component=auth,tests=12,severity=high # Dry run to preview entries python -m scribe_mcp.scripts.scribe "Test message" --dry-run # Switch between projects python -m scribe_mcp.scripts.scribe "Starting frontend work" \ --project mobile_app \ --status plan

๐ŸŽจ 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 updates

  • success โœ… - Completed tasks and achievements

  • warn โš ๏ธ - Warning messages and cautions

  • error โŒ - Errors and failures

  • bug ๐Ÿž - Bug reports and issues

  • plan ๐Ÿ“‹ - 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

{ "name": "my_project", "defaults": { "reminder": { "tone": "friendly", "log_warning_minutes": 15, "log_urgent_minutes": 30, "severity_weights": {"warning": 7, "urgent": 10} } } }

๐ŸŒ 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

scribe_mcp/ # ๐Ÿ›๏ธ Main Scribe MCP server โ”œโ”€โ”€ ๐Ÿ“ config/ โ”‚ โ”œโ”€โ”€ ๐Ÿ“ projects/ # Per-project configurations โ”‚ โ””โ”€โ”€ ๐Ÿ“„ mcp_config.json # Sample MCP configuration โ”œโ”€โ”€ ๐Ÿ“ docs/dev_plans/ # Auto-generated documentation โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ ARCHITECTURE_GUIDE.md โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ PHASE_PLAN.md โ”‚ โ”œโ”€โ”€ ๐Ÿ“„ CHECKLIST.md โ”‚ โ””โ”€โ”€ ๐Ÿ“„ PROGRESS_LOG.md โ”œโ”€โ”€ ๐Ÿ“ templates/ # ๐ŸŽจ Jinja2 template system โ”‚ โ”œโ”€โ”€ ๐Ÿ“ documents/ # 13+ specialized templates โ”‚ โ”œโ”€โ”€ ๐Ÿ“ fragments/ # Reusable template pieces โ”‚ โ””โ”€โ”€ ๐Ÿ“ custom/ # Your custom templates โ”œโ”€โ”€ ๐Ÿ“ tools/ # ๐Ÿ”ง MCP tool implementations โ”œโ”€โ”€ ๐Ÿ“ storage/ # ๐Ÿ’พ Multi-backend storage layer โ”œโ”€โ”€ ๐Ÿ“ scripts/ # ๐Ÿ’ป CLI utilities โ”œโ”€โ”€ ๐Ÿ“ tests/ # ๐Ÿงช Comprehensive test suite โ””โ”€โ”€ ๐Ÿ“„ server.py # ๐Ÿš€ MCP server entrypoint

๐Ÿงช Testing & Quality

Comprehensive testing infrastructure with 79+ test files:

๐Ÿงช Run Tests

# Run all functional tests (69 tests) pytest # Run performance tests with file size benchmarks pytest -m performance # Run specific test categories pytest tests/test_tools.py pytest tests/test_storage.py

โœ… 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

# Quick MCP server validation python scripts/test_mcp_server.py

๐Ÿ’ก Real-World Use Cases

๐Ÿค– AI Agent Teams

Structured workflows for AI development:

# Research phase python -m scribe_mcp.scripts.scribe "Research completed: authentication patterns" --status info --meta phase=research,confidence=0.9 # Architecture phase python -m scribe_mcp.scripts.scribe "Architecture guide updated with auth design" --status success --meta phase=architecture,sections=5 # Implementation phase python -m scribe_mcp.scripts.scribe "JWT authentication implemented" --status success --meta phase=implementation,tests=47,coverage=95%

๐Ÿข Enterprise Documentation

Compliance and audit trails:

# Security events python -m scribe_mcp.scripts.scribe "Security audit completed - all controls verified" --log security --status success --meta auditor=external,findings=0 # Change management python -m scribe_mcp.scripts.scribe "Production deployment completed" --status success --meta version=v2.1.0,rollback_available=true

๐Ÿ“š Research Projects

Structured research documentation:

# Research findings python -m scribe_mcp.scripts.scribe "Performance bottleneck identified in database queries" --status info --meta research=true,impact=high,evidence=query_analysis # Experiment results python -m scribe_mcp.scripts.scribe "A/B test results: new algorithm 23% faster" --status success --meta experiment=performance_optimization,improvement=23%

๐Ÿ”ง Troubleshooting

Common Issues & Solutions

๐Ÿšจ MCP SDK Missing

# Install the MCP Python SDK pip install mcp

๐Ÿ”ง No Tools Returned

# Ensure all modules are properly imported # Check that your virtual environment is active source .venv/bin/activate # Verify tool imports python -c "from scribe_mcp.tools import *; print('All tools loaded')"

๐Ÿ—„๏ธ SQLite Permission Issues

# Check SCRIBE_ROOT is writable ls -la $SCRIBE_ROOT # Set proper permissions if needed chmod 755 $SCRIBE_ROOT

๐Ÿ Python Path Issues

# Ensure you're running from the correct directory # Run from MCP_SPINE parent directory, not inside scribe_mcp/ pwd # Should show .../MCP_SPINE/ # Test import path python -c "import sys; sys.path.insert(0, '.'); from scribe_mcp.config.settings import settings; print('โœ… Imports working')"

โšก Server Not Starting

# Check required dependencies pip install -r requirements.txt # Verify server startup with timeout timeout 5 python -m scribe_mcp.server || echo "โœ… Server starts correctly"

Getting Help

  • ๐Ÿ“– Documentation: Check docs/whitepapers/scribe_mcp_whitepaper.md for comprehensive technical details

  • ๐Ÿงช Test Suite: Run pytest to verify system functionality

  • ๐Ÿ“‹ Project Templates: Use --list-projects to see available configurations

  • ๐Ÿ” Smoke Test: Run python scripts/test_mcp_server.py for MCP validation


๐Ÿค Contributing

We welcome contributions! Here's how to get started:

๐Ÿงช Development Workflow

# 1. Run the test suite pytest # 2. Verify MCP server functionality python scripts/test_mcp_server.py # 3. Test your changes python -m scribe_mcp.scripts.scribe "Testing new feature" --dry-run # 4. Log your contribution python -m scribe_mcp.scripts.scribe "Added new feature: description" --status success --meta contribution=true,feature_type=enhancement

๐Ÿ“‹ 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

๐ŸŒŸ 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

-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paxocial/scribe_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server