Skip to main content
Glama

ats is an MCP server and CLI that keeps AI-agent context in the task systems you already maintain — TickTick, Taskmaster, Beads, Obsidian, Notion, GitHub, Airtable, Google, or several at once through the composite adapter. It retrieves relevant tasks, notes, decisions, and runbooks with provenance, then can write results back when the active adapter supports writes. Works with Claude Code, Claude Desktop, Cursor, and any MCP client.

Adapter, not migration. Your task app, repository, or vault remains authoritative. ATS maps that source into a common task contract; optional caches and vector indexes improve retrieval but never become a second record that people must edit. It is task-first: the task is the spine, while supporting material such as GitHub issues and Notion specs is retrieved as context behind it.

Two layers, one CLI: tasks and a knowledge graph. The task layer is record-based on purpose — every entry lives in one backend's projects and fields, and that backend stays authoritative. A record-based layer structurally cannot hold the other thing agents accumulate: durable knowledge written from any source, about mixed subjects, into one space. The knowledge-graph layer — ats kg (kg = knowledge graph) — is ATS's answer to exactly that: subject–predicate–object facts with provenance and temporal validity, proposed by agents from anywhere (a call, a task, a repo, a chat), ratified by a human, and queried in one place no matter which backend the surrounding work lives in. The built-in store is embedded and dependency-free. For a dedicated graph engine, the recommended pairing is Graphiti as the graph database server and LadybugDB as the embedded graph database: ats kg export --cypher emits a LadybugDB-loadable script (--dialect neo4j|falkordb for the server engines, re-runnable), and ats kg export --graphiti emits episode JSONL with the provenance record for a Graphiti ingest pipeline.

npm install -g @reneza/ats-cli @reneza/ats-adapter-ticktick
ats config use ticktick
ats auth login
ats find "deployment runbook"

Architecture and trust boundaries

ATS separates the authoritative record from the retrieval machinery around it:

AI client or operator
        |
        | local stdio, or token-gated HTTP when self-hosted
        v
ATS CLI / MCP server
        |
        +-- Core: task contract, links, lifecycle, ledger, events
        +-- Retrieval: keyword + native + optional dense branches -> RRF
        |
        v
Adapter boundary (auth, mapping, reads, patch-style writes)
        |
        +-- TickTick / Notion / GitHub / Airtable / Google
        +-- Obsidian / Taskmaster / Beads / OKF files
        |
        +-- derived retrieval state
            corpus cache + optional Qdrant/Ollama index
  • The backend remains authoritative. ATS does not ask users to edit a duplicate memory database. Writes go through the active adapter, which owns backend-specific authentication, field mapping, and deep links.

  • Retrieval state is derived, not canonical. Core keeps a five-minute corpus cache by default. Dense retrieval is optional: adapters can provide embeddings, and the TickTick reference adapter can use Qdrant plus Ollama. Without vectors, keyword and adapter-native branches still run.

  • Credentials stay at the adapter boundary. A composite adapter delegates authentication to each child and stores no additional cross-source credential. Its children still execute inside one ATS process; this is routing separation, not process isolation. Local stdio does not expose an MCP port. The hosted blueprint adds a bearer-token gateway, private Qdrant/Ollama services, and a separate public demo backend for the optional operator deck.

  • Core reports the failures it can see. Retrieval branches and top-level composite corpus failures return degraded and warnings. Known omission paths inside adapter fallbacks are called out under Tradeoffs and limits.

  • State changes are traceable. Results carry source provenance; find --explain exposes RRF contributions; writes use patch semantics, and supported writes can retain before-images for undo.

The corpus cache can contain full task records; the query log contains search text; the action ledger can contain write before-images; and Qdrant payloads can contain task text and metadata in addition to embeddings. ATS does not apply application-level encryption or runtime redaction to these copies. Scope host access, backups, retention, and deployment to the sensitivity of the underlying task systems. See retrieval, state integrity, and the deployment guide for the exact behavior.

Deployment choices

Mode

Retrieval

Trust and operations boundary

Local stdio

Keyword/native retrieval by default; dense retrieval only when the adapter provides it

The MCP endpoint is not network-exposed. Adapter calls may still reach their source systems; credentials and cache files stay on the machine running ATS.

Composite adapter

One combined child corpus; Core ranks keyword and unioned native-search branches, with RRF across those available branches. The composite does not currently expose child vector search.

Each child owns its auth and mapping but runs in the same ATS process. A top-level child corpus failure is reported as degraded; see the known fallback gaps below.

Hosted blueprint

