kiwiki
github.com/natorus87/kiwikiMCP (Model Context Protocol) server for kiwiki, a knowledge management system with AI integration. Supports Streamable HTTP and HTTP+SSE transports for document management, search, git operations, and knowledge graph indexing.
Kiwiki exposes 16 tools with consistent naming (verb_noun pattern: fetch.*, search.*, edit.*, git.*, knowledge.*) and complete input schemas. All tools have descriptions (avg ~60 chars, within baseline). However, descriptions are terse and lack context for LLM selection, they state WHAT but rarely WHEN or WHY. Parameter descriptions are minimal (e.g., 'Path to the document' repeated 8 times). Output schemas are not documented in the source. Error handling is absent from tool definitions. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk stratification (READ_ONLY, WRITE, DESTRUCTIVE). Composition is sound, tools are single-responsibility and chainable, but descriptions do not guide agents on dependencies or prerequisites.
Append content to a document
Create a new document
Delete a document or folder
Update document frontmatter metadata
Move or rename a document or folder
Write or overwrite a document
Fetch the full content of a document
List files in a directory or all files
Descriptions lack LLM-selection context. All 16 tools have descriptions under 80 chars; most are bare statements of function (e.g., 'Fetch the full content of a document') without WHEN to use, prerequisites, or differentiation from similar tools. Baseline for A-grade tools is 50 - 200 chars with explicit selection guidance.
No output schemas documented. Tool definitions show input schemas but no return types or field descriptions. LLMs cannot plan downstream calls or extract chaining IDs (e.g., does fetch.list return file paths, metadata, or both?). Baseline: 100% of A+ tools document return types.
- Expand tool descriptions to 80 - 150 chars. Add WHEN to use and differentiation: e.g., 'fetch.content: Retrieve full markdown text of a document (use for reading, editing, or analysis). Prefer fetch.metadata for quick lookups of title/tags only.'
- Document output schemas for all 16 tools. Specify return fields, types, and which IDs/references are included for chaining. Example: 'fetch.list returns {files: [{path, name, modified_at}], total_count, next_cursor}'.
- Add tool annotations to MCP tool definitions: readOnlyHint=true for fetch.*, search.*, git.*, knowledge.status; destructiveHint=true for edit.delete; idempotentHint=true for fetch.*, search.*, git.log, git.diff, knowledge.status.
- Enhance parameter descriptions with format/constraint guidance. Replace 'Path to the document' with 'Markdown file path relative to workspace root (e.g., docs/index.md, notes/2024/january.md). Must exist.'
- Add error recovery hints to tool descriptions. E.g., 'edit.create: Create a new document. Returns error if path already exists, use edit.write to overwrite, or fetch.list to check available paths.'
Inferred effective spec: 2025-06-18+.
- Relies on Dynamic Client Registration (deprecated) - use Client ID Metadata Documents (CIMD)
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | 2025-06-18+ | v2 |