
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server for Context Capsule that creates and fetches short-lived handoff capsules via the hosted API, letting an agent pass task state between coding agents or machines.
MCP server for sharing short-lived coding-agent handoff capsules is cataloged as an MCP server attributed to johnny-z13. An MCP server for Context Capsule that creates and fetches short-lived handoff capsules via the hosted API, letting an agent pass task state between coding agents or machines. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for sharing short-lived coding-agent handoff capsules are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Creating a capsule through the MCP server requires a CONTEXTCAPSULE_API_KEY, but fetching capsules is public.
Hosted capsules are public to anyone with the ID or URL until they expire, and require explicit consent.
README.md · 8748beba3c9d · 采集于 2026-11-13 13:01:58 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Switch coding agents without losing the thread.
Context Capsule is an open-source, local-first Agent Skill for handing a live coding task from Codex to Claude Code, Cursor, another agent, or your future self. It records the minimum useful state: repository identity, decisions, constraints, verification, blockers, and one concrete next action.
The receiving agent checks whether the handoff is still compatible before trusting it.
Website · Skill source · Current direction · Example handoff · Optional hosted API · ProofSlip
npx skills add Johnny-Z13/context-capsule --skill contextcapsule-handoff
The skill uses an open SKILL.md plus a dependency-free Node helper. It is intended for Codex, Claude Code, Cursor, and other tools that support the Agent Skills format.
Example prompts:
Create a Context Capsule before I switch this task from Codex to Claude Code.
Resume from .contextcapsule/latest.json, but check whether it is stale first.
No account, API key, database, or upload is required for the local workflow.
The coding-handoff/v1 format contains:
| Lane | What it answers |
|---|---|
| Objective | What outcome are we trying to reach? |
| Current status | What is complete, partial, unverified, or out of scope? |
| Repository | Which remote, branch, HEAD, and working-tree fingerprint does this describe? |
| Decisions | What choices must the next agent preserve? |
| Constraints | What must it not do or assume? |
| Verification | What command and result were observed or merely reported, and when? |
| Blockers | What still needs authority, credentials, another person, or external state? |
| Next action | What single bounded step should happen next? |
| References | Which ProofSlip proofs, issues, or pull requests are relevant? |
It is a handoff, not a transcript, general memory store, autonomous orchestrator, or source of truth for claims.
The skill normally drives these commands for you. They are documented here so the behavior stays inspectable.
node .agents/skills/contextcapsule-handoff/scripts/contextcapsule.mjs \
capture --repo /path/to/repository
Capture is read-only. It records sanitized repository metadata and bounded changed filenames. It does not read or copy source-file contents.
Prepare a semantic input file following the format reference, then:
node .agents/skills/contextcapsule-handoff/scripts/contextcapsule.mjs \
create \
--repo /path/to/repository \
--input /path/to/handoff-input.json
Default output:
.contextcapsule/
├── latest.json
├── latest.md
├── previous.json # when an older capsule existed
└── previous.md
The helper must be run only after the user approves the write location. It does not edit .gitignore automatically.
node .agents/skills/contextcapsule-handoff/scripts/contextcapsule.mjs \
resume \
--repo /path/to/repository \
--capsule /path/to/repository/.contextcapsule/latest.json
The result is one of:
compatible — repository identity and recorded state still match.stale — same repository, but the branch, HEAD, working tree, files, or expiry changed.mismatched — the handoff describes another repository.unverifiable — current repository state could not be inspected.A stale capsule can still preserve its objective, decisions, and constraints. Re-check changed files, verification, blockers, and next action before continuing.
.contextcapsule/, changing ignore rules, or uploading.The default local and hosted expiry is 24 hours. The maximum hosted expiry is 7 days.
The products stay separate and connect through an optional reference:
Put ProofSlip IDs in references.proofslip_ids only when a handoff claim has relevant independent evidence. The next agent still needs to fetch and inspect the proof; an ID alone does not make a claim verified.
The existing Hono/Postgres API remains available when you explicitly need a short-lived handoff URL for another machine or person. It is optional transport, not the default authoring experience.
curl -X POST https://www.contextcapsule.ai/v1/auth/signup \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com"}'
API keys use the ak_ prefix.
curl -X POST https://www.contextcapsule.ai/v1/capsules \
-H "Authorization: Bearer ak_your_key" \
-H "Content-Type: application/json" \
-d '{
"summary":"Refresh-token migration implemented; staging is not verified",
"decisions":["Keep the legacy endpoint for three consumers"],
"next_steps":["Run the staging smoke test","Ask before release"],
"payload":{"schema_version":"coding-handoff/v1"},
"refs":{"receipt_ids":[]},
"expires_in":86400,
"idempotency_key":"refresh-handoff-81d9c1a",
"audience":"human"
}'
Response fields include capsule_id, capsule_url, summary, decisions, next_steps, created_at, expires_at, and idempotency_key.
curl "https://www.contextcapsule.ai/v1/capsules/cap_...?format=json"
Fetches require no authentication. Anyone with the ID or URL can read the capsule until it expires.
Full hosted contract: API docs · OpenAPI · llms-full.txt
npx -y @contextcapsule/mcp-server
The MCP server exposes create_capsule, fetch_capsule, and signup against the hosted API. Creating requires CONTEXTCAPSULE_API_KEY; fetching is public. Prefer the Agent Skill for local coding handoffs because it can inspect repository freshness and does not require an upload.
Requirements: Node.js 18+ and PostgreSQL.
git clone https://github.com/Johnny-Z13/context-capsule.git
cd context-capsule
npm install
cp .env.example .env
npm run db:migrate
npm run db:seed -- you@example.com
npm run dev
Environment variables:
| Variable | Required | Purpose |
|---|---|---|
DATABASE_URL | Yes | PostgreSQL connection string |
BASE_URL | Yes | Public base URL for capsule links |
CRON_SECRET | Production | Protects expiry cleanup |
RESEND_API_KEY | Web signup | Emails API keys for source: web |
DEV_SECRET | Optional | Protects the local developer console |
NODEJS_HELPERS | Vercel | Set to 0 for the deployment runtime |
npm run dev
npm test -- --run --configLoader runner
npx tsc --noEmit
Focused skill test:
npx vitest run tests/skills/contextcapsule-handoff.test.ts --configLoader runner
The HTTP API is intentionally backward compatible with the original flat summary, decisions, next_steps, payload, and refs schema while the local skill provides the richer authoring and freshness contract.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for sharing short-lived coding-agent handoff capsules from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/context-capsule)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.