@litols/todori
v0.0.2
Published
Claude Code-native task management MCP server with minimal context overhead
Downloads
174
Readme
Todori
Claude Code-native task management MCP server with minimal context overhead
Todori is a Model Context Protocol (MCP) server designed specifically for Claude Code that provides persistent, structured task management without consuming your precious context window.
✨ Features
- 🎯 Claude Code Integration First: Uses Claude Code's context understanding for AI-driven task expansion
- 📦 Minimal Context: MCP responses target <2KB average to preserve Claude Code's context window
- 📝 YAML Storage: Human-readable, git-friendly YAML files for better diff visibility and comment support
- ⚡ Zero Dependencies: No database dependencies, runs on Bun for maximum performance
- 🔄 Session Persistence: Tasks persist across Claude Code sessions
- 📊 Dependency Management: Automatic priority calculation with topological sorting
- 🔍 Advanced Querying: Filter, sort, and search tasks efficiently
🚀 Quick Start
Option 1: Claude Code Plugin (Recommended)
Install Todori as a Claude Code plugin:
# Add the marketplace
/plugin marketplace add litols/todori
# Install the plugin
/plugin install todori@todori-marketplaceAfter installation, restart Claude Code and use the slash commands:
/todori-tasks # Show all tasks
/todori-next # Get recommended next task
/todori-add # Add a new task
/todori-done # Mark task as completed
/todori-init # Initialize Todori in projectOption 2: MCP Registry
Install Todori via the Claude MCP registry:
claude mcp add todoriThen start using it in your Claude Code sessions:
Create a task: Implement user authentication
Show me all my tasks
Expand task: Implement user authentication📚 Documentation
Full documentation is available at https://litols.github.io/todori
🏗️ Architecture
Todori follows the RPG (Repository Planning Graph) methodology with explicit dependency ordering:
src/
├── server/ # MCP server (stdio transport)
├── storage/ # YAML-based persistence with atomic writes
├── core/ # Task CRUD, dependency graph, query engine
├── expand/ # Claude Code-driven task breakdown
├── commands/ # Claude Code custom commands
└── integration/ # Project detection, session restoreSee CLAUDE.md for detailed architecture information.
🛠️ Development
Prerequisites
Setup
# Install Bun via mise (recommended)
mise install
# Or install Bun directly
curl -fsSL https://bun.sh/install | bash
# Install dependencies
bun install
# Build the project
bun run build:dist
# Run tests
bun test
# Run linter
bun run lintAvailable Scripts
bun run build- Type checkbun run build:dist- Build distributionbun run test- Run tests in watch modebun run test:run- Run tests oncebun run lint- Run Biome linterbun run format- Format code with Biomebun run check- Run all checks (build, lint, test)bun run docs:dev- Start VitePress dev serverbun run docs:build- Build documentationbun run docs:preview- Preview built documentation
Manual MCP Configuration
To use the development version, add to your Claude configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux/Windows: ~/.config/claude/config.json
{
"mcpServers": {
"todori": {
"command": "bun",
"args": ["/path/to/todori/dist/server/index.js"]
}
}
}📖 Usage Examples
Basic Task Management
# Create tasks
Create a task: Implement OAuth2 authentication
Create task: Write integration tests with priority 80
# List and filter
Show all tasks
Show pending tasks with priority > 70
# Update tasks
Mark task "Implement OAuth2" as in-progress
Complete task "Write integration tests"Task Dependencies
Create task: Deploy to production
Add dependency: "Deploy to production" depends on "Run integration tests"
# Todori automatically:
# - Validates against circular dependencies
# - Calculates priorities based on dependency graph
# - Shows dependency tree when listing tasksAI-Driven Task Expansion
Create and expand task: Refactor database layer
# Claude Code will:
# 1. Analyze your codebase
# 2. Understand current implementation
# 3. Break down into concrete subtasks
# 4. Create dependency relationships🗂️ Task Storage
Tasks are stored in .todori/tasks.yaml at your project root:
tasks:
- id: 550e8400-e29b-41d4-a716-446655440000
title: Implement user authentication
description: Add JWT-based authentication system
status: in-progress
priority: 80
dependencies: []
subtasks:
- id: 6ba7b810-9dad-11d1-80b4-00c04fd430c8
title: Create user model
completed: true
metadata:
created: 2025-12-14T09:00:00Z
updated: 2025-12-14T10:30:00Z🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Run checks (
bun run check) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
🙏 Acknowledgments
- Built with the Model Context Protocol SDK
- Powered by Bun
- Documentation built with VitePress
📮 Support
Made with ❤️ for Claude Code users
