mempalace
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mempalace_statusA | Palace overview — total drawers, wing and room counts |
| mempalace_list_wingsA | List all wings with drawer counts |
| mempalace_list_roomsA | List rooms within a wing (or all rooms if no wing given) |
| mempalace_get_taxonomyC | Full taxonomy: wing → room → drawer count |
| mempalace_get_aaak_specA | Get the AAAK dialect specification — the compressed memory format MemPalace uses. Call this if you need to read or write AAAK-compressed memories. |
| mempalace_kg_queryA | Query the knowledge graph for an entity's relationships. Returns typed facts with temporal validity. E.g. 'Max' → child_of Alice, loves chess, does swimming. Filter by date with as_of to see what was true at a point in time. |
| mempalace_kg_addA | Add a fact to the knowledge graph. Subject → predicate → object with optional time window. E.g. ('Max', 'started_school', 'Year 7', valid_from='2026-09-01'). |
| mempalace_kg_invalidateB | Mark a fact as no longer true. E.g. ankle injury resolved, job ended, moved house. |
| mempalace_kg_timelineA | Chronological timeline of facts. Shows the story of an entity (or everything) in order. |
| mempalace_kg_statsA | Knowledge graph overview: entities, triples, current vs expired facts, relationship types. |
| mempalace_traverseA | Walk the palace graph from a room. Shows connected ideas across wings — the tunnels. Like following a thread through the palace: start at 'chromadb-setup' in wing_code, discover it connects to wing_myproject (planning) and wing_user (feelings about it). |
| mempalace_find_tunnelsC | Find rooms that bridge two wings — the hallways connecting different domains. E.g. what topics connect wing_code to wing_team? |
| mempalace_graph_statsA | Palace graph overview: total rooms, tunnel connections, edges between wings. |
| mempalace_create_tunnelA | Create a cross-wing tunnel linking two palace locations. Use when content in one project relates to another — e.g., an API design in project_api connects to a database schema in project_database. |
| mempalace_list_tunnelsB | List all explicit cross-wing tunnels. Optionally filter by wing. |
| mempalace_delete_tunnelB | Delete an explicit tunnel by its ID. |
| mempalace_follow_tunnelsA | Follow tunnels from a room to see what it connects to in other wings. Returns connected rooms with drawer previews. |
| mempalace_searchA | Semantic search. Returns verbatim drawer content with similarity scores. IMPORTANT: 'query' must contain ONLY search keywords. Use 'context' for background. Results with cosine distance > max_distance are filtered out. |
| mempalace_check_duplicateC | Check if content already exists in the palace before filing |
| mempalace_add_drawerB | File verbatim content into the palace. Checks for duplicates first. |
| mempalace_delete_drawerA | Delete a drawer by ID. Irreversible. |
| mempalace_get_drawerA | Fetch a single drawer by ID — returns full content and metadata. |
| mempalace_list_drawersB | List drawers with pagination. Optional wing/room filter. Returns IDs, wings, rooms, and content previews. |
| mempalace_update_drawerA | Update an existing drawer's content and/or metadata (wing, room). Fetches existing drawer first; returns error if not found. |
| mempalace_diary_writeA | Write to your personal agent diary in AAAK format. Your observations, thoughts, what you worked on, what matters. Each agent has their own diary with full history. Write in AAAK for compression — e.g. 'SESSION:2026-04-04|built.palace.graph+diary.tools|ALC.req:agent.diaries.in.aaak|★★★'. Use entity codes from the AAAK spec. |
| mempalace_diary_readA | Read your recent diary entries (in AAAK). See what past versions of yourself recorded — your journal across sessions. |
| mempalace_hook_settingsA | Get or set hook behavior. silent_save: True = save directly (no MCP clutter), False = legacy blocking. desktop_toast: True = show desktop notification. Call with no args to view. |
| mempalace_memories_filed_awayB | Check if a recent palace checkpoint was saved. Returns message count and timestamp. |
| mempalace_reconnectA | Force reconnect to the palace database. Use after external scripts or CLI commands modified the palace directly, which can leave the in-memory HNSW index stale. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/apajon/mempalace-mcp-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server