Skip to main content
Glama

Shared project memory and task handoffs for MCP-compatible coding agents. One agent records the work; the next reads the context before continuing. Run it on your computer or a team server, with a React dashboard and local SQLite storage.

Website · npm · Documentation · GitHub · Contributing

Early release: 0.4.0 · Node.js 24+ and npm · MIT license

Node.js 24+ React SQLite Next.js Tailwind CSS npm package

The published package is @suyashb/agent-context. The executable is agent-context. No Python, cloud model or model API key is required by the server; your coding agent may have its own requirements.

Get started

Install from the public npm package and start the service:

npm install -g @suyashb/agent-context
agent-context

Keep that terminal open. In a second terminal, retrieve the access token:

agent-context token

Open http://127.0.0.1:8765/dashboard, paste the token, create a project and open Connect agents. The token stays in page memory, so enter it again after reloading. Stop the service with Ctrl+C.

To pin the current release, install @suyashb/agent-context@0.4.0. The unscoped package agent-context-mcp belongs to another maintainer.

Install a downloaded package

Download suyashb-agent-context-0.4.0.tgz from the official website. From the folder containing that file:

npm install -g ./suyashb-agent-context-0.4.0.tgz
agent-context

Then retrieve the token and open the dashboard as above. An ENOENT error means npm cannot find the archive at the path supplied.

Run from source

From the repository root:

npm ci
npm run build:runtime
npm start -- --db ./data/dev.sqlite3

In a second terminal, from the same directory:

node bin/agent-context.mjs token --db ./data/dev.sqlite3

This builds the MCP service and local React dashboard without a global install. To create an installable archive from your checkout:

npm pack --ignore-scripts --pack-destination dist/npm
npm install -g ./dist/npm/suyashb-agent-context-0.4.0.tgz

A locally packed archive can contain changes beyond the published release. Website downloads preserve the exact published npm archive; changing the repository does not replace version 0.4.0 on npm.

Related MCP server: Project Relay

Connect your agents

Use an MCP-compatible host over stdio or Streamable HTTP. Configuration examples cover Claude Code, Codex, Cursor, VS Code/Copilot, Gemini CLI and generic MCP clients. This does not mean every client version has been tested.

For agents on the same computer, generate settings with the same absolute database path used by your dashboard:

agent-context config --client generic --db /absolute/path/to/shared/context.sqlite3

Use --client cursor, --client vscode or --client gemini for those wrappers. Merge the generated entry into existing settings; the command does not edit files. Enable the tools and start a fresh agent session. See client setup for client-specific instructions.

Each stdio client starts its own agent-context stdio process against the same local database. It does not need an HTTP token or a separate dashboard process. Remote clients connect to the shared host’s /mcp endpoint with its token.

Leave a useful handoff

Read context, claim a task, record progress, then leave a handoff for the next agent

Use the same project ID across agents and a unique agent ID per session. Add these instructions to the instruction file your client reads, preserving its existing content:

Use agent-context MCP for project ID "my-project".
Use a unique agent_id per session.
Read get_context and list_tasks before editing; create the project if needed.
Claim a task and renew its lease before expiry.
Record progress, decisions, changed files, and exact test results.
Before stopping, record a handoff and complete or release the task.

Check the connection by asking one agent to record a test handoff and another to read it from the same project. Agents must inspect the repository and write their findings. The server does not capture conversations or scan code automatically. A useful record includes what changed, what was verified and what the next agent should do.

What it stores

  • Persistent project context, decisions, test reports and handoffs.

  • Task claims with expiring leases, optimistic versions and safe retry IDs.

  • Paginated history with literal search.

  • Project, task, agent and activity records visible in the React dashboard.

  • Consistent backups and database integrity checks.

Illustration of a project record, handoff, task lease and shared local memory

Product illustration with example data. This is not a screenshot of a live instance or the public website.

Work with your team

Run one shared server with a database on its local disk. Teammates keep their own agents and models and connect using Streamable HTTP.

Connection

Suitable for

Same Wi-Fi / LAN

One private office or home network

Private VPN

Teammates in different locations

SSH tunnel

A host the team can already reach over SSH

HTTPS server

An always-on team service

The team guide covers commands, allowlists, firewall settings and token setup. Plain LAN HTTP is unencrypted; use a VPN, SSH tunnel or HTTPS for routine access. Keep SQLite on a local disk, never on a network drive. Teammates use the shared host’s token rather than a token from their own server.

Current limits

Every token holder can read and write every project in an instance. Agent IDs are self-reported, and task claims do not lock source files. There are no individual accounts, OAuth, project permissions or automatic conversation capture. Use separate instances for unrelated trust groups.

Read SECURITY.md before exposing a shared instance. Local models also need reliable tool calling and an MCP-capable host; see compatibility.

Documentation

Task

Guide

Find a starting point

Documentation index

Connect an editor or agent

Client setup

Check systems and local models

Compatibility

Connect teammates

Team connections

Configure, containerize, back up or upgrade

Operations

Look up commands and MCP tools

Reference

Fix installation or connection errors

Troubleshooting

Understand the implementation

Architecture

Work on the product website

Website development

Publish a release or deploy

Maintainer guide

Public website and local service

