GhostPaw Codex MCP server
io.github.GhostPawJS · Updated
Local belief and memory engine with evidence, certainty, and honest revision history.
At a glance
GhostPaw Codex is an MCP server in the Dev Tools & Git category. It runs locally over stdio via `npx -y @ghostpaw/codex`, and declares no required credentials. It exposes 7 tools, including search_codex, review_codex and inspect_codex_item. It scores A (83/100) on the MCP Skills Hub health score as of Oct 28, 2026.
One-click install
Opens your editor and pre-fills the config. Your editor will ask before adding it.
How to install GhostPaw Codex in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install GhostPaw Codex in Claude CodeAnthropic's agentic CLI
Add the server
bashclaude mcp add codex -- npx -y @ghostpaw/codexVerify it's connected
bashclaude mcp listSharing it with your team?
Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).
Use it in a session
Ask Claude to use the tools this server exposes (e.g. search_codex, review_codex, inspect_codex_item). It discovers them automatically.
How to install GhostPaw Codex in Claude DesktopDesktop app (MCP config)
Open your MCP config
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json
Add this server
json{ "mcpServers": { "codex": { "command": "npx", "args": [ "-y", "@ghostpaw/codex" ] } } }Restart Claude Desktop
The tools appear under the 🔌 menu once the app reloads.
How to install GhostPaw Codex in CursorAI-first code editor
Create / edit .cursor/mcp.json in your project
json{ "mcpServers": { "codex": { "command": "npx", "args": [ "-y", "@ghostpaw/codex" ] } } }Enable it
Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.
How to install GhostPaw Codex in Codex CLIOpenAI coding agent
Add to ~/.codex/config.toml
toml[mcp_servers.codex] command = "npx" args = ["-y", "@ghostpaw/codex"]Run Codex
Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.
How to install GhostPaw Codex in WindsurfCodeium's agentic IDE
Edit ~/.codeium/windsurf/mcp_config.json
json{ "mcpServers": { "codex": { "command": "npx", "args": [ "-y", "@ghostpaw/codex" ] } } }Reload
Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.
How to install GhostPaw Codex in ClineVS Code autonomous agent
Open Cline → MCP Servers → Configure
Adds to cline_mcp_settings.json.
Add the server
json{ "mcpServers": { "codex": { "command": "npx", "args": [ "-y", "@ghostpaw/codex" ] } } }
How to install GhostPaw Codex in VS CodeCopilot / MCP support
Create .vscode/mcp.json
json{ "servers": { "codex": { "type": "stdio", "command": "npx", "args": [ "-y", "@ghostpaw/codex" ] } } }Start it
VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.
What does GhostPaw Codex need from you?
Configuration only — Declares config values but no credentials.
GHOSTPAW_CODEX_DBoptionalEnvironment variableSQLite database path (default: ~/.ghostpaw/codex.db)
GHOSTPAW_CODEX_DBoptionalEnvironment variableSQLite database path (default: ~/.ghostpaw/codex.db)
Pass secrets through your shell environment rather than committing them into a config file.
What tools does GhostPaw Codex expose? (7)
Taken from the project's README — the server itself was not queried, so check its docs for the exact schemas.
- search_codexLexical recall with FTS5 bm25 and character-trigram similarity
- review_codexDashboards: flags, status, trends, log
- inspect_codex_itemOne belief in full: metrics, lineage, nearby beliefs
- remember_beliefCapture a claim with source, category and provenance
- revise_beliefConfirm, correct, forget, defer or merge
- retire_beliefHard-delete for privacy or cleanup
- dismiss_proximityMark two nearby beliefs as intentionally distinct
What the code can do
Read from the published package source — never executed. Parsed 6 of 6 source files.
This server can read and write files, read your environment variables and read system information.
How it was published
- Published by a verified CI identity (github trusted publishing) rather than a personal token.
- Has a provenance attestation tying this artifact to the commit it was built from.
- 1 npm maintainer — a single point of compromise · last published by GitHub Actions.
Maintainer of this package and think something here is wrong? Tell us and we'll correct it.
Before you install
Signals gathered from the source repo and package registry — not a safety verdict.
What it can reach
- Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
- Downloads at launch — The package is fetched from its registry each run unless you pin a version.
- Last commit today — Actively maintained.
- 2 GitHub stars — Very little community usage so far.
Client compatibility
Health score
A · 83Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated
- Maintenance30%100%
Last commit 0 days ago.
- Adoption20%14%
2 stars.
- Transparency20%100%
4/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✓ discoverable tool list.
- Provenance15%100%
Package and registry entry point at the same repository.
- Packaging15%100%
Publishes a pinned version (0.6.1).
Documentation
Full README@ghostpaw/codex
Agent memory as beliefs with a source, a certainty and a revision history.
ghostpaw-codex --helpLocal, evidence-backed memory for agents. One SQLite file, zero runtime dependencies.
Codex stores what an agent believes as claims with a source, a certainty, evidence counts, decay and an honest revision history. Agents search before they remember, confirm or correct instead of appending, and see which beliefs are stale, fading or weakly evidenced. It runs as a TypeScript library, an MCP server, a CLI and an Agent Skill, all generated from the same seven tools.
Website: codex.ghostpaw.dev
The release binary includes its runtime. npm and library use require Node.js 24+.
Install
Release binary (default)
Each line downloads the latest release asset, checks it against the release's SHA256SUMS and installs ghostpaw-codex into ~/.local/bin. On Linux and macOS the trailing export puts that folder on PATH for the current shell only: neither the line nor install.sh edits ~/.profile or any other shell startup file. The Windows script adds its folder to the user PATH (open a new terminal afterwards).
linux-x64:
curl -fsSL https://raw.githubusercontent.com/GhostPawJS/codex/main/install.sh | sh -s -- --target linux-x64 && export PATH="$HOME/.local/bin:$PATH"linux-arm64:
curl -fsSL https://raw.githubusercontent.com/GhostPawJS/codex/main/install.sh | sh -s -- --target linux-arm64 && export PATH="$HOME/.local/bin:$PATH"Excerpt — the full document is on GitHub.
Alternatives to GhostPaw Codex
- GhostPaw GrimoireA · 83Local procedural knowledge with spells, notes, and revision history.
- KEPTA — the memory for AI systemsA · 82Local encrypted memory for AI: hybrid search, 8 MCP tools, one file you own. Free, no cloud.
- codeagent-memoryB · 66Local code graph and solution memory for coding agents via CLI and MCP.
- GhostPaw AffinityA · 82Local relationship model and social CRM for contacts, relationships, evidence, and commitments.
Maintain GhostPaw Codex? Add a badge to your README
Shows its health grade, and links readers to install steps for every client.
[](https://mcp-skills-hub.vercel.app/mcps/io-github-ghostpawjs-codex)Catalog data refreshed . Something wrong? Report it.