Skip to content

#1 Persistent memory for AI coding agents based on real-world benchmarks

Merge remote-tracking branch 'origin/main' into fix/standalone-mcp-npx-command

Rohit Ghumare266598134181
diff --cc README.md
index 7b422f83,72b820da..50b9cc66
--- a/README.md
+++ b/README.md
@@@ -355,14 -355,14 +355,14 @@@ Then add the MCP config for your agent
| Agent | Setup |
|---|---|
- | **Cursor** | Add to `~/.cursor/mcp.json`: `{"mcpServers": {"agentmemory": {"command": "npx", "args": ["--package", "@agentmemory/agentmemory", "agentmemory-mcp"]}}}` |
- | **OpenClaw** | Add to MCP config: `{"mcpServers": {"agentmemory": {"command": "npx", "args": ["--package", "@agentmemory/agentmemory", "agentmemory-mcp"]}}}` or use the [gateway plugin](integrations/openclaw/) |
- | **Gemini CLI** | `gemini mcp add agentmemory -- npx --package @agentmemory/agentmemory agentmemory-mcp` |
- | **Codex CLI** | Add to `.codex/config.yaml`: `mcp_servers: {agentmemory: {command: npx, args: ["--package", "@agentmemory/agentmemory", "agentmemory-mcp"]}}` |
- | **OpenCode** | Add to `opencode.json`: `{"mcp": {"agentmemory": {"type": "local", "command": ["npx", "--package", "@agentmemory/agentmemory", "agentmemory-mcp"], "enabled": true}}}` |
+ | **Cursor** | Add to `~/.cursor/mcp.json`: `{"mcpServers": {"agentmemory": {"command": "npx", "args": ["-y", "agentmemory-mcp"]}}}` |
+ | **OpenClaw** | Add to MCP config: `{"mcpServers": {"agentmemory": {"command": "npx", "args": ["-y", "agentmemory-mcp"]}}}` or use the [gateway plugin](integrations/openclaw/) |
+ | **Gemini CLI** | `gemini mcp add agentmemory -- npx -y agentmemory-mcp` |
+ | **Codex CLI** | Add to `.codex/config.yaml`: `mcp_servers: {agentmemory: {command: npx, args: ["-y", "agentmemory-mcp"]}}` |
-| **OpenCode** | Add to `.opencode/config.json`: `{"mcpServers": {"agentmemory": {"command": "npx", "args": ["-y", "agentmemory-mcp"]}}}` |
++| **OpenCode** | Add to `opencode.json`: `{"mcp": {"agentmemory": {"type": "local", "command": ["npx", "-y", "agentmemory-mcp"], "enabled": true}}}` |
| **Hermes Agent** | Add to `~/.hermes/config.yaml` or use the [memory provider plugin](integrations/hermes/) |
| **Cline / Goose / Kilo Code** | Add MCP server in settings |
- | **Claude Desktop** | Add to `claude_desktop_config.json`: `{"mcpServers": {"agentmemory": {"command": "npx", "args": ["--package", "@agentmemory/agentmemory", "agentmemory-mcp"]}}}` |
+ | **Claude Desktop** | Add to `claude_desktop_config.json`: `{"mcpServers": {"agentmemory": {"command": "npx", "args": ["-y", "agentmemory-mcp"]}}}` |
| **Aider** | REST API: `curl -X POST http://localhost:3111/agentmemory/smart-search -d '{"query": "auth"}'` |
| **Any agent (32+)** | `npx skillkit install agentmemory` |
@@@ -606,19 -606,6 +607,19 @@@ Most agents (Cursor, Claude Desktop, Cl
}
```
+OpenCode (`opencode.json`):
+```json
+{
+ "mcp": {
+ "agentmemory": {
+ "type": "local",
- "command": ["npx", "--package", "@agentmemory/agentmemory", "agentmemory-mcp"],
++ "command": ["npx", "-y", "agentmemory-mcp"],
+ "enabled": true
+ }
+ }
+}
+```
+
---
<h2 id="real-time-viewer"><picture><source media="(prefers-color-scheme: dark)" srcset="assets/tags/light/section-viewer.svg"><img src="assets/tags/section-viewer.svg" alt="Real-Time Viewer" height="32" /></picture></h2>