Model Context Protocol server for Agents Remember.
Project description
Agents Remember MCP
agents-remember-mcp is the installable Model Context Protocol server for
Agents Remember. It lets an MCP-capable coding harness call Agents Remember
operations from the host instead of asking the model to edit or execute
coordinator scripts directly.
Source: github.com/Foxfire1st/agents-remember-md
Quickstart
Setup is agent-driven. Ask your agent to:
- Install and wire Agents Remember MCP — set it to run via
uvx agents-remember-mcp --config <absolute-path>/agents-remember-settings.json, help you fill in that settings file (starter below), and register it with this harness. Place the settings file under your harness's registration folder in anmcp/subdirectory — e.g..claude/mcp/agents-remember-settings.jsonfor Claude Code,.codex/mcp/…for Codex — not loose in the workspace root (see Settings file location for why). Then restart the harness so it loads the server. - Install the scaffolding, then the skills — run
runtime_installfirst (it scaffolds the coordinator and, when providers are enabled and Docker is running, builds the provider images), thenskills_install(copies skills into the harness skill folder). Restart the harness again so it discovers the newly-installed skills. Order matters: scaffolding → skills → providers last (see Install order). - Onboard your project — run the
C-13-install-and-onboardskill: it pre-checks the setup, installs the start hook (or places the directive for harnesses without one), sets up the memory repo (it will ask: scaffold a new one or use an existing one), bootstraps onboarding, and starts the providers indexing last (this is when indexing begins; image builds already happened in step 2). If it installs a session-start hook, restart once more so the hook activates — hooks are loaded at session start, not mid-session.
The hands-on steps for you: ask your agent for the steps above, restart three times (after step 1 so the harness loads the server, after step 2 so it discovers the installed skills, and after step 3 so a newly-installed session hook activates), and answer the new-vs-existing memory question in step 3.
Requirements
- Python 3.11 or newer (the package declares
requires-python >=3.11; on a multi-version host,uvxselects a compatible interpreter automatically). - an MCP-capable coding harness
- uv (for
uvx) or pip - Git for repository and memory ledger operations (configure
user.name/user.email; without them, memory/worktree commits fall back to a placeholder identity so work can proceed). - Docker (running) when provider tools are enabled. The grepai embedder runs
Ollama as a Docker container and pulls an embedding model (
nomic-embed-text) on first setup — no host Ollama install is required. jqfor the Claude CodeSessionStarthook. Install it with your distro's package manager:apt install jq(Debian/Ubuntu),brew install jq(macOS),pacman -S jq(Arch),dnf install jq(Fedora), orapk add jq(Alpine). Ifjqis missing the hook installs but silently injects nothing.
Install And Run
The simplest path is uvx, which fetches and runs the server on demand — no
manual virtualenv or PATH setup:
uvx agents-remember-mcp --config /absolute/path/to/agents-remember-settings.json
Or install with pip and use the console command:
python -m pip install agents-remember-mcp
agents-remember-mcp --config /absolute/path/to/agents-remember-settings.json
The config path must be absolute, the settings file must live outside the
ar-coordination/ runtime folder, and it should live under your harness's
registration folder in an mcp/ subdirectory (see
Settings file location). The server reads this file
only at startup — if you edit it later (enable providers, add repos, change
timeoutCaps), restart the harness for the change to take effect; run
server_info() to confirm what the running server actually loaded.
Settings
A minimal starter agents-remember-settings.json (your agent can fill this in):
{
"version": 1,
"coordinationRoot": "/absolute/path/to/ar-coordination",
"workspaceRoot": "/absolute/path/to/workspace",
"repositories": {
"<your-repo-name>": {}
},
"providers": {
"codegraphcontext-code": {},
"grepai-memory": {}
}
}
coordinationRoot is where the runtime and memory repos live (populated by
runtime_install). workspaceRoot holds your code repos. List each repo you
want Agents Remember to manage under repositories. Omit or empty the
providers block if you do not want the Docker-backed providers. Full field
reference:
settings-json.md.
Upgrading?
timeoutCaps.providerSecondswas renamed toproviderSetupSeconds. The old key is rejected with a fail-loudConfigErrorat startup, so rename it in any existing settings file.providerSetupSecondscaps only provider image build / dependency install; indexing and database seed/clone are never time-capped. A cap value of0means unlimited.
Settings file location
Place the settings file under your harness registration folder in an mcp/
subdirectory. This is not cosmetic: skills_install infers where to install
skills from the settings path — it uses the sibling skills/ folder only when
the settings file's parent directory is named mcp. Put the file elsewhere
(e.g. loose in the workspace root) and skills_install has no target and fails.
| Harness | Put settings at | skills_install then targets |
|---|---|---|
| Claude Code | .claude/mcp/agents-remember-settings.json |
.claude/skills/ |
| Codex | .codex/mcp/agents-remember-settings.json |
.codex/skills/ |
| Cursor | .cursor/mcp/… (or .agents/mcp/…) |
.cursor/skills/ (or .agents/skills/) |
| VS Code + Copilot | .agents/mcp/agents-remember-settings.json |
.agents/skills/ |
Do not place the settings file at the workspace root or inside
ar-coordination/. If your harness needs a non-standard layout you can set
harnessSkillRoot explicitly in the settings — but point it at a folder the
harness actually discovers (e.g. .claude/skills), or the skills install but
never load. See your harness page under
docs/install/
for the exact registration folder.
Harness Setup
Register the MCP server with your harness by pointing it at uvx (or the
installed console command) and the absolute settings path:
{
"command": "uvx",
"args": [
"agents-remember-mcp",
"--config",
"/absolute/path/to/agents-remember-settings.json"
]
}
After installing or changing the MCP server registration, restart the harness so
it reloads the server and discovers the tool list. Register the server under the
harness folder described in Settings file location so
skills_install can infer the skill target.
Per-harness setup pages
Harnesses differ in where settings/skills go and in the skills layout they discover — so follow your harness's page, don't guess:
| Harness | Setup guide |
|---|---|
| Claude Code | docs/install/claude-code.md |
| Codex | docs/install/codex.md |
| Cursor | docs/install/cursor.md |
| Antigravity | docs/install/antigravity.md |
| VS Code + Copilot | docs/install/vscode-copilot.md |
| Hermes | docs/install/hermes.md |
| Pi.dev | docs/install/pi.md |
| OpenClaw | docs/install/openclaw.md |
Skill layout is harness-specific. skills_install defaults to tree
(namespaced, for recursive scanners like Codex). Direct skill-folder scanners —
Claude Code and Cursor — need skills_install(layout="flat") so each skill
lands at <skill-root>/<name>/SKILL.md; the tree layout's nested folders are
not discovered there. Your harness page states which to use.
Install Order And First Operations
Setup runs in a strict order: scaffolding → skills → providers last. Preview
each step with dry_run=true before applying (dry_run=false, the default).
server_info() # confirm resolved roots / allowed providers
runtime_install(dry_run=true) # preview, then apply:
runtime_install(dry_run=false) # scaffold coordinator; build provider images if enabled
skills_install(dry_run=true) # preview (add layout="flat" for Claude Code/Cursor)
skills_install(dry_run=false) # copy skills into the harness skill folder
# --- restart the harness here so it discovers the installed skills ---
context_packet(repo_id="<repo-id>", include_providers=true)
Then run the installed C-13-install-and-onboard skill (Quickstart step 3): it
sets up the memory repo, installs the start hook, bootstraps onboarding, and
starts the providers indexing (provider_watchers(action="start")).
Why this order:
- Scaffolding first.
runtime_installcreates the coordinator directory and records a provider-runner integrity manifest. Provider operations check that manifest, soprovider_watchersrun beforeruntime_installfails fast withrunnerIntegrityFailed. - Skills second, so
C-13and the rest are available for the final step. (Most harnesses only discover newly-installed skills after a restart.) Use the layout your harness page specifies —flatfor Claude Code and Cursor. - Providers last. They are heavy (Docker, plus Ollama for grepai),
per-repo, and optional. Note the split:
runtime_installbuilds provider images during step 2 (withinstall_provider_deps=true, the default), but indexing only starts in step 3 — so "providers last" means indexing, not image builds. Passinstall_provider_deps=falseto refresh scaffold/docs without rebuilding images or disturbing running watchers; passno_cache=trueto force a from-scratch image rebuild (it otherwise skips images whose tag already exists). If providers reportdegraded, check that Docker is running and (for grepai) that the Ollama model pulled, thenprovider_watchers(action="refresh");provider_diagnostics()shows the gap.
Troubleshooting
uvx can't find a just-published version. PyPI's simple index (what uvx
resolves against) lags a few minutes behind a release, so
uvx agents-remember-mcp==X.Y.Z may briefly fail with "no version found" right
after that version is published. Wait 2–5 minutes and retry, run
uvx --refresh … to bypass uv's cache, or drop the ==X.Y.Z pin to take the
latest the index currently serves.
Providers report degraded and indexing/search returns nothing. Both
providers need Docker running; grepai additionally needs its Ollama container and
embedding model. Check and recover:
- Docker:
docker ps— if the daemon is down, start it (sudo systemctl start dockeron Linux, or Docker Desktop), thenprovider_watchers(action="refresh"). - grepai/Ollama:
docker logs ar-grepai-ollamaanddocker exec ar-grepai-ollama ollama listto confirm the model is present. The model (nomic-embed-text) is pulled automatically on first setup; if that timed out, re-runruntime_install()or pull it manually withdocker exec ar-grepai-ollama ollama pull nomic-embed-text. provider_diagnostics()shows the precise failing resource (backend, embedder, watcher) for either provider.
Providers are optional — core by-path memory and onboarding work without them, so you can defer this and the rest of setup continues.
Memory/worktree commits and git identity. Closeout and carryover operations
commit to the memory repo and ledger, so git needs an author identity. Configure
your own with git config --global user.name "…" and
git config --global user.email "…". If none is set, Agents Remember writes a
repo-local placeholder (Agents Remember <agents-remember@example.invalid>) so
work can still proceed — commits just won't carry your identity until you set it.
Tool Surface
The server exposes tools for:
- startup context and drift checks
- runtime and skill installation
- memory initialization, memory quality checks, and route index refresh
- provider status, watcher control, GrepAI search, and CodeGraphContext queries
- chat/direct closeout and worktree-backed task workflows
- benchmark preparation and execution
Provider tools only work when the MCP settings enable the provider and the required Docker services are available. Full tool list: MCP Tool Reference.
More
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agents_remember_mcp-0.9.5.tar.gz.
File metadata
- Download URL: agents_remember_mcp-0.9.5.tar.gz
- Upload date:
- Size: 951.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99192a0a7ff6b34ce7b0f2bfc338ebe5a69f8d46b3a683b79ca5c447374b6b74
|
|
| MD5 |
518cf6fc4ab62bb92de83abf288f084b
|
|
| BLAKE2b-256 |
a3442d6d403dfd6fd72019b8b795fa23c5d51cba7177ebf9c09e0b347ff42a8d
|
Provenance
The following attestation bundles were made for agents_remember_mcp-0.9.5.tar.gz:
Publisher:
publish-mcp-to-pypi.yml on Foxfire1st/agents-remember-md
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agents_remember_mcp-0.9.5.tar.gz -
Subject digest:
99192a0a7ff6b34ce7b0f2bfc338ebe5a69f8d46b3a683b79ca5c447374b6b74 - Sigstore transparency entry: 1676410465
- Sigstore integration time:
-
Permalink:
Foxfire1st/agents-remember-md@5ccfed5b722ee34158b9533fb7e86e4196cfb569 -
Branch / Tag:
refs/tags/mcp-v0.9.5 - Owner: https://github.com/Foxfire1st
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp-to-pypi.yml@5ccfed5b722ee34158b9533fb7e86e4196cfb569 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agents_remember_mcp-0.9.5-py3-none-any.whl.
File metadata
- Download URL: agents_remember_mcp-0.9.5-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a49f00a782ba8c4fa36419410e21b77354b4108acf4f613983c6946b6259bd6d
|
|
| MD5 |
d7f9e36cd3613597820d3c439883007b
|
|
| BLAKE2b-256 |
9bf394a3985a859ea7d3fd8e4019eaa2b93c6d91c98c39a355d320dea1ddfbcb
|
Provenance
The following attestation bundles were made for agents_remember_mcp-0.9.5-py3-none-any.whl:
Publisher:
publish-mcp-to-pypi.yml on Foxfire1st/agents-remember-md
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agents_remember_mcp-0.9.5-py3-none-any.whl -
Subject digest:
a49f00a782ba8c4fa36419410e21b77354b4108acf4f613983c6946b6259bd6d - Sigstore transparency entry: 1676410481
- Sigstore integration time:
-
Permalink:
Foxfire1st/agents-remember-md@5ccfed5b722ee34158b9533fb7e86e4196cfb569 -
Branch / Tag:
refs/tags/mcp-v0.9.5 - Owner: https://github.com/Foxfire1st
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp-to-pypi.yml@5ccfed5b722ee34158b9533fb7e86e4196cfb569 -
Trigger Event:
push
-
Statement type: