knowledge-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| KNOWLEDGE_VAULT | Yes | Absolute path to an existing knowledge vault directory. Can also be supplied with the --vault command-line argument; the argument takes precedence. The server exits if no vault is configured. |
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": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| searchC | Return matches; a final warning record marks skipped, invalid notes. Match records have path/line/snippet fields. A diagnostic record instead has warning, partial=true and skipped (relative paths and error codes). |
| list_documentsC | List Markdown paths within an explicitly selected scope. |
| validate_vaultC | Validate Markdown metadata and scope boundaries without writing. |
| readC | Read one Markdown document from the selected scope. |
| read_rangeC | Read a 1-based inclusive line range from a Markdown document. |
| show_diffC | Preview a unique, version-checked local text replacement. |
| apply_changeB | Apply one local text replacement after checking the current version.
|
| create_documentA | Create one Markdown document; it always starts as Before creating,
No
|
| delete_documentA | Delete one Markdown document.
|
| move_documentA | Move or rename one document within its scope; content is unchanged. Use it to place a file under its topic directory or drop a legacy filename prefix. The target must not exist; emptied old folders are removed. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| knowledge-guide | The shipped MCP protocol and safe editing workflow. |
| knowledge-content-model | Document types, scopes, status values, and intake rules. |
| knowledge-architecture | The canonical architecture and non-goals of the repository. |
| knowledge-maintenance-skill | Canonical rules for modifying documents safely. |
| knowledge-search-skill | Canonical rules for returning searchable source locations. |
| knowledge-writing-skill | Canonical rules for creating confirmed documents. |
| knowledge-personal-overview | The personal scope entry document. |
| knowledge-company-overview | The company scope entry document. |
TDQS
Scored across 10 tools
Each tool targets a distinct operation on the Markdown vault: preview (show_diff) vs. mutation (apply_change), path listing (list_documents) vs. content matching (search), and document lifecycle actions are all clearly separated. The only mild overlap is read vs. read_range, but the descriptions make the boundary explicit (whole document vs. 1-based inclusive line range).
The set follows a verb-first convention (list_documents, validate_vault, apply_change, create_document, delete_document, move_document, show_diff), with only the bare verbs 'search' and 'read' deviating. All names are snake_case, so the pattern is predictable and readable.
Ten tools is well within the ideal range and every tool earns its place: preview, search, list, read, range-read, validate, and the four mutation operations. Nothing looks redundant or bolted on for a scoped knowledge-vault server.
The surface covers the full document lifecycle (create/read/list/search/update/delete/move) plus validation and safe-edit preview, which is strong for a Markdown vault. Minor gaps remain: no way to inspect links/backlinks or frontmatter/tags directly, and no bulk metadata query, which are common needs in a linked knowledge base.