GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
Local shared memory for AI coding agents: SQLite notes with writer provenance, undo, search.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
MONOMEM_CLIENT, MONOMEM_HOME, MONOMEM_DB_PATH必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"monomem": {
"command": "npx",
"args": [
"-y",
"monomem",
"mcp"
],
"env": {
"MONOMEM_CLIENT": "your-value",
"MONOMEM_HOME": "your-value",
"MONOMEM_DB_PATH": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add monomem --env MONOMEM_CLIENT=your-value --env MONOMEM_HOME=your-value --env MONOMEM_DB_PATH=your-value -- npx -y monomem mcp動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"monomem": {
"command": "npx",
"args": [
"-y",
"monomem",
"mcp"
],
"env": {
"MONOMEM_CLIENT": "your-value",
"MONOMEM_HOME": "your-value",
"MONOMEM_DB_PATH": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"monomem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"monomem",
"mcp"
],
"env": {
"MONOMEM_CLIENT": "your-value",
"MONOMEM_HOME": "your-value",
"MONOMEM_DB_PATH": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
MONOMEM_CLIENT envMONOMEM_HOME envMONOMEM_DB_PATH envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント calasdan-sketch で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.2.0)がレジストリに届いたのは一昨日です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Shared memory for your AI coding agents that records who wrote each note and holds suspicious writes for your review.
npx monomem setup
Needs Node 22.16 or newer (check with node -v). On an older Node, use Docker.
*Recorded from a real run against a throwaway store (transcript): a write containing an injected instruction is held and never reaches the other agent's search, then rejected from the real dashboard. The two terminal panes are drawn from the real REST responses; the dashboard is a screen recording. Nothing sped up.*
monomem approve-first --all on makes every agent write wait for your OK. The check is pattern matching, so it doesn't catch everything. An agent that can run shell commands, like Claude Code, can run the monomem command itself and its writes are not held, so this protects you from tools that only have the memory connection (see SECURITY.md).Requires Node.js 22.16 or newer (22.16+ or 24 LTS). Check with
node -v. Can't
upgrade? Use Docker instead.
npx monomem setup
npx monomem drill # replays 20 known poisoning attacks on a copy of your store
setup finds Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI, Muse, VS Code and Zed on this computer, shows you in plain words what it will do and the exact lines it will change, saves a backup of each file, and writes only after you type y. Then it writes a first test note, reads it back, runs monomem doctor and tells you how to check it inside Claude Code (type /mcp). To look first: npx monomem setup --dry-run. To go back: monomem setup --undo. It changes only the Monomem entry; your other servers and settings stay as they are. Step by step, with troubleshooting: docs/live-claude-code.md.
Already have notes in Claude Code? monomem import --claude --dry-run shows what could be brought in from your CLAUDE.md files and Claude Code's auto memory (secrets are skipped, nothing leaves your computer). Coming from claude-mem, mem0, basic-memory or the official MCP memory server? monomem import --from claude-mem --dry-run (or mem0 --path export.json, basic-memory, mcp-memory); see docs/switching.md for the import and a clean uninstall of the old tool.
In Claude Code you can also install Monomem as a plugin instead of running setup (what the plugin does and does not do):
/plugin marketplace add calasdan-sketch/monomem
/plugin install monomem@monomem
Anything else that speaks MCP or HTTP can connect too, including a browser on your phone if you expose the HTTP endpoint yourself (INFRA.md covers tunnels and phone or web access).
The manual way, if you prefer:
npm i -g monomem # 1. install
claude mcp add monomem -- monomem mcp # 2. wire it into Claude Code (stdio) monomem doctor # 3. verify Node, database, token
Then, in Claude, say "remember that my staging server is on port 8443", and in a fresh chat ask "what port is my staging server on?". Step 4, only if you want the dashboard, REST API and MCP-over-HTTP (the curl examples below need it): monomem start.
No global install: claude mcp add monomem -- npx -y monomem mcp. monomem init prints the config for Claude Desktop / Cursor / Copilot; INSTALL.md has every client.
monomem start serves the dashboard and REST API on :8790 and MCP-over-HTTP on :8791 (bound to 127.0.0.1). To reach it from your phone or claude.ai, put an authenticated tunnel (Cloudflare Tunnel + Access, Tailscale, or your own TLS proxy) in front of :8791 — see INFRA.md.
Plain REST works too once monomem start is running (the token is in ~/.monomem/.token):
TOKEN=$(cat ~/.monomem/.token)
curl -X POST localhost:8790/notes -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{"title":"Deploy day","body":"Shipped v1.1"}' curl -H "Authorization: Bearer $TOKEN" "localhost:8790/search?q=deploy"
Everything (database, token, scoped tokens, spaces config) lives in ~/.monomem (Windows: %USERPROFILE%\.monomem), outside the installed package, so npm update and npx cache cleanups never touch it. Set MONOMEM_HOME to put it elsewhere, or MONOMEM_DB_PATH for just the database. On macOS/Linux the folder is owner-only (0700, files 0600). A from-source git checkout that already has ./data/state.db keeps using it. monomem doctor shows which directory is in use. Upgrading or moving from another tool: docs/upgrading.md, docs/switching.md.
cp .env.example .env # set MONOMEM_TOKEN (openssl rand -hex 32)
docker compose up -d # dashboard at http://localhost:8790
monomem backup --out ~/om-backup # consistent hot copy; safe while the server runs
(The attestation signing key .attest-key is not copied; see docs/trust.md.)
monomem backup writes state.db (via SQLite VACUUM INTO) plus, if at-rest encryption is on, a copy of the .key file. Keep the key apart from the backup: a backup without its key is unreadable, and one stored next to it is not encrypted. See INFRA.md. The JSON route (admin token) also works:
TOKEN=$(cat ~/.monomem/.token)
curl -H "Authorization: Bearer $TOKEN" localhost:8790/export > backup.json # or: monomem export --format json --out backup.json curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \ --data-binary @backup.json localhost:8790/import # admin scope only
POST /import does not de-duplicate: importing a backup into a store that already holds those notes creates duplicates.history), so export size tracks how often you rewrote a note, not just your note count. ?history=0 / --no-history leaves them out. An export with history can hold text someone removed on purpose — treat it like the database (see SECURITY.md). The change feed's per-edit log is separate: metadata only (titles, no bodies), pruned after 90 days, and never part of a JSON backup.GET /export and monomem export --format json page through the store and write as they go, so peak memory is one page (500 notes) regardless of store size — a multi-month store dumps in one pass.created_at, updated_at, source and the rev counter all survive the round trip (a note at rev 26 stays at rev 26, so if_rev guards and the change feed stay accurate). Imports over 200 notes land in seconds and defer the O(n²) similarity-graph rebuild — the response says so and search works immediately; run monomem rebuild-edges when you want neighbor ranking back. Restored notes are re-embedded automatically when semantic search is enabled.monomem export --format md --dir ~/memory — see docs/file-sync.md.Notes keep their earlier versions (up to 20 per note by default), so replacing or editing a note can be undone; deleting one is permanent, by design. Local apps are marked stdio: (stdio:cursor, stdio:claude-code, ...), a name the app's config file declares, not a login; give each app its own token when the writer must be authenticated. Benchmarks back these claims.
| Command | What it shows | What it can't catch |
|---|---|---|
monomem drill | Replays known poisoning attacks on a copy of your store and says which reached an agent | Only attacks it already knows about |
monomem health | One grade A-F with the reason: setup, settings, drill, audit chain, held writes | It grades what it checks, not everything in your notes |
monomem why 42 | The story of note #42: who wrote each version, what replaced it, which sessions were shown it | Who read the note (only a count and the last read time are kept), and versions older than the kept history (20 by default) |
monomem conflicts | Disagreements between writers: exact ones from attached facts, then a "possible" tier guessed from key: value lines in the text. It only flags and never changes a note | A reworded disagreement with no fact or key: value line is missed |
monomem facts | The decisions agents recorded as facts, with who wrote them; disputed keys marked | Decisions nobody recorded as a fact |
monomem receipts | Which notes recent session starts showed, and why (give a session id for one session's list) | Notes an agent found later by searching, and sessions older than the receipt window (30 days by default) |
monomem search --as-of | What your memory held at an earlier time, rebuilt from history | Notes deleted for good, and text older than the kept versions |
Agents that record decisions as facts (deploy_target, package_manager ...) get an exact match: a different value from another writer is flagged on write and, at session start, shown as a short "writers disagree" line. health opens your store (an older database file is upgraded once) and writes one small row noting how long the audit log was, so the next run can see lines removed. These are local commands: drill and health run the drill with embeddings forced off, so they make no embedding call (and no call to any other machine; the drill talks only to a temporary server on 127.0.0.1) even when MONOMEM_EMBEDDINGS and a remote MONOMEM_EMBED_URL are set (health only reports that such a URL is configured).
Monomem can also remember what your coding agent *does*, without anyone writing a note. Setup can wire this for Claude Code, Codex, Gemini CLI and Muse (whichever it finds on this computer). The Codex and Gemini CLI hooks follow those tools' published hook documentation (Codex asks you to approve them once with /hooks); Muse does not publish its hook fields, so capture there is t
冒頭だけを表示しています。続きはリポジトリで読めます