knowledge-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OWNER_ID | No | Owner id stamped on records and files. | local-owner |
| DENY_LIST_PATH | No | Deny-list file; startup fails if it is missing, empty or invalid. | config/deny-list.example.json |
| KNOWLEDGE_SEED | No | Seed loaded through the gate when the store is empty; set to 'none' to disable. | data/seed.json |
| KNOWLEDGE_STORE_PATH | No | Persist the store to this JSON file. Unset (default) keeps the store in-memory. |
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
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| corpus.answerB | Retrieve an exact cited passage from the public health or fictional demo collection. Offline snapshots, not clinical advice. |
| records.listA | List recent records, newest update first. Returns short projections; use records.get for full text and meta. |
| records.getA | Fetch one record by id, including full text and meta. |
| records.createB | Create a record. A title marks it as filed (organized under a title, not reviewed). Every field is screened before the write: a listed pattern rejects the whole write, and content the gate cannot judge (for example a clinical rule or an instruction aimed at an AI) is held for a reviewer instead of saved. |
| records.pinB | Pin or unpin a record (meta.pinned, meta.pinnedAt). |
| decisions.logA | Record a decision with a title, optional summary and optional context. Every field is screened before the write. A decision with clinical content is held for a reviewer instead of saved. |
| inbox.recentA | List the most recently created records, newest first, including untriaged captures. |
| inbox.searchA | Case-insensitive text search over record text, titles, summaries and tags. Bare words must all appear, "quoted phrases" match verbatim, -word excludes. |
| inbox.captureA | Capture a note into the inbox. suggested_bucket must be a known bucket id (see inbox.buckets). Every field, including tags, source_app and link_url, is screened before the write. |
| inbox.capture_quickA | Capture a note with a single text field. Same destination and same screening as inbox.capture. |
| inbox.bucketsA | List the bucket ids records can be filed under, and the default. |
| inbox.route_suggestA | Suggest a bucket for some text without saving it. Keyword overlap with bucket descriptions only; confidence is capped at 0.49 and the response carries source: "keyword-heuristic". |
| memory.viewA | List a /memories directory or show a file with line numbers. Optional view_range [from, to], 1-indexed; to = -1 means end of file. |
| memory.createA | Create or overwrite a file under /memories. Path and content are screened; a deny-list match rejects the write. |
| memory.str_replaceA | Replace a unique occurrence of old_str with new_str. The resulting file content is screened before the write. |
| memory.insertB | Insert text at a 0-indexed line position. The resulting file content is screened before the write. |
| memory.deleteB | Delete a file, or every file under a directory path. |
| memory.renameA | Move a file or directory. Never overwrites. The new path is screened before the write. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| recent-decisions | The ten most recently updated decision records, as JSON. |
TDQS
Scored across 18 tools
Several tools overlap heavily: inbox.recent vs records.list both return recent records newest-first, and records.create, decisions.log, inbox.capture, and inbox.capture_quick are four different write paths with nearly identical screening language. Descriptions do contain differentiating hints (projections vs untriaged captures, single-field capture, decision vs record), which keeps an agent from total confusion, but boundaries require careful reading.
A predictable namespace.verb pattern (records.get, inbox.search, memory.str_replace, corpus.answer) runs throughout, so the grouping is immediately legible. Minor deviations like decisions.log and inbox.buckets (noun-ish verbs) and the capture/capture_quick variant are the only wrinkles.
18 tools across four namespaces (corpus, records, inbox, memory) is borderline heavy, and the count is inflated by redundant entry points rather than distinct capabilities. memory's five file operations are justified, but the four-way write surface and dual listing tools add weight without adding scope.
memory has full file lifecycle coverage, but records offer create/get/list/pin with no update or delete, leaving no way to edit or remove a record after filing. inbox.route_suggest produces a bucket suggestion with no corresponding apply/route tool, and corpus exposes only answer with no way to browse collections—notable gaps agents will hit.