Keyword/native retrieval plus private Qdrant/Ollama services

A bearer-token MCP gateway and separate optional operator-deck backend are public; Qdrant and Ollama stay on the private service network. Qdrant/Ollama have disks, while ats-mcp runtime files are ephemeral by default. You operate token rotation, persistence, backups, availability, and hosting cost.

“No migration” means no second source of truth. It does not mean zero derived storage.

Related MCP server: Sugar

How it compares

Approach

Authoritative record

Additional state

Retrieval

CLAUDE.md / memory files

Markdown maintained for the agent

The files themselves

Whole-file or harness-specific lookup

Separate memory service

Agent-specific database

A corpus and ingestion path to maintain

Product-specific

Plain backend connector

Source task app, repository, or vault

Usually none beyond connector state

Direct fetch or backend-native search

ATS

Source task app, repository, or vault

Cache, query/action/event state; optional derived vector index

Keyword + native + optional dense retrieval, RRF, provenance, typed context

ATS is a good fit when operational context already lives in task systems or connected work tools and agents need ranked, traceable retrieval across them. If clean Markdown is already the complete source of truth and whole-file loading stays small, a file-native workflow may be simpler.

What you get

  • A two-way bus. The agent reads the task fields an adapter provides; where the adapter supports writes, it writes results back where you'll see them.

  • First-fetch relevance. Capability-driven branches — keyword and adapter-native search, plus dense retrieval when available — are RRF-fused with provenance to reduce repeated search-and-refine loops. Every find carries a confidence verdict from branch agreement (--min-sources N is the matching gate), --project binds it to one project, a stale corpus cache answers immediately while it refreshes in the background, and an empty exact match (notes find, search, get) answers with the nearest items instead of nothing.

  • Writes that survive retries and concurrency. update --append / --prepend add to the body that is there; --if-match <contentHash> lands only while the body is unchanged; create --if-absent and --idempotency-key make a retried create return what the first one produced. Shared HTTP requests have deadlines and respect cancellation. Reads retry transient failures; mutations retry only explicit rate-limit rejections, so ambiguous failures do not replay a write.

  • Durable typed links. One agent attaches a decision / depends-on / output / supersedes link; a later agent in a fresh context receives it via ats context. The handoff lives in the task app, not a chat log.

  • Execution context. ats intent captures outcome/why/done-when; ats lifecycle keeps stale context from steering current work; ats security records scoped allow/deny decisions for cooperating clients; ats ledger records what an agent did and whether the task advanced; ats promote turns exploration into a committed goal; ats hierarchy evaluate checks local work still supports its parent.

  • Bounded events. ats events watch --json emits deterministic task.created/updated/completed/... NDJSON, spooled 0600 with pending/ack recovery and stable dedup IDs. ATS only emits observations — a consumer still evaluates intent, validity, and security before acting.

  • Task graph for agents. Tasks become structured nodes with proof, writeback, review, lifecycle, and link edges instead of free-form memory text; see docs/task-graph-for-agents.md.

  • A facts layer. ats kg keeps durable subject–predicate–object knowledge beside the tasks: agents propose (one triple, or a JSONL batch with --file), a human ratifies (the only write path), and ats kg ask answers with deterministic lexical scoring, a confidence verdict, and full provenance — no LLM, no graph server, an append-only file that travels with ats state export. A gate answers before anything is staged: a duplicate is a no-op, a contradiction needs --supersedes or --additive, a fact the reviewer declined needs --acknowledge-rejected (exit 4); ats kg pending shows the reviewer what each proposal would do. Retraction and supersession close a fact's validity interval instead of deleting it, --as-of answers what the store believed then, ats kg history shows a fact's chain, ats kg nodes shows what the store knows about whom, ats context carries the facts about a task, --semantic adds the adapter's embedder as an opt-in dense branch, and ats kg export speaks LadybugDB/Kùzu, Neo4j, FalkorDB and Graphiti.

  • Session-index handoff. Coding-agent session browsers can keep raw transcript analytics while ATS stores the durable task-linked summary; see docs/agent-session-index.md.

ATS-managed execution metadata can be encoded in the task body, with typed links under ## Related and consulted sources under ## References. Managed helpers are designed to preserve human-authored rows and links; update --content replaces the complete body, so callers that add to a body use --append / --prepend, present the contentHash they read with --if-match, and verify the result. npm run prove:intent runs a deterministic synthetic proof of the execution-context path.

For reliable automation and freshness workflows, see CLI reliability: scoped pagination, bounded requests, payload-bound retry/resume keys, and reviewed fact confirmations.

