Skip to content

Commit 35d18de

Browse files
committed
Add claude mcp add command, rename MCP server to graph-memory
- Add `claude mcp add --transport http --scope project` for Claude Code setup - Rename MCP server name from "project-memory" to "graph-memory" in all examples - Fix troubleshooting: pattern → include, remove legacy field refs
1 parent 06f421b commit 35d18de

4 files changed

Lines changed: 28 additions & 10 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,18 @@ Start the server, then connect MCP clients to `http://localhost:3000/mcp/{projec
6060
http://localhost:3000/mcp/my-app
6161
```
6262

63-
**Claude Code** — in `.mcp.json` at project root:
63+
**Claude Code** — run in your project directory:
64+
65+
```bash
66+
claude mcp add --transport http --scope project graph-memory http://localhost:3000/mcp/my-app
67+
```
68+
69+
Or add to `.mcp.json` manually:
6470

6571
```json
6672
{
6773
"mcpServers": {
68-
"project-memory": {
74+
"graph-memory": {
6975
"type": "http",
7076
"url": "http://localhost:3000/mcp/my-app"
7177
}

docs/cli.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,18 @@ The primary connection method. Start the server with `serve`, then connect MCP c
131131
http://localhost:3000/mcp/my-app
132132
```
133133

134-
**Claude Code** — in `.mcp.json` at project root:
134+
**Claude Code** — run in your project directory:
135+
136+
```bash
137+
claude mcp add --transport http --scope project graph-memory http://localhost:3000/mcp/my-app
138+
```
139+
140+
Or add to `.mcp.json` manually:
135141

136142
```json
137143
{
138144
"mcpServers": {
139-
"project-memory": {
145+
"graph-memory": {
140146
"type": "http",
141147
"url": "http://localhost:3000/mcp/my-app"
142148
}

docs/npm-package.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ cd ui && npm run dev # Vite dev server on :5173
100100
```json
101101
{
102102
"mcpServers": {
103-
"project-memory": {
103+
"graph-memory": {
104104
"command": "npx",
105105
"args": [
106106
"@graphmemory/server",

ui/src/content/help/guides/mcp-setup.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Add to your Claude Desktop config (`claude_desktop_config.json`):
1717
```json
1818
{
1919
"mcpServers": {
20-
"project-memory": {
20+
"graph-memory": {
2121
"command": "graphmemory",
2222
"args": ["mcp", "--config", "/path/to/graph-memory.yaml", "--project", "my-app"]
2323
}
@@ -34,7 +34,7 @@ Add to your project's `.mcp.json`:
3434
```json
3535
{
3636
"mcpServers": {
37-
"project-memory": {
37+
"graph-memory": {
3838
"type": "stdio",
3939
"command": "graphmemory",
4040
"args": ["mcp", "--config", "/path/to/graph-memory.yaml", "--project", "my-app"]
@@ -65,12 +65,18 @@ http://localhost:3000/mcp/my-app
6565

6666
### Claude Code (HTTP)
6767

68-
Add to your project's `.mcp.json`:
68+
Run in your project directory:
69+
70+
```bash
71+
claude mcp add --transport http --scope project graph-memory http://localhost:3000/mcp/my-app
72+
```
73+
74+
Or add to `.mcp.json` manually:
6975

7076
```json
7177
{
7278
"mcpServers": {
73-
"project-memory": {
79+
"graph-memory": {
7480
"type": "http",
7581
"url": "http://localhost:3000/mcp/my-app"
7682
}
@@ -134,6 +140,6 @@ docker compose run --rm graph-memory index --config /data/config/graph-memory.ya
134140

135141
**Port already in use**: Change the port in `graph-memory.yaml` under `server.port`, or stop the existing process.
136142

137-
**Tools not showing up**: Make sure `graphs.docs.pattern` and/or `graphs.code.pattern` (or legacy `docsPattern`/`codePattern`) are set in your config. Without patterns, only file index, knowledge, task, and skill tools are registered.
143+
**Tools not showing up**: Make sure `graphs.docs.include` and/or `graphs.code.include` are set in your config (defaults: `**/*.md` and `**/*.{js,ts,jsx,tsx}`). If a graph is `enabled: false`, its tools won't be registered.
138144

139145
**Config changes not taking effect**: The `serve` command watches `graph-memory.yaml` for changes automatically. For `mcp` (stdio), you need to restart the process.

0 commit comments

Comments
 (0)