fix(mem0-plugin): use env var in .mcp.json, fix onboarding MCP check

- .mcp.json: use ${MEM0_API_KEY} instead of ${user_config.MEM0_API_KEY}
  so MCP connects for --plugin-dir users with the key in their shell
- mem0-onboard: check MCP tools availability first, stop early with
  clear instructions if MCP server not connected
This commit is contained in:
kartik-mem0
2026-05-21 21:29:19 +05:30
parent d5b15cebb7
commit 141782a230
2 changed files with 11 additions and 22 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"type": "http",
"url": "https://mcp.mem0.ai/mcp/",
"headers": {
"Authorization": "Token ${user_config.MEM0_API_KEY}"
"Authorization": "Token ${MEM0_API_KEY}"
}
}
}