Minimal adapter-neutral workflow

  1. Select and verify an adapter: ats config use <adapter>, authenticate as its README describes, then run ats doctor.

  2. Retrieve the working set: ats find "deployment runbook" --json ranks the branches available from that adapter and retains provenance.

  3. Inspect the authoritative item and its context: ats context <project> <task> uses the common adapter contract and does not require an adapter-specific notes layer.

  4. Attach durable execution context: ats intent set <project> <task> --outcome "..." --done-when "a,b" and ats link add <src-project> <src-task> <dst-project> <dst-task> --type depends-on.

  5. Verify the assembled handoff: rerun ats context <project> <task> to read back linked decisions, dependencies, proof, lifecycle state, and relevant retrieval results.

  6. Write through the adapter or source app, then read back. Keep the authoritative backend current so the next agent receives durable state rather than a chat-only handoff.

Deploy it yourself

The optional operator deck is a static phone-oriented web app deployable to Cloudflare Pages. The supplied Render blueprint builds the MCP gateway/server plus private Qdrant and Ollama services.

Deploy to Render

After deploy, copy the auto-generated ATS_MCP_TOKEN from the ats-mcp service's Environment tab, point your MCP client at https://<your-mcp-url>/mcp with header Authorization: Bearer <ATS_MCP_TOKEN>, and set TICKTICK_ACCESS_TOKEN to read your real tasks. Prefer your own machine or a VPS? Same pieces as plain Docker containers — see the deploy guide.

Available adapters

Backend connectors let an agent reach Notion, GitHub, and task systems, but access alone does not provide one ranked answer to a question such as "what do I know about the auth migration?" ATS adds a common retrieval layer: the composite adapter combines installed child corpora, namespaces their project IDs, unions supported native-search results, and lets Core rank the available branches with provenance. Each child reads its own credentials, but all configured children execute in the same ATS process.

Adapter

Authoritative source

Retrieval or write notes

ticktick

TickTick OpenAPI v1

Keyword/native retrieval works without vectors; optional Qdrant + Ollama add dense retrieval.

obsidian

Local Markdown vault

File-native, patch-style writes preserve unknown frontmatter.

okf

Open Knowledge Format Markdown bundle

Local bundle.

taskmaster

Local .taskmaster/tasks/tasks.json

Repository-local task state.

beads

Repository-local Beads via bd --json

Dependency-aware local task state.

airtable

Airtable REST API (table = project)

Adapter-scoped API access.

google

Google Sheets / Docs / Slides

Read-only.

notion

Notion databases + pages

Integration-scoped access.

github

GitHub issues + discussions

Repository-scoped access.

composite

Installed child backends

Combines child corpora, namespaces project IDs, unions native-search hits, and routes writes; it is not an independent record store and does not currently expose child embeddings.

things / apple-notes / google-tasks

—

Wishlist, not implemented.

Per-adapter auth and mapping live in each package's README. PRs welcome — scaffold and verify against the contract:

ats adapter new linear              # writes a contract-complete skeleton
ats adapter test ./ats-adapter-linear   # pass/fail/skip per contract check

Beads in each repository

Run ATS inside the repository containing .beads; its directory name is the default project id. To address another repository explicitly, set its root and project id for that command:

cd /path/to/my-repo
ats config use beads
export ATS_AGENT_ID=worker-a BEADS_ACTOR=worker-a
ats tasks ready --json
ats update my-repo ISSUE --claim
ats link add my-repo ISSUE my-repo PREREQUISITE --type depends-on --native --dry-run

Use the same worker name for ATS_AGENT_ID and BEADS_ACTOR; Beads checks the claiming actor again when a claimed issue is completed.

From another directory, use ATS_ADAPTER=@reneza/ats-adapter-beads ATS_BEADS_ROOT=/path/to/my-repo ATS_BEADS_PROJECT_ID=my-repo ats tasks ready --json. Ready work contributes a named RRF branch; claims and native dependency writes use the existing review gate. See the Beads adapter guide for worker identities, dependency semantics, and the real CLI proof.

