SuperAPIAI Directory

saga-mcp

github.com · AI coding

Jira-like SQLite project tracker: projects, epics, tasks and subtasks, dependencies with auto-blocking, threaded comments, templates and activity logs.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

saga-mcp is a SQLite-based project tracking tool designed to provide AI coding agents with a persistent plan tracker, preventing agents from losing task context between sessions.

Purpose

When an agent forgets after a session ends which tasks are complete, which task is blocked, and why a certain approach was rejected, saga-mcp uses a SQLite file stored in the project to save projects, epics, tasks, subtasks, dependencies, comments, notes, and decisions, and through 41 MCP tools lets the agent write while working and read when returning. The database file is owned by the user, with no account, external service, or network call required.

Main capabilities

  • 41 MCP tools, covering operations for projects, epics, tasks, subtasks, dependencies, comments, notes, templates, activity logs, and more.
  • Automatic blocking and unblocking of task dependencies: re-evaluated when the status of a blocking task changes; circular dependencies are rejected with the cycle identified.
  • Task ordering: after manual arrangement within an epic, that order is followed; unarranged tasks are sorted by priority.
  • Preventing agents from drifting: lockable task descriptions, and enforcement of preconditions on writes.
  • Templates: reusable task sets using {variable} placeholders, editable in place.
  • Archiving and soft deletion: move completed work out of context, reversibly.
  • Lenient input: accepts array parameters passed as JSON strings, rejects genuinely unusable input with clear errors.
  • One file supports multiple projects: one database per repository or one shared file.
  • Complete audit trail: every change records old and new values, and what an agent deletes can be recovered.
  • Each tool has MCP safety annotations, and a slimmed-down tool surface can be provided to reduce context overhead.
  • saga-web: a browser UI that reads and writes the same database, including overview, kanban, epic tree, notes, templates, activity log, and other views.

Usage

Add saga-mcp to an MCP client. The same configuration block works for Claude Code (.mcp.json in the project), Claude Desktop (claude_desktop_config.json), and other MCP clients. After restarting the client, DB_PATH is the only required setting; the file and schema are created on first use. It can also be installed globally: npm install -g saga-mcp, then use the saga-mcp command instead of npx. Tested on Node 20,22, and 24, and supports Linux, macOS, and Windows. No API keys, no account, no external service.

Suitable scenarios

Suitable for AI coding agents that need to maintain project plans, task dependencies, and decision records across sessions. Typical scenarios include: setting up project tracking and planning tasks, asking "where are we" in a new session, viewing overall status via tracker_dashboard, getting next-step suggestions via tracker_next, reviewing or manually editing tasks in the browser, quickly creating repetitive task sets with templates, and archiving completed work to reduce context overhead.

Limitations

  • Dependencies are limited to within a single task; cross-task dependencies must be modeled via task_update's depends_on.
  • task_delete is limited to tasks still in todo status; tasks depended on by other tasks will be rejected for deletion.
  • SAGA_DESCRIPTION_LOCK=on_progress is off by default, must be set explicitly, and changes what the agent is allowed to do.
  • When sharing a database, task lists, notes, activity logs, and search read the entire file by default, and must be scoped via SAGA_PROJECT or an explicit project_id.
  • If neither SAGA_PROJECT is set nor project_id is provided, tracker_dashboard falls back to the first project in the file and states that this is a guess.
  • Description locking is a guard against confusion, not an adversarial control; an agent told to unlock can still unlock.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools