Open Agent Memory
v0.0.1Self-hosted OAM memory with cited recall over your existing deployment
Values you need
| Variable | What it is | |
|---|---|---|
OAM_BASE_URL | required | URL of your existing OAM deployment, for example http://127.0.0.1:17333 |
OAM_USER_ID | required | Your authorized OAM user ID |
OAM_USER_API_KEY | required secret | User-scoped API key for your OAM deployment |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add oam -e 'OAM_BASE_URL=<OAM_BASE_URL>' -e 'OAM_USER_API_KEY=<OAM_USER_API_KEY>' -e 'OAM_USER_ID=<OAM_USER_ID>' -- npx -y @rocke-dong/oam-mcp@0.0.1Add to
claude_desktop_config.json{
"mcpServers": {
"oam": {
"args": [
"-y",
"@rocke-dong/oam-mcp@0.0.1"
],
"command": "npx",
"env": {
"OAM_BASE_URL": "<OAM_BASE_URL>",
"OAM_USER_API_KEY": "<OAM_USER_API_KEY>",
"OAM_USER_ID": "<OAM_USER_ID>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"oam": {
"args": [
"-y",
"@rocke-dong/oam-mcp@0.0.1"
],
"command": "npx",
"env": {
"OAM_BASE_URL": "<OAM_BASE_URL>",
"OAM_USER_API_KEY": "<OAM_USER_API_KEY>",
"OAM_USER_ID": "<OAM_USER_ID>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "OAM_BASE_URL",
"id": "oam-base-url",
"password": true,
"type": "promptString"
},
{
"description": "OAM_USER_API_KEY",
"id": "oam-user-api-key",
"password": true,
"type": "promptString"
},
{
"description": "OAM_USER_ID",
"id": "oam-user-id",
"password": true,
"type": "promptString"
}
],
"servers": {
"oam": {
"args": [
"-y",
"@rocke-dong/oam-mcp@0.0.1"
],
"command": "npx",
"env": {
"OAM_BASE_URL": "${input:oam-base-url}",
"OAM_USER_API_KEY": "${input:oam-user-api-key}",
"OAM_USER_ID": "${input:oam-user-id}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.oam]
command = "npx"
args = ["-y", "@rocke-dong/oam-mcp@0.0.1"]
env = { "OAM_BASE_URL" = "<OAM_BASE_URL>", "OAM_USER_API_KEY" = "<OAM_USER_API_KEY>", "OAM_USER_ID" = "<OAM_USER_ID>" }For AI agents
- Ask the user for: OAM_BASE_URL, OAM_USER_ID, OAM_USER_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: memory_recall, memory_add, memory_add_document, memory_operation, memory_profile, memory_remove.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json