You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add me claude install for MCP-only Claude Code setup
Adds an MCP-only install path for Claude Code, matching the existing
`me opencode/codex/gemini install` pattern. The full Claude Code plugin
flow (hooks + slash commands + MCP via plugin marketplace) is unchanged.
Also exposes `-s, --scope` on `me claude install` (local|user|project,
default user) and `me gemini install` (user|project, default user) by
plumbing scope through the shared MCP install pipeline.
Copy file name to clipboardExpand all lines: docs/agents.txt
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,9 @@ mcp:
14
14
opencode: me opencode install
15
15
codex_cli: me codex install
16
16
gemini_cli: me gemini install
17
-
claude_code: claude plugin marketplace add timescale/memory-engine && claude plugin install memory-engine@memory-engine
18
-
description: Memory engine ships as an MCP server. OpenCode, Codex CLI, and Gemini CLI use agent-specific install commands. Claude Code uses the Memory Engine plugin.
17
+
claude_code: me claude install
18
+
claude_code_plugin: claude plugin marketplace add timescale/memory-engine && claude plugin install memory-engine@memory-engine
19
+
description: Memory engine ships as an MCP server. OpenCode, Codex CLI, Gemini CLI, and Claude Code all support MCP-only install via `me <agent> install`. Claude Code additionally supports a full plugin (hooks + slash commands + MCP) via Claude Code's plugin marketplace.
Copy file name to clipboardExpand all lines: docs/cli/me-claude.md
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,40 @@ Claude Code integration commands.
4
4
5
5
## Commands
6
6
7
+
-[me claude install](#me-claude-install) -- register `me` as an MCP server with Claude Code (MCP-only)
7
8
-[me claude hook](#me-claude-hook) -- invoked by the Claude Code plugin to capture events as memories
8
9
-[me claude import](#me-claude-import) -- import Claude Code sessions from `~/.claude/projects`
9
10
10
11
---
11
12
13
+
## me claude install
14
+
15
+
Register `me` as an MCP server with Claude Code.
16
+
17
+
This is the **MCP-only** install path: it adds the `me` tools to Claude Code without installing the full Memory Engine plugin. If you want hooks (auto-capture of Claude Code events) and slash commands, install the plugin instead -- see [me claude hook](#me-claude-hook).
18
+
19
+
```
20
+
me claude install [options]
21
+
```
22
+
23
+
| Option | Description |
24
+
|--------|-------------|
25
+
|`--api-key <key>`| API key to embed in the MCP config. |
26
+
|`--server <url>`| Server URL to embed in the MCP config. |
27
+
|`-s, --scope <scope>`| Claude Code config scope: `local`, `user`, or `project`. Default: `user`. |
28
+
29
+
If no `--api-key` or `--server` is provided, values are resolved from `~/.config/me/credentials.yaml` (set by `me login` and `me engine use`).
30
+
31
+
The `--scope` flag mirrors `claude mcp add --scope`:
32
+
33
+
-`local` -- registration scoped to the current project on this machine only.
34
+
-`user` -- registration available to all projects for your user (default).
35
+
-`project` -- registration committed to the current project (e.g. checked into `.claude/`).
36
+
37
+
For manual MCP client configuration, see [MCP Integration](../mcp-integration.md).
38
+
39
+
---
40
+
12
41
## me claude hook
13
42
14
43
Invoked by the Claude Code plugin. Reads the event JSON from stdin, resolves config from `CLAUDE_PLUGIN_OPTION_*` env vars, and captures the event as a memory.
@@ -21,7 +50,7 @@ me claude hook --event <name>
21
50
|--------|-------------|
22
51
|`--event <name>`| Hook event name (required). |
23
52
24
-
This command is not run directly -- the Claude Code plugin calls it. The plugin is installed via Claude Code's native flow:
53
+
This command is not run directly -- the Claude Code plugin calls it. The plugin (which includes hooks, slash commands, and MCP) is installed via Claude Code's native flow:
25
54
26
55
```bash
27
56
claude plugin marketplace add timescale/memory-engine
@@ -30,6 +59,8 @@ claude plugin install memory-engine@memory-engine [--scope user|project|local]
30
59
/plugin # select memory-engine, Configure, fill api_key/server/tree_prefix
31
60
```
32
61
62
+
If you only want the MCP tools (no hooks, no slash commands), use [me claude install](#me-claude-install) instead.
63
+
33
64
Best-effort: logs failures to stderr but always exits 0 so that a hook failure never blocks a Claude Code session.
0 commit comments