https://agentcontext.suyashb.me hosts the product website, documentation and downloads. Users run the MCP service and dashboard locally or on a team server. Vercel hosts the public website; it does not run the persistent SQLite service.

The website uses Next.js App Router, Tailwind CSS and Framer Motion. Landing copy, the example handoff and roadmap items live in site/src/content.js; app/identity.css defines its restrained dark/light design. See website development for contributor preview instructions.

Build

Purpose

npm run build:runtime

Bundle the MCP service and local React dashboard into build/npm/

npm run build

Build release artifacts and the public website; check docs, pages and downloads

For Vercel, import the repository root (./), use the Next.js preset, Node.js 24.x, build command npm run build, and Output Directory .next, as configured in vercel.json. The Next.js adapter reads its manifests from .next/; out/ remains the static export used for local checks. Setting Vercel’s Output Directory to out causes NEXT_NO_ROUTES_MANIFEST.

Repository and website updates do not change the already published npm package. A new package release requires a new version. Check the intended commit’s CI, live downloads and npm publication using the release guide before announcing a launch.

Contribute or get help

Use GitHub issues for reproducible bugs and feature proposals. Read CONTRIBUTING.md, community expectations and the roadmap. Report vulnerabilities privately through SECURITY.md.

The earlier Python prototype is historical. Its agent-context-mcp executable is distinct from this release’s agent-context. Keep an explicit --db when migrating an existing database; see the legacy guide.

MIT license · Maintained by Suyash Balasubramaniam

Available Tools

10 tools
claim_taskB

Atomically claim or renew a task for 30–86400 seconds. Read its latest version first.

Inputs: task_id (required), agent_id (required), project_id (required), expected_version (required), +1 more.

create_projectB

Create a project with a stable lowercase slug; identical retries are safe.

Inputs: name (required), project_id (required), description.

create_taskB

Create a pending task. Use request_id for safe retries; check list_tasks for existing work.

Inputs: title (required), agent_id (required), project_id (required), files, +2 more.

get_contextB

Start here: bounded overview of recent work, decisions, handoffs and open tasks.

Inputs: project_id (required), limit.

get_updatesB

Read events oldest first after a cursor. Save next_cursor; continue while has_more.

Inputs: project_id (required), limit, after_event_id.

list_projectsC

Find shared projects. Follow next_offset until null for all projects.

Inputs: limit, offset.

list_tasksC

Read task versions and owners. status: all/pending/in_progress/blocked/completed.

Inputs: project_id (required), limit, offset, status.

record_updateA

Append progress, decision, handoff, blocker, test or note. Use request_id for safe retries.

Put rationale, tests and next steps in details; reference relative files and a commit/branch. This records what you report; it does not inspect code or execute tests.

Inputs: kind (required), summary (required), agent_id (required), project_id (required), +5 more.

search_contextC

Search literal text in summaries, details and files. Follow next_before_event_id.

Inputs: query (required), project_id (required), limit, before_event_id.

update_taskA

Update your live claim: pending releases, completed finishes, blocked retains the lease.

All changes require the latest version. in_progress/blocked do not renew the lease. Put completion evidence, blockers or a handoff explanation in summary.

Inputs: status (required), summary (required), task_id (required), agent_id (required), +2 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 10 tools

    Disambiguation4/5

    The two resources (projects/events vs. tasks) are cleanly separated, and record_update vs. update_task are distinguishable by their descriptions (append-only event log vs. live task lease). The main soft spot is get_context vs. get_updates vs. search_context, which all return context-ish data and rely on prose to differentiate them.

    Naming Consistency5/5

    Every tool follows a consistent snake_case verb_noun pattern (create_project, list_projects, get_context, record_update, claim_task, update_task), with parallel create/list pairs for both resources. The verbs are semantically appropriate rather than mechanically duplicated, which is a plus.

    Tool Count5/5

    Ten tools is well within the sweet spot and each maps to a distinct operation (two project ops, three read/search ops, one record op, four task ops). Nothing feels redundant or missing at the count level.

    Completeness4/5

    The core lifecycle is covered: project creation/listing, an event log with cursor-based reads and search, and a full task flow from create through claim to completion. Gaps exist — no get_project/get_task for a single record and no archive/delete or explicit lease-release operation — but agents can work around these via list_tasks/list_projects and update_task.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents in different editors and MCP clients to share messages, project context, notes, task ownership, handoffs, and advisory file claims through a local SQLite-backed coordination server. Supports MCP stdio, MCP Streamable HTTP, a JSON HTTP API, and a local CLI for multi-project agent collaboration.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Lets multiple AI agents and parallel coding sessions share one memory and task ledger, so they can claim work instead of duplicating it, resume each other's handoffs and reasoning, and use credentials without ever seeing the keys. Connects assistants such as Claude Code, Codex, Cursor, Gemini, ChatGPT and custom agents over MCP, backed by a single local SQLite file or a self-hosted Postgres hub.
      41
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Local-first task and progress database shared by developers and coding agents. Agents claim ready tasks over MCP, record progress and handoffs,and submit commits for independent review; developers confirm, prioritize, and approve work in a local web dashboard. Data stays in a SQLite file inside your project, with no cloud service or account required.
      15
      29 npm
      13
      Apache 2.0