Project Memory MCP
Click on "Deploy 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., "@Project Memory MCPSearch our memory for the decision on using Turso"
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.
Project Memory MCP
A minimal remote MCP server that shares durable project knowledge between coding agents. It runs as a stateless Cloudflare Worker, stores data in Turso, and authenticates clients with scoped Bearer tokens.
Setup
Requires Node.js 20+ and a Turso database.
npm install
cp .dev.vars.example .dev.varsSet TURSO_DATABASE_URL and TURSO_AUTH_TOKEN in .dev.vars. For scripts, export the same variables in your shell; never commit them.
npm run migrate
npm run create-token -- --name "Codex MacBook" --projects '*'
npm run devHealth check: GET http://localhost:8787/health. MCP endpoint: http://localhost:8787/mcp with Authorization: Bearer mem_....
Related MCP server: local-memory-mcp
Tools
project_createproject_contextmemory_searchmemory_getdecision_savebug_savememory_supersedememory_recentmemory_update_metadata
decision_save and bug_save reject exact duplicate titles and warn about likely conflicts. Review a warning and use memory_supersede when a technical fact changed; use confirm_conflict: true only when both active memories are intentionally valid.
memory_supersede atomically marks the old memory superseded and creates an active successor linked through supersedes_id. Search and project context return active memories only, while memory_get can still retrieve an archived or superseded memory by ID for history.
memory_recent returns compact changes from the last several days. memory_update_metadata can change only summary, importance, tags, and active/archive status; technical content remains immutable.
The server does not call an LLM or embedding API and does not automatically save conversations.
Test and deploy
npm test
npm run typecheck
npx wrangler secret put TURSO_DATABASE_URL
npx wrangler secret put TURSO_AUTH_TOKEN
npm run deployRun npx @modelcontextprotocol/inspector@latest, select Streamable HTTP, enter the deployed /mcp URL, and add the Bearer token header.
Client configuration
Claude Code (native remote HTTP):
claude mcp add --transport http --header "Authorization: Bearer mem_your_token" project-memory https://your-worker.workers.dev/mcpCodex (~/.codex/config.toml):
[mcp_servers.project-memory]
url = "https://your-worker.workers.dev/mcp"
bearer_token_env_var = "PROJECT_MEMORY_TOKEN"Set PROJECT_MEMORY_TOKEN in the Codex environment. Use a separate token per client/machine so one credential can be revoked independently.
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
The project brain for AI coding agents — memory, decisions, sprints, knowledge base via MCP.
An MCP memory server. One memory your agents share — across models, devices and apps.
Cross-tool persistent memory and context for AI assistants over MCP.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that provides persistent project context, workflow management, and knowledge capture for AI coding agents. It enables agents to maintain structured memory across sessions by tracking project profiles, conventions, skills, and technical debt.7-
- FlicenseNot gradedqualityDmaintenanceA local MCP server that provides semantic memory storage and retrieval for coding and AI agents, enabling durable context across chat sessions.49 npm4-
- AlicenseNot gradedqualityBmaintenanceAn MCP server that lets coding agents build and query a persistent knowledge graph of concepts, architecture, and decisions, enabling them to remember across sessions.211 npm556MIT
- FlicenseNot gradedqualityBmaintenanceA local, cross-editor MCP server that provides persistent memory for coding agents, capturing and recalling decisions, conventions, and fixes across sessions without API keys.-