Tradeoffs and limits

  • Freshness is adapter-dependent. Core's corpus cache has a five-minute default TTL. Backend sync behavior, pagination, and inclusion of completed work vary by adapter; ATS does not promise universal real-time reads. ats cache sync refreshes the cache on demand (cron-friendly) — incrementally when the adapter implements bulkFetchDelta(), as a full refetch otherwise.

  • Dense retrieval adds infrastructure. Qdrant and Ollama can improve semantic recall, but they add indexing, persistence, resource, and backup work. Baseline find still returns keyword/native results when vectors are unavailable, although an attempted vector branch can make the response degraded; vector-only hybrid and similar operations still require that infrastructure.

  • The common contract is intentionally small. The adapter interface defines six storage methods plus authentication lifecycle hooks, while practical write coverage, richer fields, and native search vary. Check the adapter README before assuming parity across backends.

  • Degraded results are still partial results. ATS reports failed or timed-out Core branches, dropped corpus sources — including per-project failures inside a composite fallback fetch and TickTick project fetches — and native-search sources a backend could not read. The caller must still decide whether partial context is acceptable; warnings says what is missing, not whether it mattered.

  • Composite search is not semantic deduplication. ats dedup is a separate analysis command. Fusion identity is namespaced per backend (<backend>:<taskId>), so identical raw ids from different backends stay distinct results; semantically duplicate tasks still appear separately until you link them.

  • The hosted blueprint is a reference deployment, not a managed service. One bearer token grants the full MCP tool surface; the blueprint does not provide per-user or per-tool scopes, multi-tenant RBAC, high availability, or an SLA.

  • Hosted ATS runtime state is ephemeral by default. The blueprint persists Qdrant and Ollama, but does not mount a disk for ats-mcp; its cache, query log, action ledger and undo before-images, event spool, and vector-sync metadata disappear on a restart or redeploy.

  • Events are observations, not authorization. ats events watch can report task changes, but a consumer must still evaluate intent, validity, and security before taking an external action.

  • The facts layer is lexical by default and human-gated. ats kg ask is deterministic keyword scoring with provenance and a confidence verdict; --semantic adds the active adapter's embedder as an opt-in dense branch and needs one. Nothing reaches the fact store without human ratification — a burst of agent proposals waits for review by design — and nothing that duplicates, contradicts, or repeats a declined fact reaches the review queue without saying so.

  • ATS policy is not a sandbox. The CLI enforces the declared approval metadata — a write whose target sets intent.approvalRequired or lists the action in security.approvalRequiredFor stages into ats review instead of reaching the backend (ATS_REVIEW_ALL=1 gates every write) — but this guards ATS's own write path only. ats security check remains an application-level decision point for cooperating clients, and nothing here intercepts shell, filesystem, network, model, or secret access outside ATS. A client calling an adapter directly bypasses the CLI gate.

Verification and operational evidence

The 50-question synthetic recall benchmark compares identical memories and queries against ATS and Engram v2.2.1:

Retrieval Path

Recall@5

ATS keyword only

12/50 (24%)

ATS local dense + sparse, hybrid RRF

47/50 (94%)

Engram SQLite FTS5, default all

20/50 (40%)

Engram SQLite FTS5, any

32/50 (64%)

Engram and ATS hybrid both recalled all exact-title and terse-query targets. This small author-written fixture tests raw natural questions over ten distinct decision memories; it does not establish overall product superiority. The hybrid result requires local embeddings, though it needs no vector database or hosted model key. Dataset, raw output, failures, and reproduction steps are linked above.

  • CI runs the full repository gate on Node 20 and 22: lint, public-claim checks, PII checks, unit tests, adapter and intent proofs, and the progress benchmark.

  • The publish-safety gate scans both the repository surface and npm package tarballs for secrets, personal paths, configured personal-data patterns, and locally configured denylist terms. It protects publication surfaces. At runtime, the composite adapter can additionally enforce per-backend trust levels with configured redaction patterns — a write routed to a "trust": "public" child that matches a pattern is blocked, not silently stripped (see the composite README). That screen guards ATS's own composite write path; it is not general data-loss prevention.

  • State-integrity tests and conventions cover patch-style writes, preservation of unknown fields, explicit store-to-Task mapping, result provenance, and explainable RRF contributions.

  • Retrieval behavior documents Core's branches, the corpus cache, time budgets, graceful branch failure, usage logging, and what affects latency.

These gates verify repository behavior; they are not a production availability or security certification.

CLI surface

# Lifecycle
ats init [adapter]                  # select an adapter and run a health check
ats config use <adapter>            # switch the active adapter
ats auth login                      # delegate login to the active adapter
ats doctor                          # inspect adapter and service health

