npx claudepluginhub jedwards1230/my-wikiWiki MCP tools and a debounced Stop hook for wiki capture prompts
A single Go binary (wiki-server) that serves an Obsidian vault as a website, a REST API, and an MCP server for AI agents. A native Go renderer turns markdown into HTML; the same binary handles static/REST delivery and MCP. It runs as a long-lived K8s deployment or an on-demand stdio MCP server.
# Docker Compose — serves the rendered vault at http://localhost:8080
WIKI_VAULT=/path/to/obsidian-vault docker compose up --build
# Build from source
go build -o wiki-server ./cmd/wiki-server
# HTTP server (browser + REST). Add `--mcp-port 8081` to also start MCP in-process.
./wiki-server serve --vault /path/to/vault --port 8080
# MCP over HTTP (streamable-http)
./wiki-server serve mcp http --vault /path/to/vault --port 8081
# MCP over stdio (Claude Code / .mcp.json) — no HTTP or auth
./wiki-server serve mcp stdio --vault /path/to/vault
| Path | Serves |
|---|---|
/path | Rendered HTML |
/path.md | Plain markdown from the vault |
/raw/path | Native source files (PDFs, images) with dir listings |
/api/* | REST API (pages, search, lint, activity, ...) |
One-shot vault-maintenance commands sharing the --vault flag:
./wiki-server lint [all|frontmatter|tags|links|orphans|size|clippings|stub|log]
./wiki-server directory # list all pages with metadata
./wiki-server log [today|YYYY-MM-DD|lint] # view / lint the activity log
./wiki-server activity <type> <title> [--summary X] # append a structured log entry
A macOS LaunchAgent for daily lint (--instance-name is appended to the plist label so multiple vaults coexist):
./wiki-server --vault /path/to/vault --instance-name work-wiki launchd install
./wiki-server --instance-name work-wiki launchd status
./wiki-server --instance-name work-wiki launchd uninstall
Helm chart: oci://ghcr.io/jedwards1230/charts/my-wiki. Images: ghcr.io/jedwards1230/my-wiki. Both released by release.yml on push to main (semver via semver:patch|minor|major PR labels; semver:none, or a PR touching only dev-only files, skips the release — see CONTRIBUTING.md).
Key Helm values (see deploy/helm/my-wiki/values.yaml for the full list): instanceName sets WIKI_INSTANCE_NAME and is surfaced by the whoami MCP tool so agents can distinguish multiple wiki instances. obsidianSync.standalone: true moves obsidian-headless to a separate Deployment: the vault still needs an RWX PVC, but obsidian-headless's SQLite sync state lives under $HOME and SQLite's WAL shared memory can't run on NFS (which RWX means, including Longhorn RWX), so it also needs its own RWO volume — obsidianSync.homePersistence, on by default. The same applies to the in-pod sidecar whenever the shared PVC is RWX.
Because that RWO volume is mounted by the sync pod alone, wiki-server cannot read the sync state directly in standalone mode. The sync container instead mirrors its liveness onto the shared volume at obsidianSync.heartbeat.path, which wiki-server exports as a freshness metric — see docs/METRICS.md.
Upgrading an existing RWX deployment moves /data/home to that new, empty volume: the first rollout re-runs ob sync-setup and re-syncs from scratch (cheaper than migrating a sub-megabyte state DB). The old home is left on the shared volume — delete home/.config/obsidian-headless there once the new pod is healthy.
TestOpenAPISync (internal/api); running instances also serve it at GET /api/openapi.yamlinternal/cli/envvars.go — canonical WIKI_* environment variable inventory7-day visitors to each marketplace page
Knowledge graph and codebase architecture intelligence for AI coding assistants
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Context7 plugins for coding agents.