CarpeOS MCP Server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CarpeOS MCP Servercapture this decision about the database schema"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CarpeOS
Capture context. Compound knowledge.
CarpeOS is a personal knowledge OS for AI-assisted work. It captures agent
sessions with provenance, adjudicates what is worth keeping as durable
meaning (promote | hold | reject), keeps accepted decisions searchable,
and helps you and your agents retrieve that context later via MCP, CLI, and
Obsidian — all local-first.
It keeps the trail of where each piece came from without turning every session dump into “memory.”
Latest release: @innocarpe/carpeos@2.0.0
(notes · product 2.0 DoD).
Next major (3.0.0) is in active development (not frozen; no tag yet).
Website
Visit the CarpeOS website for the product overview, system model, install path, and public documentation guide.
Related MCP server: identity-storage-mcp
Why this exists
You finish a long agent session with a real decision, a half-finished plan, or a bug path you do not want to rediscover. A week later that context is split across chat history, terminal scrollback, and a few notes — and the next agent has none of it.
CarpeOS is an attempt to keep that context in one place you control, with enough structure that “we decided X” is not treated the same as “the model once suggested X.”
Common problem | Approach here |
Chat history disappears or is hard to trust | Append-only events with provenance |
Session noise floods “memory” | Post-capture adjudication; default search is promoted only |
“Memory” is mostly embeddings | Claims, acceptance, and supersession stay separate records |
Each tool keeps its own silo | Shared capture + MCP retrieval, provider-agnostic |
Generated notes become the only source of truth | Notes and indexes are rebuildable projections |
Two machines, messy continuity | Local-first store, optional private sync |
Public code. Private knowledge.
This repo has design, specs, and implementation. Your real sessions, projects, and credentials stay on your side.
Who it’s for
Useful if you:
Switch between agents (Codex, Claude Code, Grok Build, …) and do not want a separate memory story for each one
Need last week’s decisions still available, not buried in an old transcript
Care whether something is a draft, rejected, or actually accepted when you search for it
Want data local by default, with sync you run yourself if you need it
Prefer explicit schemas and tests over a black-box “memory product”
Not a polished consumer app yet. Not hosted SaaS. Not a replacement for your editor. Closer to plumbing for people who already live in agent workflows.
What’s in the box
Capture from tools you already use
Hooks map selected lifecycle events from Codex, Claude Code, and Grok Build into a common capture shape. Raw payloads sit in encrypted storage; the event log keeps metadata and references. Host hooks stay fail-open and fast.
Adjudicate before “memory”
After capture, a precision-first rule adjudicator (adj_v1) decides disposition:
Disposition | Meaning unit | Default search |
promote | Active Observation | Included |
hold | Draft Observation (review queue) | Excluded unless |
reject | Disposition only (evidence may remain) | Excluded |
Operators can review holds (carpeos adjudicate list-held|promote-held|reject-held),
inspect policy history, and re-run under a new policy version. Adjudication
never auto-creates an AcceptanceDecision.
A model that does not flatten status
Evidence is not a claim. A claim is not “true” just because it exists. Acceptance and supersession are their own records. Search can show what is settled, what is only proposed, and what was replaced — without stuffing it all into one paragraph of vector text.
flowchart LR
E[EvidenceArtifact] --> J[Adjudicate adj_v1]
J -->|promote| O[Observation active]
J -->|hold| H[Observation draft]
J -->|reject| R[Evidence only]
O --> C[Claim]
C --> A[AcceptanceDecision]
C --> S[Supersession]
A --> F[Accepted fact<br/>derived at query time]
S --> FInterfaces for people and agents
CLI —
capture-hook,extract,adjudicate,retrieval rebuild,memory search|get|context-pack(default promoted-only;--include-heldopt-in),sync status|push|pull|once|cycleMCP (stdio) — eight local tools (
memory_search,memory_get,memory_context_pack,memory_trace,memory_timeline,memory_related,memory_capture,memory_propose_claim)Obsidian projection — Markdown files generated from the local store (projection only; not the source of truth)
Local first, sync optional
Each machine writes to a local outbox. There is deployable Cloudflare
Worker/D1/R2 code if you want private multi-device sync, plus a bounded
carpeos sync cycle for operator loops. Projections can always be rebuilt from
the event log.
flowchart TB
subgraph devices [Your machines]
H1[Agent hooks]
CLI[carpeos CLI]
MCP[MCP stdio server]
OBS[Obsidian projection]
end
subgraph local [Local runtime]
OUT[Encrypted outbox + local store]
RET[Search + recheck]
end
subgraph private [Optional private sync]
W[Cloudflare Worker]
D1[(D1 metadata)]
R2[(R2 encrypted blobs)]
end
H1 --> OUT
CLI --> OUT
OUT --> RET
RET --> MCP
RET --> OBS
OUT <--> W
W --> D1
W --> R2How it fits together
flowchart LR
A[Agent hooks] --> B[Local capture]
B --> J[Adjudicate]
J --> C[Event store + dispositions]
C --> D[Promoted meaning first]
C --> E[Projections]
E --> F[MCP / CLI / Obsidian]
D --> FRules worth knowing up front:
The event log is append-only; dispositions are append-only by policy version.
Default search is promoted/active meaning — not every captured session.
“Accepted” is computed at query time — we do not rewrite a claim in place.
Sensitive plaintext is not stored inside the event body.
Trust zones are real isolation boundaries, not labels for show.
Notes, vectors, and context packs can be deleted and rebuilt; they are not the canonical store.
More detail: Architecture overview, Memory capacity, ADR 0009, ADRs, spec/v1.
Memory capacity (total vs active)
CarpeOS separates how much private knowledge you store from how much an agent loads right now:
Axis | Meaning | Where it lives |
Total capacity | Visible append-only events + protected blobs under trust zones | L1 store |
Active capacity | What fits a bounded pack or search response after budgets and recheck | L2 working memory |
Procedural memory | Thinking/tool traces as protected evidence, never auto-accepted | L3 |
Product projections | Rebuildable notes, packs, open loops, dashboards | L4 |
Context packs use sparse expert-slot allocation (default 16 slots) and a cache-friendly section order so accepted facts stay ahead of high-churn drafts. See the memory capacity architecture note and the capacity master plan. Graph-oriented recall remains planned: GraphRAG roadmap.
Install
Requires Node.js ≥ 22.22.
Users
# npm (preferred)
npm install -g @innocarpe/carpeos
carpeos setup plan # see paths + actions (no changes)
carpeos setup run --apply # apply defaults
# or curl (installs the same package, then setup run --apply)
curl -fsSL https://raw.githubusercontent.com/innocarpe/carpeos/main/scripts/install.sh | bashcarpeos setup is a real CLI surface — not a flag dump. Default paths land under
~/.carpeos and ~/.local/bin; MCP registers with Claude Code / Codex CLI /
Grok Build when those tools are on PATH.
carpeos setup --help # full parameter interface
carpeos setup plan # resolved plan only
carpeos setup run --apply # apply the plan (home, wrappers, MCP)
carpeos setup hooks install --apply # capture hooks (merge-safe; product path)
carpeos setup doctor # verify install + hooks + store signals
carpeos setup show # print config.jsonUseful options: --home, --bin-dir, --workspace-root, --trust-zone,
--register-mcp auto|none|claude,codex,grok, --register-hooks auto|none|….
Setup never mutates the machine without --apply.
Pin a version when you care about reproducibility:
npm i -g @innocarpe/carpeos@2.0.0. Changelog: CHANGELOG.md.
Product milestones: 1.0 DoD (pipeline) ·
2.0 DoD (adjudication, shipped as package 2.0.0).
Developers (git checkout)
git clone https://github.com/innocarpe/carpeos.git && cd carpeos
node scripts/install-local.mjs plan
node scripts/install-local.mjs run --apply # build, wrappers, MCP registration
node scripts/install-local.mjs hooks install --apply
export PATH="$HOME/.local/bin:$PATH"
node scripts/install-local.mjs doctorFor monorepo work without global install: pnpm install && pnpm build, then use
node apps/carpeos-cli/dist/index.js … (see local capture).
Product path: install → session → adjudicate → search
# 1) Runtime + MCP
carpeos setup run --apply
# 2) Capture hooks (Claude / Codex / Grok; merge-safe, does not wipe user hooks)
carpeos setup hooks install --apply
# 3) Doctor (hooks, store, adjudication health, promoted-only default search)
carpeos setup doctor
# 4) After a host session (or synthetic capture-hook), rebuild + search promoted meaning
carpeos retrieval rebuild --trust-zone tz_local_default
carpeos memory search \
--query "durable decision" \
--trust-zone tz_local_default \
--visible-trust-zone tz_local_default
# optional: include held/draft
# carpeos memory search --include-held --query "…" …
# Operator review queue (held drafts)
carpeos adjudicate --stats
carpeos adjudicate list-held --limit 50
# carpeos adjudicate promote-held --event-id evt_…
# carpeos adjudicate reject-held --event-id evt_…carpeos setup doctor reports hook install status, recent EvidenceArtifact
activity, Observation/Claim counts, adjudication policy version + promote/hold/reject
counts, and that default search is promoted/active only (empty store → warnings,
not fail).
Automated gates:
Gate | What it proves |
| 1.0 pipeline loop (capture → extract path → search) |
| 2.0 promote vs noise reject |
| multi-hook public-safe noise scenarios |
| MCP tool surface |
Advanced/manual hook templates remain under adapters/. Full notes:
one-stop install ·
MCP ·
product smoke.
For agents installing this repo
Keep install idempotent and out of the git tree for private data.
Prefer
npm i -g @innocarpe/carpeos+carpeos setup planthencarpeos setup run --apply(orinstall.sh).Install capture hooks:
carpeos setup hooks install --apply.If working from source:
node scripts/install-local.mjs run --applyfrom the checkout.Never commit
~/.carpeos, credentials, or real session data.Do not invent alternate install paths; setup registers MCP and (optionally) hooks.
Releases use SemVer +
vX.Y.Ztags only — see versioning and skillskills/carpeos-release/SKILL.md(./scripts/install-release-skill.sh). Follow SemVer; do not invent tags outside the release skill.
Guide | Link |
Install (all paths) | |
Capture & hooks | |
Retrieval / context-pack CLI | |
MCP | |
MCP tool contract | |
Cloudflare / sync | |
Smokes |
|
Changelog | |
Product 1.0 DoD (pipeline) | |
Product 2.0 DoD (adjudication) | |
Versioning & releases | |
Compatibility / deprecations | |
Local store migrations | |
Sync / multi-Mac | |
Memory capacity plan |
Product line (1.0 → 2.0 → 3.0)
Package / product | Meaning | Status |
1.0.0 | Local pipeline + contract freeze (hooks → evidence → extract shell → search) | Shipped — infrastructure baseline; not “finished knowledge OS” |
2.0.0 | Adjudicated meaning as the default product contract ( | Shipped on npm / |
3.0.0 | Next major product step (in development) | Active development — no freeze / no tag yet |
Honest residual risks after 2.0.0 (still true): golden/dogfood fixtures are synthetic; session de-noising is limited; adjudicated Claim drafts remain deferred; older-policy active units may need optional cleanup. Details: product-2.0.0 residual risk.
Capacity / pack economics and long-horizon structure work continue under the memory capacity master plan and may feed 3.0 — that is not a freeze decision.
What works today
Published: @innocarpe/carpeos@2.0.0
(GitHub Release ·
CHANGELOG).
Default local loop (CI-gated):
hooks → encrypted evidence → adjudicate (promote|hold|reject)
→ promoted meaning → retrieval / MCP / CLI
(+ optional private sync, Obsidian projection)Area | Status |
Specs, ontology, ADRs | In tree (incl. ADR 0012) |
Local capture + outbox | Shipped |
Knowledge adjudication ( | Shipped — dispositions, held review, policy history |
Default retrieval | Promoted/active only; held opt-in |
Doctor adjudication health | Shipped ( |
Sync Worker/client + bounded | Code + local tests; no production edge claimed |
MCP stdio server (8 tools) | Local only |
Expert-slot context packs | CLI + MCP (local) |
| npm package |
OpenLoop / dashboard library | Library + tests; not a shipped UI |
Obsidian projection | Local only |
Hosted embeddings / multi-tenant SaaS | Not goals of this repo |
GraphRAG traversal | Planned — roadmap |
3.0.0 product freeze | Not done — in development |
NOT DEPLOYED: no hosted Worker, D1/R2 production resources, private vault adoption, or hosted MCP is proven by this repository. npm publish is gated by SemVer tags + CI (versioning).
Do not treat adapter install, a live Cloudflare setup, hosted MCP, or calibrated human-level judgment as finished until this repo says so with tests and docs.
Repo boundary
Public implementation only. Runtime knowledge stays private.
OK here | Not OK here |
Synthetic fixtures ( | Real project names or private URLs |
Protocol examples | Real session transcripts |
Tests and schemas | Credentials, tokens, production logs |
Contributor docs | Runtime DB dumps, personal paths |
Design influences
Some ideas overlap with obsidian-mind (agent memory, hooks, retrieval for agents). CarpeOS is a separate design: append-only events instead of a Markdown vault as authority, explicit claim/acceptance/supersession, trust zones, protected values, and MCP that is not locked to one vendor.
Contributing
See CONTRIBUTING.md, GOVERNANCE.md, and AGENTS.md.
pnpm check # format, lint, build, typecheck, test, public-boundaryPublic package releases use one shared process (any coding agent should follow the same skill):
./scripts/install-release-skill.sh # Claude / Codex / Grok skill links
# then: release / tag / npm — see skills/carpeos-release/SKILL.mdLicense
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceProvides persistent, local-first AI memory across sessions via MCP tools for storing, searching, and retrieving context from past interactions.Last updated1MIT
- AlicenseAqualityBmaintenanceProvides persistent, inspectable memory storage for AI agents using SQLite. Agents can store, recall, and search memories across sessions via three MCP tools.Last updated3MIT
- AlicenseAqualityAmaintenanceProvides persistent, searchable structured memory management for AI agents, with keyword matching, bidirectional Zettelkasten sync, and six MCP tools.Last updated6MIT
- Alicense-qualityBmaintenanceProvides persistent, cross-session memory for CLI agents via MCP tools, enabling them to recall, distill, and share experiences across projects and tools.Last updated5MIT
Related MCP Connectors
Secure, user-owned long-term memory for AI agents over OAuth-protected remote MCP. Save, search, recall, update, and govern preferences, project context, decisions, and task state across ChatGPT, Claude, Copilot, IDEs, and CLIs.
Shared long-term memory vault for AI agents with 20 MCP tools.
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/innocarpe/carpeos'
If you have feedback or need assistance with the MCP directory API, please join our Discord server