# Retrieval  (any read command takes --json for piping to jq / agents)
ats find <query> [--explain]       # parallel + RRF + provenance + confidence verdict — DEFAULT
ats find <query> --project <id|name>   # bind retrieval to a project (--projects a,b for several)
ats find <query> --min-sources 2   # keep only results two branches agree on
ats find <query> --fresh           # refresh a stale corpus cache before answering
ats open <project> <task>          # open any adapter item by explicit ids
ats context <project> <task>       # task + valid linked/retrieved context
ats context <project> <task> --brief  # one line per related task and fact, for hooks
ats link list <project> <task>     # list portable typed links
ats hybrid <query>                 # dense+sparse retrieval when embeddings exist
ats similar <id>                   # related items when embeddings exist

# Notes-layer shortcuts (currently TickTick and Obsidian)
ats get <id-or-title> [--extract raw|json|yaml]
ats url <id-or-title>              # paste-ready note cross-reference
ats links <project> <task>         # resolve deep-links in a note body

# Authoring
ats create "<title>" [--content ..][--project <id>]
ats create <project> "<title>" --if-absent --idempotency-key <k>   # never a duplicate on retry
ats update <project> <task> [--content ..][--title ..]
ats update <project> <task> --append "- 2026-09-05: shipped" --if-match <contentHash>   # add to the body; write only if unchanged

# Agent execution context (portable across adapters)
ats intent set <project> <task> --outcome ".." --done-when "a,b"
ats promote <src-proj> <src-task> <target-proj> --outcome ".." --done-when "a,b"
ats hierarchy set <project> <task> --kind task
ats hierarchy evaluate <project> <task>
ats lifecycle set <project> <task> --status active --valid-until 2026-12-31
ats link add <src-proj> <src-task> <dst-proj> <dst-task> --type decision --dry-run --explain
ats graph <project> <task> --depth 3 --max-nodes 500
ats context <project> <task>
ats snapshot <project> <task> --depth 3 --max-nodes 500  # content-addressed context with completeness
ats history <project> <task>                   # revisions and field-level changes
ats history <project> <task> --restore <revision> --dry-run

# Facts layer (proposed by agents, ratified by you)
ats kg propose "Acme GmbH" "prefers" "invoices as PDF" --domain sales --source "call 2026-08-01"
ats kg propose "Acme GmbH" "prefers" "invoices as XML" --domain sales --supersedes <fact-id>  # replaces, in one ratification
ats kg propose --file facts.jsonl --domain sales   # one JSON object per line, every line through the gate
ats kg propose "Acme GmbH" "signed" "renewal" --source task://<project>/<task> --tier action-record
ats kg pending                                     # what each queued proposal would do to the graph
ats review approve <id> && ats kg ratify --all     # approval comes from someone other than the proposer
ats kg verify                                      # recheck every fact's source; exit 2 when one is gone or changed
ats kg ask "what does Acme prefer" --domain sales --json            # + confidence.verdict
ats kg ask "what does Acme prefer" --domain sales --as-of 2026-06-30 # what the store believed then
ats kg ask "invoices" --center "Acme GmbH" --semantic               # anchored on one entity, embedder-backed
ats kg nodes acme                                  # what the store knows about whom
ats kg history <fact-id>                           # events and supersession chain
ats kg export --cypher > facts.cypher      # load into LadybugDB / Kùzu, full provenance on every fact
ats kg export --dialect falkordb           # openCypher for FalkorDB / Neo4j, re-runnable
ats kg export --graphiti > episodes.jsonl  # Graphiti episodes with the provenance record
ats kg export --cypher --include-retracted # closed facts too, with tInvalid and who closed them
ats ledger record <project> <task> --action release.verified --advanced true
ats ledger list --actor-kind agent --session <id>   # who acted, agent or human, in which session
ats ledger verify                                   # hash-chained ledger; prints head for --expect-head
ats security set <project> <task> --trust trusted --allow-actions read --allow-resources task:self
ats security check <project> <task> --action read --resource task:self --reason "load context"
ats events watch --json            # NDJSON observations; never launches agents

# Ops
ats create --input task.json --dry-run       # strict JSON file, or --input - for stdin
ats batch changes.jsonl --dry-run             # validate a mutation batch
ats batch changes.jsonl --journal run.jsonl   # apply and resume by stable item id
ats state doctor                              # validate local schemas and file permissions
ats state import bundle.json --force --dry-run
ats auth status --non-interactive             # bounded to 15s; override with --timeout-ms
ats tasks completed 30 --projects <id> --require-complete   # every completion in the window, paged
ats review list                 # writes staged by approvalRequired targets
ats review approve ID && ats review apply --all
ats cache sync                  # refresh the corpus cache (find also refreshes a stale one in the background)
ats cache status                # age, stale / servable / revalidating
ats bench run
ats bench score
ats bench progress --json
ats bench analyze-usage --days 7
npm run prove:intent
npm run prove:taskmaster
npm run prove:beads
npm run prove:progress

