From 74b329cc381557d55aafe9bab859544942cbcc77 Mon Sep 17 00:00:00 2001 From: Mark Stuart Date: Sat, 22 Aug 2026 22:22:23 -0700 Subject: [PATCH] docs: update Claude Code MCP setup Replace the obsolete config.json example with current project- and user-scoped claude mcp commands in both published READMEs. --- README.md | 21 ++++++++++----------- npm/README.md | 21 ++++++++++----------- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index feb6c90..362eccf 100644 --- a/README.md +++ b/README.md @@ -61,19 +61,18 @@ code-memory search "authentication flow" ### Configure with Claude Code -Add to your `~/.claude/config.json`: - -```json -{ - "mcpServers": { - "code-memory": { - "command": "code-memory", - "args": ["serve"] - } - } -} +From the project where you want Code Memory available, choose a scope: + +```bash +# Share with this project via .mcp.json +claude mcp add --transport stdio --scope project code-memory -- code-memory serve + +# Or make it available to all projects via ~/.claude.json +claude mcp add --transport stdio --scope user code-memory -- code-memory serve ``` +Verify the connection with `claude mcp get code-memory`. + ## Features ### 🔍 Semantic Search diff --git a/npm/README.md b/npm/README.md index 62f853b..f314e36 100644 --- a/npm/README.md +++ b/npm/README.md @@ -51,19 +51,18 @@ code-memory search "authentication flow" ### Configure with Claude Code -Add to your `~/.claude/config.json`: - -```json -{ - "mcpServers": { - "code-memory": { - "command": "code-memory", - "args": ["serve"] - } - } -} +From the project where you want Code Memory available, choose a scope: + +```bash +# Share with this project via .mcp.json +claude mcp add --transport stdio --scope project code-memory -- code-memory serve + +# Or make it available to all projects via ~/.claude.json +claude mcp add --transport stdio --scope user code-memory -- code-memory serve ``` +Verify the connection with `claude mcp get code-memory`. + ## Features ### 🔍 Semantic Search