Skip to content

Commit 837387a

Browse files
authored
Update README.md
1 parent c08e4fd commit 837387a

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -220,16 +220,11 @@ First, you'll need to download this repository. After you've downloaded it, you
220220

221221
2 (a). The easiest way to start the REST API server and MCP server in SSE mode is to use Docker Compose. See the Docker Compose section of this file for more details.
222222

223-
2 (b). You can also run the REST API and MCP servers directly:
224-
#### REST API
223+
2 (b). You can also run the REST API and MCP servers directly, e.g.:
224+
#### REST API (direct, without CLI)
225225
```bash
226226
python -m agent_memory_server.main
227227
```
228-
#### MCP Server
229-
The MCP server can run in either SSE mode or stdio:
230-
```bash
231-
agent-memory mcp --mode <sse|stdio>
232-
```
233228

234229
**NOTE:** With uv, prefix the command with `uv`, e.g.: `uv run agent-memory --mode sse`. If you installed from source, you'll probably need to add `--directory` to tell uv where to find the code: `uv run --directory <path/to/checkout> run agent-memory --mode stdio`.
235230

@@ -267,9 +262,9 @@ For example, with Claude, use the following configuration:
267262
"--directory",
268263
"/ABSOLUTE/PATH/TO/REPO/DIRECTORY/agent-memory-server",
269264
"run",
270-
"python",
271-
"-m",
272-
"agent_memory_server.mcp",
265+
"agent-memory",
266+
"-mcp",
267+
"--mode",
273268
"stdio"
274269
]
275270
}
@@ -283,7 +278,7 @@ command globally accessible, so Claude can find it, would work.
283278

284279
<img src="cursor.png">
285280

286-
Cursor's MCP config is similar to Claude's, but it also supports SSE servers, so you can run the server yourself and pass in the URL:
281+
Cursor's MCP config is similar to Claude's, but it also supports SSE servers, so you can run the server in SSE mode and pass in the URL:
287282

288283
```json
289284
{

0 commit comments

Comments
 (0)