Reviewed task writes bind approval to the exact staged payload and check the current task revision before applying. Only one process can claim an item. Inspect ats review list --all after an interrupted apply: applying or failed items require checking the backend before staging a fresh proposal. Older approvals without payload digests must also be staged and approved again.

For automation that requires a complete read, use ats find QUERY --require-complete --fresh --json. Stale, degraded or explicitly incomplete results keep their JSON output and exit 2; ordinary reads preserve their existing permissive exit behavior. Doctor supports the same strict option and bounds each probe: ats doctor --timeout-ms 1000 --require-complete --json. State import validates recognized file contents and any supplied checksums even with --dry-run, before writing any file.

Use it from any MCP client (Claude Code, Claude Desktop, Cursor, Windsurf, OpenCode)

@reneza/ats-mcp exposes the active adapter as a tool set spanning retrieval, CRUD, and execution context (find, get_task, create_task, set_task_intent, add_task_link, resolve_task_links, context_for_task, record_action, undo_write, poll_task_events, and more). For Claude Code this provides persistent context between sessions without replacing the task system as the source of truth; optional caches and vector indexes remain derived retrieval state.

ATS speaks MCP over stdio, so any client that can launch a stdio MCP server works. Only the config file and the wrapper key differ; the binary (ats-mcp) and its ATS_ADAPTER env are the same everywhere.

Client

Where the config lives

Wrapper key

Claude Code

claude mcp add (below)

n/a

Claude Desktop

claude_desktop_config.json

mcpServers

Cursor

~/.cursor/mcp.json

mcpServers

Windsurf

~/.codeium/windsurf/mcp_config.json

mcpServers

OpenCode

opencode.json

mcp (shape differs, below)

# Claude Code
claude mcp add ats -e ATS_ADAPTER=@reneza/ats-adapter-ticktick -- ats-mcp
// Claude Desktop / Cursor / Windsurf — identical `mcpServers` shape
{
  "mcpServers": {
    "ats": { "command": "ats-mcp", "env": { "ATS_ADAPTER": "@reneza/ats-adapter-ticktick" } }
  }
}
// OpenCode (opencode.json) — local stdio server, note `command` is an array
{
  "mcp": {
    "ats": {
      "type": "local",
      "command": ["ats-mcp"],
      "environment": { "ATS_ADAPTER": "@reneza/ats-adapter-ticktick" },
      "enabled": true
    }
  }
}

Install the binary on PATH first (npm i -g @reneza/ats-cli), or use an absolute path to ats-mcp if your client does not inherit your shell PATH.

Conventions

  • Wiki project. A designated project (default Permanent Notes) holds durable knowledge; others hold ephemeral tasks.

  • Agent-data notes = a note whose body has a fenced json / yaml block, extracted via ats get <title> --extract json.

  • Cross-references = adapter-native deep links — generate with ats url <title>, don't hand-write.

  • Full pattern: docs/wiki-conventions.md.

State integrity

ATS tests managed metadata rewrites for preservation of human-authored fields, requires explicit store-to-Task mapping, and carries result provenance (sources, find --explain). Coverage and raw-update behavior remain adapter-specific. A publication-safety gate (check-no-pii.mjs) fails the build when covered personal-data patterns appear in repository or package surfaces. Full note: docs/state-integrity.md.

For the agent-side operating model, see docs/task-graph-for-agents.md: task text is the human projection, but the execution layer needs structured links, proof commands, review requirements, and writeback targets.

Working on ATS

Contributions welcome — bug fixes and especially new adapters under packages/adapter-*. See CONTRIBUTING.md for the dev setup and adapter pattern, and AGENTS.md if you drive a coding agent over the repo. Working on the source, pi-codegraph gives your agent a call-graph of the monorepo — the adapter pattern and the blast radius of a core change — so it stops re-reading the whole tree each session.

Releases and license

v0.17.0 adds blocker-aware Beads ready retrieval, named atomic claims, native dependency writes, and real CLI concurrency checks. It also fixes named undo selection and refreshes compatible dependencies. Full history: CHANGELOG.md.

MIT. See LICENSE.

If ATS is useful, consider a ⭐ — it helps others find it.

Available Tools

32 tools
acknowledge_task_eventsA

WRITE/LOCAL. Explicitly acknowledges one or more durable task-event ids and removes them from the pending spool. Unknown ids are reported without failing known acknowledgements.

