Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Add : Openmemory Local Support using New Library (#3014)

Akshat Jaineb24b9222774
diff --git a/docs/openmemory/integrations.mdx b/docs/openmemory/integrations.mdx
index 2159067e2..25fbf7bb9 100644
--- a/docs/openmemory/integrations.mdx
+++ b/docs/openmemory/integrations.mdx
@@ -26,10 +26,10 @@ These values define where your MCP server is running and which user's memory is
### MCP Client Setup
-Use the `install-mcp` utility to connect a client. The general command format is as follows:
+Use the following one step command to configure OpenMemory Local MCP to a client. The general command format is as follows:
```bash
-npx install-mcp http://localhost:8765/mcp/<client-name>/sse/<user-id> --client <client-name>
+npx @openmemory/install local http://localhost:8765/mcp/<client-name>/sse/<user-id> --client <client-name>
```
Replace `<client-name>` with the desired client name and `<user-id>` with the value specified in your environment variables.
diff --git a/docs/openmemory/quickstart.mdx b/docs/openmemory/quickstart.mdx
index 2b0ab89fb..c86c74c2a 100644
--- a/docs/openmemory/quickstart.mdx
+++ b/docs/openmemory/quickstart.mdx
@@ -150,7 +150,7 @@ pnpm dev
You can configure the MCP client using the following command (replace username with your username):
```bash
-npx install-mcp i "http://localhost:8765/mcp/cursor/sse/username" --client cursor
+npx @openmemory/install local "http://localhost:8765/mcp/cursor/sse/username" --client cursor
```
The OpenMemory dashboard will be available at http://localhost:3000. From here, you can view and manage your memories, as well as check connection status with your MCP clients.
diff --git a/openmemory/README.md b/openmemory/README.md
index 6296f2a6d..2d3346f38 100644
--- a/openmemory/README.md
+++ b/openmemory/README.md
@@ -98,10 +98,10 @@ pnpm dev
### MCP Client Setup
-Use the `install-mcp` utility to connect a client. The general command format is as follows:
+Use the following one step command to configure OpenMemory Local MCP to a client. The general command format is as follows:
```bash
-npx install-mcp http://localhost:8765/mcp/<client-name>/sse/<user-id> --client <client-name>
+npx @openmemory/install local http://localhost:8765/mcp/<client-name>/sse/<user-id> --client <client-name>
```
Replace `<client-name>` with the desired client name and `<user-id>` with the value specified in your environment variables.
diff --git a/openmemory/ui/components/dashboard/Install.tsx b/openmemory/ui/components/dashboard/Install.tsx
index a3e77c1dc..e2bb39a55 100644
--- a/openmemory/ui/components/dashboard/Install.tsx
+++ b/openmemory/ui/components/dashboard/Install.tsx
@@ -52,7 +52,7 @@ export const Install = () => {
const handleCopy = async (tab: string, isMcp: boolean = false) => {
const text = isMcp
? `${URL}/mcp/openmemory/sse/${user}`
- : `npx install-mcp ${URL}/mcp/${tab}/sse/${user} --client ${tab}`;
+ : `npx @openmemory/install local ${URL}/mcp/${tab}/sse/${user} --client ${tab}`;
try {
// Try using the Clipboard API first
@@ -168,7 +168,7 @@ export const Install = () => {
<div className="relative">
<pre className="bg-zinc-800 px-4 py-3 rounded-md overflow-x-auto text-sm">
<code className="text-gray-300">
- {`npx install-mcp ${URL}/mcp/${key}/sse/${user} --client ${key}`}
+ {`npx @openmemory/install local ${URL}/mcp/${key}/sse/${user} --client ${key}`}
</code>
</pre>
<div>