shared-agent-memory-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NOTION_TOKEN | Yes | Your Notion integration token (secret_your_token_here). | |
| NOTION_DATABASE_ID | Yes | The ID of the Notion database shared with your integration. | |
| OBSIDIAN_VAULT_PATH | No | Optional path to a Git-backed Obsidian Vault for dual-write sync. If not set or folder does not exist, the server runs in Notion-only mode. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| memory_searchA | Search the shared long-term memory (Notion or Obsidian, used by Cline, OpenCode, Claude Code, GitHub Copilot, Hermes). Returns matching memories with id, title, content, agent, category, tags. Semantic and hybrid vector matches also include match.excerpt with Unicode start/end offsets. Set response to compact to omit full content and return an excerpt; use memory_get for full content. USE THIS at the start of a task with relevant keywords, and before making decisions, to reuse saved preferences, conventions, and past decisions. |
| memory_recentB | List the most recently updated memories from the shared long-term memory. Set response to compact to return excerpts without full content. Use to get context about what was learned/saved lately. |
| memory_getA | Fetch a single memory by its id (full content). |
| memory_addA | Save a new durable memory into the shared authoritative memory. USE THIS when: the user states a preference, a project decision is made, a convention is established, a non-obvious bug is fixed (root cause + fix), or important project/environment context is learned. Do NOT store secrets, tokens, or throwaway information. |
| memory_updateB | Update an existing memory by id. Prefer updating over creating duplicates when knowledge changes or gets corrected. |
| memory_deleteA | Archive a memory (default) or delete permanently (hard=true). Use when a memory is wrong or obsolete. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool maps to a distinct retrieval or mutation operation: keyword/semantic search, chronological listing, id-based fetch, create, update, and delete/archive. The boundary between memory_search and memory_recent is clear (query-driven vs time-driven), and descriptions explicitly cross-reference memory_get for full content.
All six tools use the same memory_<verb> pattern (search, get, add, update, delete), making the namespace and action predictable. memory_recent is the only non-verb suffix, but it reads naturally and does not break the pattern.
Six tools is a tight, well-scoped surface for a memory store: retrieval (search/recent/get) plus lifecycle management (add/update/delete). No tool is redundant and nothing obvious is missing at this size.
The full memory lifecycle is covered — discovery (search, recent), read (get), create (add), modify (update), and removal (archive or hard delete). Guidance in the descriptions (prefer update over duplicate, archive default) closes the usual workflow dead ends.