Skip to main content
Glama
knowledge-mcp

knowledge-mcp

by bmdy6

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KNOWLEDGE_VAULTYesAbsolute 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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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.

replaces lists existing documents absorbed into this one by the edit (for example a concept card folded into a topic article). They are deleted only after the patch is written, and the patched body must still hold at least 70% of their combined length.

create_documentA

Create one Markdown document; it always starts as review.

Before creating, search for an existing document on the same topic and extend it with apply_change instead; new files are for new topics only.

document_type:

  • article: one topic, merged from all sources, kept up to date in place;

  • reference: notes on one external source (link + key excerpts, never the full original);

  • research: a research conclusion worth keeping (not deferred/P2 notes);

  • guide: repeatable steps; decision: a choice and its reasons;

  • task (company): one task per file, content must contain ## 任务描述 ## 解决思考 ## 解决方法 ## 结果 ## 链接; created is the task date.

No status argument is accepted: a caller (including another agent) must not be able to create content that already claims to be human-confirmed. Confirming an existing document goes through apply_change.

created/updated are only for importing existing documents that must keep their original dates; new content leaves them unset.

replaces: when merging several notes into one topic article, list the old document paths here. They are deleted after the new file is written, their sources may be re-listed in sources, and the merged body must keep at least 70% of their combined length (drop duplicates, not ideas).

delete_documentA

Delete one Markdown document.

successor names the document that absorbed this one's content; when given, the deletion is refused unless the successor body holds at least 70% of the deleted body. Use it for approved cleanup (superseded notes, cards that were folded into an article), and omit it only for content a human has explicitly agreed to drop.

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
knowledge-guideThe shipped MCP protocol and safe editing workflow.
knowledge-content-modelDocument types, scopes, status values, and intake rules.
knowledge-architectureThe canonical architecture and non-goals of the repository.
knowledge-maintenance-skillCanonical rules for modifying documents safely.
knowledge-search-skillCanonical rules for returning searchable source locations.
knowledge-writing-skillCanonical rules for creating confirmed documents.
knowledge-personal-overviewThe personal scope entry document.
knowledge-company-overviewThe company scope entry document.

TDQS

B3.2/5.0

Scored across 10 tools

Disambiguation4/5

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).

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityNo data
ResponsivenessOutdated data