mcp-llm-wiki
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RRF_K | No | Rank-fusion constant. | 60 |
| WATCH | No | Watch the filesystem. | false |
| INDEX_DB | No | SQLite file. | <WIKI_ROOT>/.llm-wiki/index.db |
| MODEL_ID | No | Embedding model. | Xenova/multilingual-e5-small |
| RAW_ROOT | No | Source layer, read-only. | <WIKI_ROOT>/../raw |
| LOG_LEVEL | No | debug, info, warn, error, silent. | info |
| MAX_DEPTH | No | Maximum folder depth. | 8 |
| WIKI_ROOT | Yes | Wiki root. | |
| ALLOW_WRITE | No | false disables all write tools. | true |
| CHUNK_CHARS | No | Target chunk size. | 1200 |
| IGNORE_GLOBS | No | Comma-separated extra ignore patterns. | |
| CHUNK_OVERLAP | No | Overlap when splitting long sections. | 180 |
| SCHEMA_STRICT | No | Reject unknown frontmatter fields. | false |
| MAX_READ_BYTES | No | Read size cap. | 2097152 |
| STRUCTURE_HINT | No | Injected into tool descriptions. | |
| MAX_PATH_LENGTH | No | Maximum path length. | 240 |
| MODEL_CACHE_DIR | No | Model cache. | <INDEX_DB-dir>/models |
| DEFAULT_CONFIDENCE | No | Default for confidence. | |
| ALLOW_REMOTE_MODELS | No | Allow download. | true |
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 |
|---|---|
| wiki_searchA | Hybrid search over the wiki: BM25 (SQLite FTS5) and local CPU vectors combined with Reciprocal Rank Fusion. Returns the best hit per page with path, heading path, line range, and a frontmatter excerpt. Use mode='bm25' for exact terms, mode='vector' for semantic paraphrases, otherwise 'hybrid'. |
| wiki_read_pageA | Read a wiki page. With no extra args the full file including frontmatter is returned; |
| wiki_list_pagesA | List indexed wiki pages with path, id, title, summary, type, status, tags, and updated date. Filterable by folder, type, status, and tag. |
| wiki_list_foldersA | Show the wiki folder tree with page counts per folder. Call before creating a page so the path matches the existing structure. |
| wiki_list_tagsA | List all tags used in the wiki with counts, highest first. |
| raw_listA | List files in the immutable source layer (RAW_ROOT). This layer is strictly read-only. |
| raw_readB | Read a file from RAW_ROOT, optionally as a line range. There is no write access here. |
| wiki_write_pageA | Create or fully overwrite a wiki page. The path is deliberately NOT derived by the server: you choose the folder and filename. Missing folders are created automatically. Call wiki_list_folders first so the path matches the existing structure. The YAML header is completed (id, title, type, created, updated); existing fields are kept. An existing file is replaced only with overwrite=true - use wiki_patch_page for partial edits. |
| wiki_patch_pageB | Change an existing page without rewriting it. Modes: 'replace-section' and 'append-section' (require |
| wiki_move_pageA | Move or rename a page or a whole folder and rewrite relative Markdown links (id-based wikilinks stay valid). With dryRun=true you get the planned changes without writing anything. |
| wiki_delete_pageA | Move a page to the trash (.trash//) and drop it from the index. Requires confirm=true. Check wiki_backlinks first to see if other pages link here. |
| wiki_update_indexA | Create or refresh an index.md catalogue. With no |
| wiki_append_logA | Append an entry in the form '## [YYYY-MM-DD] | ' to log.md at the wiki root. Call after every content change (ingest, update, merge, split, delete, refactor) so history stays chronological. |
| wiki_read_logA | Return the latest log.md entries, newest first - useful at the start of a session. |
| wiki_backlinksA | Show which pages link to this page (inbound), where it links (outbound), and which of its links are dead. Call before delete, move, or merge. |
| wiki_lintA | Check the wiki for frontmatter errors, invalid dates, duplicate ids, dead links, unresolved sources, orphan pages, and empty folders. Nothing is changed - the result is a work list. Folder layout is not judged, only technical limits (depth, path length). |
| wiki_reindexA | Refresh the search index. 'incremental' (default) processes changed files only; 'full' rebuilds everything. Usually unnecessary because write tools update the index - needed after filesystem changes made outside this server. |
| wiki_index_statusA | Show index configuration and state: root directories, embedding model and dimension, counts of pages/chunks/tags/links, and last index time. A good first call in a session. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RickyKleinhempel/mcp-llm-wiki'
If you have feedback or need assistance with the MCP directory API, please join our Discord server