Collapse the Cursor auto-save sequence (check_duplicate Nx + add_drawer Nx + diary_write 1x) into a single mempalace_checkpoint MCP call so the host UI renders one tool-call card and keeps its spinner up for the whole save. The new tool reuses the existing single-item handlers, so semantic dedup, idempotency, and verbatim guarantees are unchanged. - mcp_server.py: add tool_checkpoint + register mempalace_checkpoint - service.py: classify mempalace_checkpoint as a write tool - cursor save hook: followup now drives one mempalace_checkpoint call - docs: new mcp-tools.md section, help.md entry, 33 -> 34 tool count sweep - tests: checkpoint add/dedup/malformed/registry + classify_tool Co-authored-by: Cursor <cursoragent@cursor.com>
39 lines
1.0 KiB
Markdown
39 lines
1.0 KiB
Markdown
# Claude Code Plugin
|
|
|
|
The recommended way to use MemPalace with Claude Code — native marketplace install.
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
claude plugin marketplace add MemPalace/mempalace
|
|
claude plugin install --scope user mempalace
|
|
```
|
|
|
|
Restart Claude Code, then type `/skills` to verify "mempalace" appears.
|
|
|
|
## How It Works
|
|
|
|
With the plugin installed, Claude Code automatically:
|
|
- Starts the MemPalace MCP server on launch
|
|
- Has access to all 34 tools
|
|
- Learns the AAAK dialect and memory protocol from the `mempalace_status` response
|
|
- Searches the palace before answering questions about past work
|
|
|
|
No manual configuration needed. Just ask:
|
|
|
|
> *"What did we decide about auth last month?"*
|
|
|
|
## Alternative: Manual MCP
|
|
|
|
If you prefer manual setup over the marketplace plugin:
|
|
|
|
```bash
|
|
claude mcp add mempalace -- python -m mempalace.mcp_server
|
|
```
|
|
|
|
Both approaches give identical functionality. The plugin approach handles server lifecycle automatically.
|
|
|
|
## Hooks
|
|
|
|
Set up [auto-save hooks](/guide/hooks) to ensure memories are saved automatically during long conversations.
|