mempalace

star 1

Use this skill whenever the user asks about mempalace CLI commands, how to run mempalace, how to use mempalace MCP server, or anything related to mempalace memory system. This skill encodes the correct way to run mempalace via uvx in this specific setup — where mempalace is NOT globally installed and must always be invoked through uvx. Trigger on any mention of: mempalace, memory palace, mcp server mempalace, mine convos, palace status, or any mempalace subcommand.

D1ssolve By D1ssolve schedule Updated 6/1/2026

description: "Use this skill whenever the user asks about mempalace CLI commands, how to run mempalace, how to use mempalace MCP server, or anything related to mempalace memory system. This skill encodes the correct way to run mempalace via uvx in this specific setup — where mempalace is NOT globally installed and must always be invoked through uvx. Trigger on any mention of: mempalace, memory palace, mcp server mempalace, mine convos, palace status, or any mempalace subcommand.\n" name: mempalace

MemPalace via uvx

Installation

MemPalace is not installed globally. Run only through uvx:

  • first run — downloads mempalace from PyPI, builds a venv
  • subsequent runs — fast cache from ~/.cache/uv/ Memory data location: ~/.mempalace/ (do not touch when clearing cache).
~/.cache/uv/environments-v1/mempalace-*/  ← code
~/.mempalace/                              ← data

Critical Rule

CLI entry point: uvx mempalace <subcommand> Python module: uvx --from mempalace python -m mempalace.<module>

# CORRECT
uvx --from mempalace python -m mempalace.mcp_server
# INCORRECT — uvx looks for a package on PyPI
uvx mempalace.mcp_server

Commands

CLI

uvx mempalace --version          # version
uvx mempalace init               # initialize palace
uvx mempalace mine .             # mine from current directory
uvx mempalace mine ./chats --mode convos  # mine conversations
uvx mempalace status             # palace status
uvx mempalace mcp                # MCP instructions (does not start the server)

MCP Server

uvx --from mempalace python -m mempalace.mcp_server
uvx --from mempalace python -m mempalace.mcp_server --palace /path/to/palace

OpenCode MCP Config

File: ~/.config/opencode/opencode.jsonc

{
  "mcp": {
    "mempalace": {
      "type": "local",
      "command": ["uvx", "--from", "mempalace", "python", "-m", "mempalace.mcp_server"]
    }
  }
}

Restart OpenCode after changing the config.

Cache and Data

uv cache clean                   # clear uvx cache
rm -rf ~/.mempalace              # delete palace data (irreversible)
du -sh ~/.cache/uv/              # cache size
du -sh ~/.mempalace/             # data size

Diagnostics

MCP error -32000: Connection closed

Server crashed on startup. Check:

uvx --from mempalace python -m mempalace.mcp_server

No solution found: mempalace-mcp-server not found

Incorrect syntax. Use --from:

# Incorrect
uvx mempalace.mcp_server
# Correct
uvx --from mempalace python -m mempalace.mcp_server

First run is slow

This is normal — downloading the package and building the venv. Subsequent runs are fast.

Install via CLI
npx skills add https://github.com/D1ssolve/craft-agents --skill mempalace
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator