Platform Installers
The mcp-automem CLI provides one-command installers for each supported AI platform. These commands configure the MCP server connection, install memory rules, and set up platform-specific integration files — all without manually editing configuration files.
For initial installation and setup wizard, see Setup & Installation. For configuration details and environment variables, see Configuration Tools.
Overview
Section titled “Overview”Each platform installer generates and installs appropriate configuration files for that platform’s MCP server format. The installers read your current AutoMem configuration from the environment or .env file and write the correct JSON, TOML, or Markdown files for each platform.
| Command | Generated Files | Configuration Location |
|---|---|---|
cursor | .cursor/rules/automem.mdc | ~/.cursor/mcp.json (manual) |
claude-code | ~/.claude/CLAUDE.md updates | ~/.claude/settings.json |
codex | AGENTS.md updates | ~/.codex/config.toml (manual) |
openclaw | ~/.openclaw/skills/automem/SKILL.md | ~/.openclaw/openclaw.json (automatic) |
Claude Desktop
Section titled “Claude Desktop”Claude Desktop requires manual configuration file editing — there is no one-command installer. The setup wizard prints the configuration snippet after completing setup.
Configuration File Location
Section titled “Configuration File Location”| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Configuration Structure
Section titled “Configuration Structure”Add the automem entry to the mcpServers object in your Claude Desktop config file:
{ "mcpServers": { "automem": { "command": "npx", "args": ["@verygoodplugins/mcp-automem"], "env": { "AUTOMEM_ENDPOINT": "http://localhost:8001", "AUTOMEM_API_KEY": "your-api-key" } } }}The command and args launch the MCP server in stdio mode. The env block passes configuration to the server process. Claude Desktop spawns this command when initializing MCP connections.
After editing the config file, restart Claude Desktop for changes to take effect.
Cursor IDE
Section titled “Cursor IDE”The cursor command installs memory rules into the project’s .cursor/rules/ directory as a Cursor-compatible .mdc file.
Installation
Section titled “Installation”npx @verygoodplugins/mcp-automem cursorThis creates .cursor/rules/automem.mdc in the current directory with memory operation rules tailored for Cursor’s AI features.
MCP Configuration
Section titled “MCP Configuration”Cursor’s global MCP configuration lives at ~/.cursor/mcp.json. Add the AutoMem server entry:
{ "mcpServers": { "automem": { "command": "npx", "args": ["@verygoodplugins/mcp-automem"] } }}Project-Specific Rules
Section titled “Project-Specific Rules”The .cursor/rules/automem.mdc file installed by the cursor command contains instructions that tell Cursor’s AI how to use AutoMem tools — when to store memories, how to structure recalls, and what context to preserve across sessions.
Claude Code
Section titled “Claude Code”The claude-code command updates the global ~/.claude/CLAUDE.md memory rules file and configures permissions in ~/.claude/settings.json.
Installation
Section titled “Installation”npx @verygoodplugins/mcp-automem claude-codeThis command:
- Updates
~/.claude/CLAUDE.mdwith AutoMem memory operation instructions - Configures
~/.claude/settings.jsonwith appropriate tool permissions
MCP Configuration
Section titled “MCP Configuration”Claude Code reads MCP server configuration from ~/.claude.json:
{ "mcpServers": { "automem": { "command": "npx", "args": ["@verygoodplugins/mcp-automem"], "env": { "AUTOMEM_ENDPOINT": "http://localhost:8001", "AUTOMEM_API_KEY": "your-api-key" } } }}OpenAI Codex
Section titled “OpenAI Codex”The codex command installs AutoMem instructions into the project’s AGENTS.md file, which Codex reads as agent instructions.
Installation
Section titled “Installation”npx @verygoodplugins/mcp-automem codexThis updates AGENTS.md in the current directory with memory operation rules for Codex.
MCP Configuration (TOML)
Section titled “MCP Configuration (TOML)”Codex uses TOML format for its configuration file at ~/.codex/config.toml. The TOML format is semantically equivalent to the JSON format used by other platforms:
[[mcp_servers]]name = "automem"command = "npx"args = ["@verygoodplugins/mcp-automem"]
[mcp_servers.env]AUTOMEM_ENDPOINT = "http://localhost:8001"AUTOMEM_API_KEY = "your-api-key"Config Snippet Generation
Section titled “Config Snippet Generation”Generate the TOML snippet for your current configuration:
npx @verygoodplugins/mcp-automem config --format tomlOpenClaw
Section titled “OpenClaw”The openclaw command installs AutoMem as a skill in the OpenClaw framework, including automatic registration in ~/.openclaw/openclaw.json.
Installation
Section titled “Installation”npx @verygoodplugins/mcp-automem openclawThis command:
- Creates
~/.openclaw/skills/automem/SKILL.mdwith memory operation instructions - Automatically registers the skill in
~/.openclaw/openclaw.json
Unlike other platform installers, OpenClaw supports automatic configuration file modification.
Warp Terminal
Section titled “Warp Terminal”Warp Terminal has native MCP support. Configure AutoMem in Warp’s MCP settings by adding:
{ "name": "automem", "command": "npx", "args": ["@verygoodplugins/mcp-automem"], "env": { "AUTOMEM_ENDPOINT": "http://localhost:8001", "AUTOMEM_API_KEY": "your-api-key" }}Warp’s MCP configuration interface is accessible through Settings → AI → MCP Servers.
Remote MCP (Cloud Platforms)
Section titled “Remote MCP (Cloud Platforms)”For cloud AI platforms that cannot run local processes (ChatGPT, Claude.ai via API, ElevenLabs), AutoMem provides a remote MCP bridge via the mcp-sse-server service.
The mcp-sse-server exposes AutoMem tools over SSE (Server-Sent Events) transport, which is compatible with remote MCP clients. Deploy it alongside the AutoMem backend — see Railway Deployment for the deployment setup.
Configure cloud platforms with the public URL of your deployed mcp-sse-server:
https://your-mcp-bridge.up.railway.appConfiguration Structure by Platform
Section titled “Configuration Structure by Platform”The following diagram shows how configuration files map to different platforms:
graph TB
subgraph "JSON Platforms"
ClaudeDesktop["Claude Desktop<br/>claude_desktop_config.json"]
CursorIDE["Cursor IDE<br/>~/.cursor/mcp.json"]
ClaudeCode["Claude Code<br/>~/.claude.json"]
end
subgraph "TOML Platforms"
Codex["OpenAI Codex<br/>~/.codex/config.toml"]
end
subgraph "Rule Files"
CursorRules[".cursor/rules/automem.mdc"]
ClaudeMD["~/.claude/CLAUDE.md"]
AgentsMD["AGENTS.md"]
OpenClawSkill["~/.openclaw/skills/automem/SKILL.md"]
end
subgraph "MCP Server"
NPX["npx @verygoodplugins/mcp-automem<br/>(stdio transport)"]
SSE["mcp-sse-server<br/>(SSE transport, cloud platforms)"]
end
ClaudeDesktop --> NPX
CursorIDE --> NPX
ClaudeCode --> NPX
Codex --> NPX
CursorInstaller["cursor command"] --> CursorRules
ClaudeCodeInstaller["claude-code command"] --> ClaudeMD
CodexInstaller["codex command"] --> AgentsMD
OpenClawInstaller["openclaw command"] --> OpenClawSkill
Verification
Section titled “Verification”After installing for any platform, verify the MCP connection is working:
- Restart the AI platform application
- Ask the AI to check memory health: “Check my AutoMem database health”
- The AI should call
check_database_healthand return status information
A successful response looks like:
AutoMem is connected and healthy:- FalkorDB: connected (0 memories)- Qdrant: connected- Enrichment worker: runningTroubleshooting Platform Installers
Section titled “Troubleshooting Platform Installers”Claude Desktop: Server Not Found
Section titled “Claude Desktop: Server Not Found”Symptom: Claude Desktop reports “Server not found” for AutoMem
Solutions:
- Verify the config file path is correct for your OS
- Validate JSON syntax (the config file must be valid JSON)
- Ensure
npxis in the PATH accessible to Claude Desktop - Restart Claude Desktop after config changes
Cursor: Tools Not Available
Section titled “Cursor: Tools Not Available”Symptom: AutoMem tools are not available in Cursor
Solutions:
- Check
~/.cursor/mcp.jsonexists and has valid JSON - Ensure
.envfile is present in the project root withAUTOMEM_ENDPOINT - Reload the Cursor window (Cmd/Ctrl+Shift+P → “Reload Window”)
Claude Code: Permission Denied
Section titled “Claude Code: Permission Denied”Symptom: Claude Code reports permission errors when calling AutoMem tools
Solutions:
- Run
npx @verygoodplugins/mcp-automem claude-codeto update permissions - Check
~/.claude/settings.jsonfor theautomemtool permissions - Add tool allowances manually if needed
All Platforms: ECONNREFUSED
Section titled “All Platforms: ECONNREFUSED”Symptom: MCP server starts but cannot reach AutoMem service
Solutions:
- Verify AutoMem service is running:
curl http://localhost:8001/health - Check
AUTOMEM_ENDPOINTis set correctly in.envor platform configenvblock - For Railway deployments, verify the public URL is accessible