Add : Openmemory Local Support using New Library (#3014)
Co-authored-by: Saket Aryan <saketaryan2002@gmail.com>
This commit is contained in:
@@ -26,10 +26,10 @@ These values define where your MCP server is running and which user's memory is
|
|||||||
|
|
||||||
### MCP Client Setup
|
### 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
|
```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.
|
Replace `<client-name>` with the desired client name and `<user-id>` with the value specified in your environment variables.
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ pnpm dev
|
|||||||
You can configure the MCP client using the following command (replace username with your username):
|
You can configure the MCP client using the following command (replace username with your username):
|
||||||
|
|
||||||
```bash
|
```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.
|
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.
|
||||||
|
|||||||
@@ -98,10 +98,10 @@ pnpm dev
|
|||||||
|
|
||||||
### MCP Client Setup
|
### 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
|
```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.
|
Replace `<client-name>` with the desired client name and `<user-id>` with the value specified in your environment variables.
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ export const Install = () => {
|
|||||||
const handleCopy = async (tab: string, isMcp: boolean = false) => {
|
const handleCopy = async (tab: string, isMcp: boolean = false) => {
|
||||||
const text = isMcp
|
const text = isMcp
|
||||||
? `${URL}/mcp/openmemory/sse/${user}`
|
? `${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 {
|
||||||
// Try using the Clipboard API first
|
// Try using the Clipboard API first
|
||||||
@@ -168,7 +168,7 @@ export const Install = () => {
|
|||||||
<div className="relative">
|
<div className="relative">
|
||||||
<pre className="bg-zinc-800 px-4 py-3 rounded-md overflow-x-auto text-sm">
|
<pre className="bg-zinc-800 px-4 py-3 rounded-md overflow-x-auto text-sm">
|
||||||
<code className="text-gray-300">
|
<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>
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user