A minimal, agent-agnostic MCP server that exposes search over local markdown documentation. Any MCP-compatible client (Claude Code, Claude Desktop, or a custom agent built on any model) can connect to it — the server has no knowledge of which agent or LLM is calling it.
search_docs(query, limit?)— keyword search acrossdocs/*.md, returns matching files with a snippet.read_doc(path)— read the full contents of a doc by its relative path.
npm install
npm run buildnpm run inspectThis launches the MCP Inspector, a web UI for calling your tools directly without needing a full LLM client.
claude mcp add wiki-search -- node /absolute/path/to/mcp-wiki-server/dist/index.jsAdd to claude_desktop_config.json:
{
"mcpServers": {
"wiki-search": {
"command": "node",
"args": ["/absolute/path/to/mcp-wiki-server/dist/index.js"]
}
}
}Any other MCP client follows the same pattern: point it at node dist/index.js as a subprocess command.
Drop .md files into docs/ (subfolders supported). No re-deploy needed — search_docs reads from disk on every call.
- Swap
StdioServerTransportfor the Streamable HTTP transport insrc/index.ts. - Point
docs/at a real source (Confluence/Notion/Drive) instead of local files. - Containerize and deploy to Cloud Run.
- Add auth (OAuth2/OIDC or Cloud Run IAM) in front of the HTTP endpoint.