Files
mem0/integrations/claude-code-plugin/.claude-plugin/plugin.json
T
kartik-mem0 cbfb37c623 fix(plugins): give the MCP server the hooks' data dir, release 0.3.4
mcp_server.py never calls configure_harness, so it resolved ~/.mem0/mem0-plugin while the Cursor, Kimi and Antigravity hooks use ~/.mem0/<host>-plugin. A key set in Cursor's plugin settings and cached by the sessionStart hook was invisible to search_memories. build.py now writes DATA_DIR_NAME into each bundle's _harness_id.py and memory_core seeds its default from it, like the PLATFORM_* values.

An end-to-end test launches the real session-start hook and MCP server for Claude Code, Cursor and Codex the way each host does, with the key in plugin settings and in the mem0 init config, and checks the search reaches the API with that key.

Bumps the Python plugins to 0.3.4, OpenCode to 0.4.2, Pi and DeepSeek to 0.3.3, with changelog entries for each.

Fixes #7346
2026-09-25 11:11:37 +05:30

53 lines
1.8 KiB
JSON

{
"name": "mem0",
"version": "0.3.4",
"description": "Cross-session memory and token savings for coding agents.",
"author": {
"name": "Mem0"
},
"homepage": "https://docs.mem0.ai/integrations/claude-code",
"repository": "https://github.com/mem0ai/mem0",
"license": "Apache-2.0",
"keywords": ["memory", "coding-agents", "continual-learning", "token-efficiency"],
"userConfig": {
"api_key": {
"type": "string",
"title": "Mem0 API Key",
"description": "Mem0 Platform API key used to create and search memories.",
"sensitive": true,
"required": true
},
"user_id": {
"type": "string",
"title": "Memory user ID",
"description": "Optional stable ID shared across machines. When omitted, Mem0 uses your local account name, matching the earlier Mem0 Claude Code plugin.",
"required": false
},
"top_k": {
"type": "number",
"title": "Manual search results",
"description": "Maximum number of memories returned when Claude runs another search after the automatic first search.",
"default": 3,
"min": 1,
"max": 20,
"required": false
},
"max_context_chars": {
"type": "number",
"title": "Maximum retrieved context",
"description": "Maximum number of memory characters returned for one search.",
"default": 4000,
"min": 1000,
"max": 10000,
"required": false
},
"search_scope": {
"type": "string",
"title": "Default search scope",
"description": "How wide every search runs by default. 'repo' is the whole repository's shared memory plus your own preferences, 'dir' narrows the shared memory to the directory you are working in, and 'mine' is your preferences alone.",
"default": "repo",
"required": false
}
}
}