How jandoer0/mcp-todo works
OmniTask is a multi-user kanban task manager with a React web interface, FastAPI REST backend, and an MCP interface for AI agents. A user signs in, selects a board, manages lists and tasks, and sees summaries and budget totals; agents can perform task operations through MCP using the shared task service. The backend also supports per-board outgoing webhooks, currencies, recurring-task history, and administration. Edges reflect explicit README statements or shown imports/calls; some capability paths are documented but their implementation was not sampled, so those links are cited to the README.
Main entry points: main.py HTTP application · App.jsx Application UI · task_service.py Task lifecycle · currency_service.py Currency conversion
Components 31
Web application
- Application UI
frontend/src/App.jsx - Authentication UI
frontend/src/components/Login.jsx - Board and task UI
frontend/src/components/Board.jsx - Task editor
frontend/src/components/TaskForm.jsx - List manager
frontend/src/components/ListsManager.jsx - Currency manager
frontend/src/components/CurrencyManager.jsx - Administration UI
frontend/src/components/AdminPanel.jsx - API client
frontend/src/api/client.js
API and access
- HTTP application
backend/app/main.py - Authentication routes
backend/app/routers/auth.py - Board and webhook routes
backend/app/routers/boards.py - Task routes
backend/app/routers/tasks.py - MCP tools
backend/app/routers/mcp.py - List routes
backend/app/routers/lists.py - Tag routes
backend/app/routers/tags.py - Currency routes
backend/app/routers/currencies.py - Board summary
backend/app/routers/summary.py - Admin routes
backend/app/routers/admin.py - JWT and identity
backend/app/auth.py
Task and board domain
- Board and list rules
backend/app/board.py - Domain records
backend/app/models.py
Business services
- Task lifecycle
backend/app/services/task_service.py - Currency conversion
backend/app/services/currency_service.py - Webhook notifications
backend/app/services/notification_service.py - Server statistics
backend/app/services/server_stats.py
Persistence and settings
- SQL database
backend/app/db.py - Site settings
backend/app/site_settings.py
Other components
- User
- AI agent
- Webhook receiver
- Currency rates
Connections 41
- User → Application UI: uses
README.md - AI agent → MCP tools: calls tools
README.md - Application UI → Authentication UI: renders
frontend/src/App.jsx - Application UI → Board and task UI: renders
frontend/src/App.jsx - Application UI → Task editor: renders
frontend/src/App.jsx - Application UI → List manager: renders
frontend/src/App.jsx - Application UI → Currency manager: renders
frontend/src/App.jsx - Application UI → Administration UI: renders
frontend/src/App.jsx - Application UI → API client: calls
frontend/src/App.jsx - API client → HTTP application: HTTP requests
frontend/src/api/client.js - HTTP application → Authentication routes: mounts
backend/app/main.py - HTTP application → Board and webhook routes: mounts
backend/app/main.py - HTTP application → Task routes: mounts
backend/app/main.py - HTTP application → MCP tools: mounts
backend/app/main.py - HTTP application → List routes: mounts
backend/app/main.py - HTTP application → Tag routes: mounts
backend/app/main.py - HTTP application → Currency routes: mounts
backend/app/main.py - HTTP application → Board summary: mounts
backend/app/main.py - HTTP application → Admin routes: mounts
backend/app/main.py - Authentication routes → JWT and identity: authenticates
backend/app/routers/auth.py - Task routes → Task lifecycle: delegates
backend/app/routers/tasks.py - MCP tools → Task lifecycle: delegates
backend/app/routers/mcp.py - Board and webhook routes → Task lifecycle: uses
backend/app/routers/boards.py - Board and webhook routes → Webhook notifications: dispatches tests
backend/app/routers/boards.py - List routes → Board and list rules: uses
backend/app/routers/lists.py - Tag routes → Board and list rules: uses
backend/app/routers/tags.py - Task lifecycle → Board and list rules: resolves lists
backend/app/services/task_service.py - Task lifecycle → Webhook notifications: dispatches events
backend/app/services/task_service.py - Task lifecycle → Currency conversion: uses
backend/app/services/task_service.py - Currency routes → Currency conversion: delegates
backend/app/routers/currencies.py - Board and webhook routes → Currency conversion: calculates budget
backend/app/routers/boards.py - MCP tools → Currency conversion: calculates budget
backend/app/routers/mcp.py - Admin routes → Server statistics: reads statistics
backend/app/routers/admin.py - Task lifecycle → Domain records: reads and writes
backend/app/services/task_service.py - Currency conversion → Domain records: reads and writes
backend/app/services/currency_service.py - Webhook notifications → Webhook receiver: sends events
backend/app/services/notification_service.py - Webhook notifications → Site settings: reads policy
backend/app/services/notification_service.py - Admin routes → Site settings: updates settings
backend/app/routers/admin.py - HTTP application → SQL database: initializes sessions
backend/app/main.py - SQL database → Domain records: persists
backend/app/db.py - Currency rates → Currency manager: sets rates