shared-wiki-mcp
Shared Wiki
A small Markdown wiki with a CLI and MCP server. Search linked notes, read context, queue review questions, capture feedback, and propose edits without overwriting existing notes. Proposals record the target's content hash for stale-edit checks.
Philosophy · Architecture and compatibility · Roadmap.
Input and attention plan maps the next additions across the repository.
Requires Python 3.11+. From a checkout or unpacked source distribution:
python3 -m venv .venv
.venv/bin/python -m pip install -e .
cp -R examples/vault vault
.venv/bin/shared-wiki validate
.venv/bin/shared-wiki search "storage"
.venv/bin/shared-wiki queueUse --vault PATH (before the command) or WIKI_VAULT for another vault. Notes use
YAML frontmatter
(id, title, created, updated), millisecond timestamps, and [[note.name]]
links; see examples.
For an MCP host, launch .venv/bin/shared-wiki-mcp --vault /absolute/path/to/vault
over stdio. Writes create separate inbox or proposal notes. Applying proposals,
remote synchronization, and Slack/GitHub connectors are not implemented.
PYTHONDONTWRITEBYTECODE=1 .venv/bin/python -m unittest discover -s tests -vSource distributions include the design docs, tests, and synthetic example vault. Wheels contain only the runtime package and package metadata; provide your own vault when installing a wheel.
Licensed under Apache 2.0.
Available Tools
7 toolswiki_captureB
Save user feedback as an unreviewed inbox note; source_ref is provenance, not authenticated identity.
Inputs: body (required), title (required), source_ref, related_note.
wiki_changesB
List notes updated since a Unix millisecond timestamp. Not a semantic diff.
Inputs: limit, since_ms. Returns: result
wiki_contextB
Gather bounded source excerpts for a question. The host composes the answer.
Inputs: query (required), max_chars.
wiki_proposeB
Create a separate proposed replacement after reading the current target. Never overwrites it.
Inputs: title (required), target (required), rationale (required), base_sha256 (required), +1 more.
wiki_readB
Read body lines, metadata, hash, links, parents and backlinks of a note.
Inputs: slug (required), max_lines, start_line.
wiki_review_queueB
Rank open questions by a transparent heuristic of impact, uncertainty and time.
Inputs: limit. Returns: result
wiki_searchB
Search note titles and content; return ranked excerpts and status.
Inputs: query (required), limit, prefix, status. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct operation: search for discovery, read for a single note's body/metadata, context for bounded multi-source excerpts, changes for a time-based delta, capture for inbox writes, propose for replacement drafts, review_queue for ranking open questions. The only soft overlap is wiki_search vs wiki_context (both return excerpts), but the descriptions clarify that one is ranked retrieval and the other is question-scoped gathering.
All seven tools share the wiki_ prefix and snake_case, giving a predictable namespace. However, the second element mixes verbs (search, read, capture, propose) with nouns (review_queue, changes, context), so the verb_noun pattern is not uniformly applied.
Seven tools is a tight, well-scoped surface for a shared wiki: retrieval, inspection, review, change tracking, and two write paths. Every tool maps to a real workflow step with no filler.
Read/discovery/write-capture are covered, but two lifecycle paths dead-end: wiki_propose creates a proposed replacement with no tool to list, accept, or reject proposals, and wiki_review_queue surfaces open questions with no tool to answer or resolve them. Agents can work around this by reading and capturing notes, but the review/proposal loop is incomplete.
Maintenance
Related MCP Connectors
Markdown notes and whiteboards your AI agent can read and write.
Linked team workspace: AI agents read and write docs, wikis, sheets, diagrams, boards and reviews.
Notes your team and their agents build on together: write, share, comment and edit.
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables multiple AI agents to share a locally controlled long-term knowledge base of Markdown notes, allowing them to retrieve, add, update, and remove preferences, decisions, and experiences. It supports cross-agent recall and version-aware changes while keeping the notes readable and editable outside the agent.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search, link, create, and update local Markdown architecture notes through MCP, with previews, write gates, revision checks, and source-hash drift detection.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents and humans to share a single governed memory store: agents propose notes, which are checked for duplicates, complements, updates, replacements, or conflicts and then routed to a human review queue before being committed to Git-versioned Markdown. Provides search, import, and revalidation capabilities so approved knowledge stays current across Claude Code and Codex.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to read and maintain a Markdown-based second brain through tools for searching, logging facts and decisions, tracking and scoring predictions, managing roadmaps, and running multi-model council reviews.MIT