docs: make Codex MCP setup discoverable
This commit is contained in:
parent
1247e175b5
commit
385fc1825c
|
|
@ -977,12 +977,14 @@ def cmd_mcp(args):
|
|||
|
||||
print("MemPalace MCP quick setup:")
|
||||
print(f" claude mcp add mempalace -- {server_cmd}")
|
||||
print(f" codex mcp add mempalace -- {server_cmd}")
|
||||
print("\nRun the server directly:")
|
||||
print(f" {server_cmd}")
|
||||
|
||||
if not args.palace:
|
||||
print("\nOptional custom palace:")
|
||||
print(f" claude mcp add mempalace -- {base_server_cmd} --palace /path/to/palace")
|
||||
print(f" codex mcp add mempalace -- {base_server_cmd} --palace /path/to/palace")
|
||||
print(f" {base_server_cmd} --palace /path/to/palace")
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -59,10 +59,14 @@ If this fails, report the error and stop.
|
|||
|
||||
## Step 6: Configure MCP server
|
||||
|
||||
Run the following command to register the MemPalace MCP server with Claude:
|
||||
Run the command for the AI client the user is configuring:
|
||||
|
||||
# Claude Code
|
||||
claude mcp add mempalace -- mempalace-mcp
|
||||
|
||||
# Codex CLI
|
||||
codex mcp add mempalace -- mempalace-mcp
|
||||
|
||||
If this fails, report the error but continue to the next step (MCP
|
||||
configuration can be done manually later).
|
||||
|
||||
|
|
|
|||
|
|
@ -701,6 +701,7 @@ def test_mcp_command_prints_setup_guidance(monkeypatch, capsys):
|
|||
captured = capsys.readouterr()
|
||||
assert "MemPalace MCP quick setup:" in captured.out
|
||||
assert "claude mcp add mempalace -- mempalace-mcp" in captured.out
|
||||
assert "codex mcp add mempalace -- mempalace-mcp" in captured.out
|
||||
assert "\nOptional custom palace:\n" in captured.out
|
||||
assert "mempalace-mcp --palace /path/to/palace" in captured.out
|
||||
assert "[--palace /path/to/palace]" not in captured.out
|
||||
|
|
@ -717,6 +718,8 @@ def test_mcp_command_uses_custom_palace_path_when_provided(monkeypatch, capsys):
|
|||
|
||||
assert "mempalace-mcp --palace" in captured.out
|
||||
assert expanded in captured.out
|
||||
assert "claude mcp add mempalace -- mempalace-mcp --palace" in captured.out
|
||||
assert "codex mcp add mempalace -- mempalace-mcp --palace" in captured.out
|
||||
assert "Optional custom palace:" not in captured.out
|
||||
assert "[--palace /path/to/palace]" not in captured.out
|
||||
assert captured.err == ""
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ That gives you a working local memory index.
|
|||
|
||||
## What Happens Next
|
||||
|
||||
After the one-time setup, you don't run MemPalace commands manually. Your AI uses it for you through [MCP integration](/guide/mcp-integration) or a [Claude Code plugin](/guide/claude-code).
|
||||
After the one-time setup, you don't run MemPalace commands manually. Your AI uses it for you through [MCP integration](/guide/mcp-integration), the bundled Codex plugin, or a [Claude Code plugin](/guide/claude-code).
|
||||
|
||||
Ask your AI anything:
|
||||
|
||||
|
|
@ -91,5 +91,5 @@ It calls `mempalace_search` automatically, gets verbatim results, and answers yo
|
|||
## Next Steps
|
||||
|
||||
- [Mining Your Data](/guide/mining) — deep dive into mining modes
|
||||
- [MCP Integration](/guide/mcp-integration) — connect to Claude, ChatGPT, Cursor, Gemini
|
||||
- [MCP Integration](/guide/mcp-integration) — connect to Claude, Codex, ChatGPT, Cursor, Gemini
|
||||
- [The Palace](/concepts/the-palace) — understand wings, rooms, halls, and tunnels
|
||||
|
|
|
|||
|
|
@ -16,12 +16,14 @@ mempalace mcp
|
|||
|
||||
```bash
|
||||
claude mcp add mempalace -- python -m mempalace.mcp_server
|
||||
codex mcp add mempalace -- python -m mempalace.mcp_server
|
||||
```
|
||||
|
||||
### With Custom Palace Path
|
||||
|
||||
```bash
|
||||
claude mcp add mempalace -- python -m mempalace.mcp_server --palace /path/to/palace
|
||||
codex mcp add mempalace -- python -m mempalace.mcp_server --palace /path/to/palace
|
||||
```
|
||||
|
||||
Now your AI has all 29 tools available. Ask it anything:
|
||||
|
|
@ -35,6 +37,7 @@ Claude calls `mempalace_search` automatically, gets verbatim results, and answer
|
|||
MemPalace works with any tool that supports MCP:
|
||||
|
||||
- **Claude Code** — native via plugin or manual MCP
|
||||
- **Codex CLI** — native via bundled Codex plugin or manual MCP
|
||||
- **OpenClaw** — via official skill, see [OpenClaw Skill](/guide/openclaw)
|
||||
- **ChatGPT** — via MCP bridge
|
||||
- **Cursor** — native MCP support
|
||||
|
|
|
|||
Loading…
Reference in New Issue