doc-workflow-mcp
This project aims to automate document workflows using TypeScript. Specifically, it provides tools to streamline the generation, management, and sharing of documents. While the features are simple, customization options are available to meet specific needs.
GitHub Stars
1
User Rating
Not Rated
Favorites
0
Views
23
Forks
0
Issues
0
Documentation Workflow MVP
A sophisticated documentation management system with AI-powered assistance through Model Context Protocol (MCP) integration. This system provides hierarchical context management, session continuity, and comprehensive documentation lifecycle support.
π Features
Document Management
- Full Lifecycle Support: Create, update, delete, and publish documents
- Rich Metadata: Frontmatter with timestamps, status tracking, and categorization
- Location-based Organization: Separate areas for drafts, documentation, updates, and plans
- Advanced Search: Content and metadata search with filtering capabilities
Context Management System
- Hierarchical Architecture: 6-level context hierarchy from global to session
- Dynamic Loading: Context-aware operations with automatic state management
- Persistent Storage: JSON-based context preservation across sessions
Session Continuity
- State Preservation: Save and restore work sessions across token limits
- Automatic Recovery: Resume work exactly where you left off
- Plan Integration: Work plans serve as restoration anchors
- Progress Tracking: Maintain task state and active documents
AI Integration
- MCP Server: Claude Desktop integration for AI-assisted documentation
- 20+ Specialized Tools: Purpose-built commands for documentation workflows
- Intelligent Analysis: Documentation completeness and structure assessment
- Context-Aware Operations: AI understands project structure and conventions
π Quick Start
Prerequisites
- Node.js 18+ and npm
- Docker and Docker Compose (optional)
- Claude Desktop (for AI features)
- WSL (if running on Windows)
Installation
- Clone the repository:
git clone https://github.com/yourusername/documentation-workflow-mvp.git
cd documentation-workflow-mvp
- Configure environment (optional):
# No configuration required! System works with defaults
# Only needed if you want custom settings:
cp .env.example .env
- Install MCP server dependencies:
cd mcp-server
npm install
npm run build
- Configure Claude Desktop:
{
"mcpServers": {
"documentation-workflow": {
"command": "node",
"args": ["/path/to/documentation-workflow-mvp/mcp-server/dist/index.js"],
"cwd": "/path/to/documentation-workflow-mvp"
}
}
}
- Start the services (optional):
docker-compose up -d
βοΈ Configuration
The project uses environment variables for configuration. See .env.example for all available options:
- Workspace path - Single directory for all documentation data
- Logging levels - Control verbosity
- Feature flags - Enable/disable features
- Performance settings - Tune for your system
Key settings:
NODE_ENV=development # Environment mode
LOG_LEVEL=info # Logging verbosity
WORKSPACE_PATH=~/DocumentWorkflow # Document workspace location
The workspace contains:
WORKSPACE_PATH/
βββ projects/ # All documentation projects
βββ contexts/ # Context and session data
π Documentation
For Users
- Installation Guide - Detailed setup instructions
- Quick Start Guide - Get productive in 5 minutes
- User Guide - Complete usage documentation
- Examples - Real-world use cases
For AI Assistants
- AI Assistant Instructions - Simple guide for AI agents
- LLM Agent Guide - Detailed guide for AI assistants
Role-Specific AI Guides
- Business Analyst Guide - For AI agents acting as Business Analysts
- System Analyst Guide - For AI agents acting as System Analysts
- Product Manager Guide - For AI agents acting as Product Managers
- Developer Guide - For AI agents acting as Developers
- DBA Guide - For AI agents acting as Database Administrators
Technical Reference
- API Reference - Tool specifications and schemas
- Architecture Overview - System design and components
π οΈ Usage Examples
Initialize a New Project
# Through Claude Desktop
> "Initialize a new documentation project called 'my-api-docs'"
Create Documentation
# Create a new guide
> "Create a guide about authentication in the my-api-docs project"
# Create a reference document
> "Create a reference document for the User API endpoints"
Manage Sessions
# Save current work session
> "Save my current session - working on authentication docs"
# Resume previous session
> "Load my session for the my-api-docs project"
Analyze Documentation
# Check project completeness
> "Analyze the documentation coverage for my-api-docs"
# View project structure
> "Show me the structure of my-api-docs in tree format"
ποΈ Architecture
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β Claude Desktop ββββββΆβ MCP Server ββββββΆβ File System β
β (AI Agent) β β (20+ Tools) β β (Documents) β
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β
βΌ
ββββββββββββββββββββ
β Context System β
β (6 Hierarchies) β
ββββββββββββββββββββ
π§ͺ Testing
cd mcp-server
npm test # Run all tests
npm test -- tests/simple # Run simplified tests
π€ Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
- Built with Model Context Protocol (MCP)
- Powered by Claude AI from Anthropic
- Inspired by modern documentation workflows
π Support
- π§ Email: support@example.com
- π¬ Discord: Join our community
- π Issues: GitHub Issues
Made with β€οΈ for the documentation community