memwright
MCP server by bolnet Community
Gives multi-agent AI systems self-hosted memory with role-based access, provenance, tenant isolation and auditable deletion. Built for teams that must show who wrote, read or forgot a memory. Runs as a Python library, REST sidecar or MCP server.
Install memwright
Built from the published package, never by AI.
claude mcp add memwright -- uvx memwrightRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"memwright": {
"args": [
"memwright"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"memwright": {
"args": [
"memwright"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"memwright": {
"args": [
"memwright"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add memwright -- uvx memwright{
"mcpServers": {
"memwright": {
"args": [
"memwright"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add memwright uvx memwrightGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the memwright block.
About
The listing name is memwright, but the source repository describes itself as Attestor, a self-hosted memory service for AI agents. It enforces roles through an AgentContext, records provenance on every memory, and sets per-agent token budgets and write quotas. Each memory is stored in Postgres and derived into Pinecone for vectors and Neo4j for graph search. Recall uses a deterministic ranking path with no LLM in scoring by default, and it can replay state as of a past time.
Forget-user and retention actions are audited, and governance jobs can run as durable Temporal workflows through an opt-in extra. The service runs as a Python library, a REST sidecar, or an MCP server with the same API. The source says it is for multi-agent products where agents with different trust levels share one memory, and for regulated systems that need point-in-time reconstruction. It is not meant as a personal memory for a single coding assistant.
Written from the project's README and checked against it.
What you need
- Python, installable with pip
- Docker, for the local stack
- Ollama serving bge-m3, for the quickstart embedder
- Postgres, Pinecone and Neo4j, for the full stack
| Setting | Needed | What it is |
|---|---|---|
PG_Environment variable | Optional | PostgreSQL connection string for pgvector (default: postgresql://memwright:memwright@localhost:5432/memwright) |
NEO4J_Environment variable, secret | Optional | Neo4j database password (default: memwright) |
OPENROUTER_Environment variable, secret | Optional | OpenRouter API key for embeddings (required for semantic search) |
OPENAI_Environment variable, secret | Optional | OpenAI API key for embeddings (alternative to OpenRouter) |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Recall what the team believed about the release plan last Friday
- Show which agent wrote this memory and when
- Forget all stored memories for this user and report the counts
Good to know
- Role enforcement runs in process inside the AgentContext; REST and MCP surfaces rely on their own auth
- The Pinecone lane ignores as_of and logs a warning
- Forget-user and retention actions are audited, but compact() is not audited
- Not designed as a personal memory for a single coding assistant
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Shared memory for multi-agent systems
- Point-in-time recall for audits
- Auditable deletion of user data
Alternatives to memwright
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
memwright: common questions
Does this MCP server enforce who can write or forget memories?
The source says role enforcement is an AgentContext guarantee that runs in process. The REST and MCP surfaces call the store directly and rely on their own auth.
Where are memories stored?
The source says every memory is stored once in Postgres as the source of truth, and derived into Pinecone for vectors and Neo4j for graph data.
Can it show what the memory looked like in the past?
Yes. The source says recall with an as_of time filters facts by transaction time, and supersession never deletes old facts.
How do I install memwright?
In Claude Code run claude mcp add memwright -- uvx memwright. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is memwright the official server?
memwright is a community project by bolnet, not verified by a company domain.
Is memwright free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is memwright safe to use?
It scores 59 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to memwright?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does memwright work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
