memorybank-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEMORYBANK_API_KEY | Yes | Workspace API key used for the Authorization header. | |
| MEMORYBANK_BASE_URL | Yes | MemoryBank backend origin, e.g. https://example.com. The server will call ${BASE_URL}/api/external/rules. | |
| DEBUG_MEMORYBANK_MCP | No | Set to true to log raw backend responses when JSON parsing fails (useful for debugging only). | |
| MEMORYBANK_PROJECT_ID | No | Optional project/workspace identifier passed as the projectId query parameter. Provide it when the API key is scoped to a project. | |
| MEMORYBANK_TIMEOUT_MS | No | Override request timeout in milliseconds (default 15000). | |
| MEMORYBANK_USER_AGENT | No | Custom User-Agent header (defaults to memorybank-mcp/<package version>). | |
| MEMORYBANK_CACHE_TTL_MS | No | Cache lifetime for fetched rules (default 600000, set to 0 to disable caching). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
At the start of each new chat/session, call memorybank_get_rules exactly once before any planning or code. Cache the result for the current session; do not call again unless a refresh is needed.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| memorybank_get_rulesA | Retrieve the complete MemoryBank rules document as Markdown text. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| memorybank_active_context | Latest MemoryBank rules for this workspace. |
| memorybank_rules | MemoryBank rules document for this project. |
TDQS
Scored across 1 tool
There is only one tool, so an agent cannot misselect or confuse it with anything else. Its purpose (retrieving the rules document) is stated explicitly and unambiguously.
The single name follows a clean server-prefixed verb_noun pattern (memorybank_get_rules). There is no set of names to check against, so consistency can only be inferred rather than demonstrated.
A single tool that only fetches a static rules document is very thin coverage for a server named memorybank-mcp. It offers no way to actually store, query, or manage memories, so the surface feels trivial for the implied scope.
Only a read operation exists; there is no create, update, delete, list, or search for memory entries, leaving the memory-management lifecycle entirely uncovered. The one tool serves its narrow purpose, but the overall surface has significant gaps that would block real memory workflows.