crewmemory
Click 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., "@crewmemorySave this Redis timeout fix as a solution and update my status"
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.
One shared memory for every AI coding agent on your team — Claude Code, Codex, Cursor, Gemini CLI, opencode, Windsurf, Claude Desktop, or any MCP client.
Memory lives in a git repo you own (GitHub or any git host). Every save is automatically committed and pushed; every read pulls the latest first. When your teammate's agent logs a fix, a decision, or what it's working on — your agent knows seconds later.
No server to run. No cloud database. No lock-in: it's plain markdown + git.

Install
One command (after the package is published)
uvx --from crewmemory-mcp crewmemory install codex --repo https://github.com/org/crewmemory.git --user alice --launcher uvxReplace codex with claude-code, claude-desktop, cursor, gemini, opencode, or
windsurf. The same command works on Windows, macOS, and Linux when uv is installed.
Restart the client after registration.
For a private memory repo, also pass --token <fine-grained-token>; use a token limited to that
repository with Contents read/write access.
Install from a source checkout
uv venv .venv
uv pip install --python .venv/bin/python -e .
.venv/bin/crewmemory install codex --repo https://github.com/org/crewmemory.git --user aliceOn Windows, the executable is .venv\Scripts\crewmemory.exe.
Supported clients: claude-code, claude-desktop, codex, cursor, gemini, opencode,
windsurf. The installer backs up and merges existing config, is idempotent, and saves a private
local connection profile so crewmemory doctor and crewmemory ui work outside the agent.
Or just ask your AI
Paste this to the agent running in this folder:
Install yourself as a crewmemory MCP server for Claude Code. My memory repo is https://github.com/org/crewmemory.git, my name is alice, token is github_pat_xxx.
The agent runs crewmemory install claude-code ... for you. No manual tool calls needed.
Project detection
At session start the MCP instructions tell the agent to call
team_context(project_path="<absolute workspace root>"). This selects the current Git repository
and branch dynamically, so one global MCP installation works across projects. crewmemory init
is optional and records a project in the local registry for humans and diagnostics.
crewmemory init # registers the project; reads branch/git identityVerify anytime
crewmemory doctor # config, connectivity, project detection, countsRelated MCP server: bikky
Human dashboard (no agent needed)
crewmemory ui # opens http://127.0.0.1:8765 in your browser
crewmemory ui --port 9000 --no-browserA local web dashboard for the whole team — see everything without asking an agent:
Team now — who is working on what right now, progress bars, ⛔ blockers, stale badges
Activity — full timeline: every note/decision/solution/status/deletion by everyone
Memories — browse & search all six types, filter by author/kind, expand full text
Profiles — member roles, timezones, git identities
Overview — counts by type/author/project/lifecycle + storage info
Read-only, binds to 127.0.0.1 only, auto-refreshes every 30s. Zero extra dependencies.
Windows
Fully supported:
uv venv .venv-win
uv pip install --python .\.venv-win\Scripts\python.exe -e .
.\.venv-win\Scripts\crewmemory.exe install claude-code --repo ... --user alice --token ...
.\.venv-win\Scripts\crewmemory.exe uiMember names are sanitized into safe filenames on every platform (_member_filename),
Codex TOML values are properly escaped for Windows paths/backslashes/quotes, and all git
calls run with GIT_TERMINAL_PROMPT=0 so nothing hangs waiting for input.
What your agents can do (tools)
Area | Tools |
Session |
|
Smart retrieval |
|
Raw search |
|
Save knowledge |
|
Presence |
|
Handoffs |
|
Lifecycle |
|
Git-native |
|
Code-aware |
|
For humans |
|
Feature checklist
Shared crew memory on your own git host · personal private memory (local-only scope, never pushed)
Git-native storage: markdown + YAML frontmatter, zero-conflict file strategy (unique filenames, per-user status/activity files)
Auto session sync on every read/write · manual sync tool · offline-safe (writes commit locally, push retries later)
User & member profiles, auto-created from git config (
crewmemory init)Progress tracking & blocker tracking in team status, with staleness markers
Decision memory, gotchas, patterns, solutions, handoffs — six entry types
Memory lifecycle: unverified → verified → superseded/stale, with confidence scores that decay with age and when linked code changes (code-change-aware decay)
Conflict/duplicate detection on save + consolidation finder
Provenance: author attribution, commit-linked memories, full
git log --followhistory per memoryTime travel: read crew memory at any commit/tag/branch
Branch-aware context: entries remember project+branch; recall boosts current-branch matches
Context budget management:
recallpacks the best memories into a char budgetCode integration: file-linked memories power PR-vs-decision review, obsolete-memory detection after PRs, why-does-this-code-exist lookup, blame cross-referencing, commit summarization
Per-project memory: entries are tagged with the detected project slug; status shows project@branch
Faceted search: tags, author, file, type, project (semantic search: future work)
MCP-based, stdio transport, self-hosted/open-source by default
Repo layout (created automatically)
notes/ decisions/ solutions/ gotchas/ patterns/ handoffs/ # memory types
status/ current focus per member (task, %, blockers)
activity/ append-only timeline per member
profiles/ member profilesConfiguration (per teammate)
Variable | Required | Meaning |
| yes | memory repo URL |
| yes | identity (author, commits, status) |
| private repos | PAT with Contents Read+Write |
| no | commit email |
| no | pin a branch |
| no | code repo path (auto-detected from cwd otherwise) |
| no | data dir (default |
Manual config snippets (if you prefer editing configs yourself) live in the installer — it writes exactly this shape:
{ "mcpServers": { "crewmemory": {
"command": "/path/to/crewmemory",
"env": { "CREWMEMORY_REPO_URL": "...", "CREWMEMORY_USER": "...", "CREWMEMORY_TOKEN": "..." }
} } }Codex uses [mcp_servers.crewmemory] in ~/.codex/config.toml; OpenCode uses the
mcp.servers.*.type=local shape — both handled by crewmemory install codex/opencode.
Recommended team workflow
Add to your CLAUDE.md / AGENTS.md:
At session start call team_context(project_path="<absolute workspace root>"), then update_status() for your task.
Use recall() before researching anything the team may know.
Save durable learnings immediately (log_solution/log_decision/save_gotcha/save_pattern).
When switching tasks update update_status(); at day's end call save_handoff().Or just use the built-in prompts: /session-start, /session-end, /pr-review-flow.
Security
Never save secrets into memory — it's a readable git repo.
A public memory repository makes every team note, status, path, and handoff public. Prefer private.
Private repos + fine-grained PATs (one per member, Contents: RW) are the intended setup.
Tokens stay in local env/config only; all git output is redacted before reaching agents.
Publishing
The repository includes cross-platform CI, wheel/sdist checks, and a PyPI trusted-publishing workflow. See PUBLISHING.md for the release checklist.
Troubleshooting
crewmemory doctordiagnoses everything and prints exact fixes.Auth failed → token needs Contents Read+Write on the memory repo.
Push failed after retries → change is safe locally (queued); run
sync_memorylater."Points to a different remote" → delete
~/.crewmemory/<repo>or setCREWMEMORY_LOCAL_PATH.
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
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to maintain persistent, cross-session memory of codebase architecture, naming conventions, and decisions through MCP tools. Eliminates repetitive project re-explanation by automatically injecting stored context into every session with local-first SQLite storage and optional team sharing capabilities.4MIT
- AlicenseAqualityAmaintenanceProvides persistent memory for AI coding agents via MCP, enabling teams to share and recall facts across sessions. Automatically captures, classifies, and curates knowledge from supported transcript sources.18601AGPL 3.0
- AlicenseAqualityAmaintenanceShared, code-grounded memory for developers and their coding agents. Capture a learning once and the whole team plus every agent recalls it; memory is grounded in your code and stored as git-tracked JSON reviewed in PRs, with citations validated on write and stale memory withheld from recall. Works with any MCP client.1131GPL 3.0
- AlicenseAqualityAmaintenanceMCP server that gives coding agents persistent, verified memory of codebase decisions, conventions, and skills, with evidence-based claims that are re-checked via git hooks and human-gated review. Enables memory search, propose/approve, chat harvesting, and critique across MCP-compatible tools.217661MIT
Related MCP Connectors
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
One shared brain for your AI coding agents: team memory, agent Q&A, tasks, and file claims.
An MCP memory server. One memory your agents share — across models, devices and apps.
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/GIGAParviz/crewmemory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server