Inputs: eventIds (required).

add_task_referenceA

WRITE. Adds a resource the task consults (an external URL or a reference note) to its "## References" section. Use this for links and supporting notes; use add_task_link for relationships to other active tasks. Re-adding the same url updates its title/desc.

Inputs: url (required), taskId (required), projectId (required), desc, +2 more.

check_task_accessA

WRITE/AUDIT. Evaluates one task-scoped access request and appends an allow or deny record. Requires an action, resource, and reason. Denial wins over allowance; untrusted high-risk actions and configured boundaries require approval. Fails closed if auditing fails.

Inputs: action (required), reason (required), taskId (required), resource (required), +3 more.

context_for_taskA

Read-only. Builds execution context for a task. Typed relationships come first, retrieval adds candidates, invalid lifecycle items are excluded, and every included item carries provenance.

Inputs: taskId (required), projectId (required), limit.

create_taskA

WRITE. Creates a new item (task/note) in the store — the agent→human write side of the two-way bus. Use to hand the human a note, action, or reminder. Side effect: a new item appears in their task app immediately. Returns the created item including its new id. To change an existing item instead, use update_task.

Inputs: title (required), tags, agent, content, +2 more.

evaluate_task_hierarchyA

Read-only. Deterministically checks whether a task still supports its parent objective and reports invalid role ordering, missing intent, cycles, invalid lifecycle state, and active explicit conflicts.

Inputs: taskId (required), projectId (required), maxDepth.

findA

Read-only. Search the task store by free-text QUERY using available adapter signals plus Core keyword retrieval, fused via Reciprocal Rank Fusion. Adapters with embeddings add dense+sparse hybrid retrieval. Returns best-matching items with provenance. Use this for "what do I have about X". To find items like a KNOWN item instead, use similar. Read-only: never writes.

Inputs: query (required), limit, explain.

get_taskA

Read-only. Fetch one item (task/note) by its project id + task id, including the full markdown body, tags, and due date. Use after find/list_projects give you the ids. Returns the single item object, or an error if not found.

Inputs: taskId (required), projectId (required).

get_task_hierarchyA

Read-only. Returns the item role and its explicit parent relationship. Roles are exploration, goal, project, task, or unspecified.

Inputs: taskId (required), projectId (required).

get_task_securityA

Read-only. Returns the portable trust, action, resource, denial, approval, and approver policy for one task. Unconfigured tasks default to untrusted content and no granted access.

Inputs: taskId (required), projectId (required).

list_actionsA

Read-only. Lists action-ledger records, optionally filtered by task, agent, action, or advancement.

Inputs: agent, limit, action, taskId, +2 more.

list_pending_task_eventsA

Read-only. Lists durable task-event envelopes that have not been acknowledged by a consumer. Task bodies are not stored in the spool.

Inputs: limit.

list_projectsA

Read-only. List the projects / folders in the store, each with its id and name. Call this first to discover the projectId you need for get_task, create_task, or update_task. Returns an array of { id, name }.

Inputs: no named parameters.

list_task_referencesB

Read-only. Lists the resources (external URLs and reference notes) in a task's "## References" section.

Inputs: taskId (required), projectId (required).

poll_task_eventsA

WRITE/LOCAL. Diffs the current task corpus, durably stages deterministic event envelopes, then advances the checkpoint. Returns newly observed events plus the unacknowledged pending spool. Events are observation-only and must be acted on separately under normal ATS intent and security checks.

Inputs: dueWithinHours.

promote_explorationB

WRITE. Creates a committed execution item from exploratory material. The source body is not copied; the new item receives explicit outcome/completion metadata and an evidence link back to the source.

Inputs: outcome (required), doneWhen (required), sourceTaskId (required), sourceProjectId (required), +14 more.

record_actionA

WRITE. Appends an auditable agent action or outcome to the local ATS JSONL ledger, including sources, approvals, output, and whether the task advanced.

Inputs: action (required), taskId (required), projectId (required), agent, +4 more.

relate_taskA

WRITE. Auto-routes a relevant target into the right section by what it is: an active task goes to "## Related" (a typed link), a note goes to "## References", and a completed task is refused. Prefer this when you just know a target is relevant and do not want to choose the section yourself. Returns routedTo: "related" | "references".

Inputs: sourceTaskId (required), targetTaskId (required), sourceProjectId (required), targetProjectId (required), +3 more.

remove_task_referenceA

WRITE. Removes a reference (by url) from a task's "## References" section. Returns removed=false when the url was already absent.

Inputs: url (required), taskId (required), projectId (required), agent.

set_task_hierarchyB

WRITE. Assigns an exploration/goal/project/task role and optionally replaces or clears the single explicit parent relationship.

Inputs: taskId (required), projectId (required), kind, agent, +3 more.

set_task_intentB

WRITE. Adds or updates portable execution intent inside the task body: desired outcome, why it matters, completion conditions, authority, constraints, and approval requirement. Preserves the human-authored body and works through every ATS adapter.

Inputs: taskId (required), projectId (required), why, agent, +5 more.

set_task_lifecycleB

WRITE. Sets portable lifecycle state and validity windows. Archived, expired, future, and superseded tasks are excluded by context assembly.

Inputs: taskId (required), projectId (required), agent, status, +2 more.

set_task_securityB

WRITE. Sets a portable task security policy. This policy is a decision point for cooperating clients; it does not sandbox unrelated external tools.

Inputs: taskId (required), projectId (required), agent, approvers, +5 more.

similarA

Read-only. Find items semantically similar to a KNOWN item, given its id (not a text query — for text search use find). Useful for "show me related notes to this one" or dedupe. Requires an embedder-backed adapter (e.g. TickTick); returns a clear error on adapters without embeddings. Returns an array of items ranked by similarity.

Inputs: taskId (required), limit.

snapshot_task_eventsA

WRITE/LOCAL. Creates or replaces the local corpus-diff event checkpoint. This only observes task state; it never launches an agent or performs an external action.

Inputs: dueWithinHours.

task_graphA

Read-only. Traverses typed incoming and outgoing task relationships around one task. Returns nodes, edges, lifecycle validity, and unresolved references.

Inputs: taskId (required), projectId (required), depth.

undo_writeA

WRITE. Reverses a recorded write using the before-image the ledger captured: restores an updated task to its prior state, or deletes a task that was created. Omit actionId to undo the most recent undoable write. Pass dryRun to preview the plan without changing anything. Records a compensating action.reverted entry.

Inputs: dryRun, actionId.

update_taskA

WRITE. Patches an existing item (partial update) — only the fields you provide change; omitted fields are left untouched. Side effect: the item is modified in the human's task app. Requires the item's projectId + taskId (get them from find or list_projects). Returns the updated item. To create a new item instead, use create_task.

Inputs: taskId (required), projectId (required), tags, agent, +3 more.

url_forA

Read-only. Build a paste-ready deep link (a URL string) to an item in its native app, so you can hand the human a clickable reference. Does not open anything or write — pure id→URL construction. Returns the URL as a string.

Inputs: taskId (required), projectId (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 32 tools

    Disambiguation4/5

    Most tools are clearly scoped to a distinct operation (CRUD, lifecycle, security, linking, events), and ambiguous pairs like find vs. similar are explicitly disambiguated. Minor overlap remains between add_task_link, add_task_reference, and relate_task, as well as task_graph vs. context_for_task, but the descriptions give enough guidance to avoid serious misselection.

    Naming Consistency4/5

    The naming convention is predominantly snake_case verb_noun with predictable set_/get_/list_/create_/update_/remove_ prefixes. A few tools break the pattern—find, similar, url_for, task_graph, context_for_task—but these are readable and not chaotic.

    Tool Count2/5

    32 tools is well past the 25+ threshold and creates a heavy surface for an agent to choose from. Many tools represent distinct subdomains, but the overall count feels bloated; consolidating related operations or naming grouped tool families would make the set more usable.

    Completeness4/5

    The server covers task CRUD, lifecycle, hierarchy, intent, security, relationships, references, context building, search, deduplication, deep links, action ledger, undo, and event observation—an unusually broad and complete surface. Minor gaps exist, such as no explicit delete_task operation and no straightforward list_all_tasks beyond search or project listing, but agents can work around these with existing tools.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding agents to save and recall persistent project and cross-project context across sessions through semantic search over a local SQLite store, with no external API keys required. Optionally exposes a task queue so agents can pick up, execute, and commit queued work autonomously.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Provides a local-first persistent memory layer that AI coding agents can read and write during sessions, enabling semantic search and recall of project decisions, preferences, error patterns, research, and cross-project guidelines stored in local SQLite. It also exposes an optional task queue and orchestration tools for delegating autonomous coding work that reuses the same stored context.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI coding agents to read and write persistent, local-first memory so project decisions, preferences, and cross-project guidelines survive across sessions and can be retrieved by semantic search. Optionally also exposes a task queue for autonomous execution that draws on the same stored context.
      -