MCP server for semantic search over the Tripletex Development Documentation.
Clones the documentation repo, chunks markdown files by headings, generates local embeddings using Xenova/all-MiniLM-L6-v2, and exposes search via MCP tools.
- Semantic search across all development documentation
- Local embeddings (no external API calls)
- Embedding cache keyed by git commit hash
- Supports both stdio and HTTP/SSE transports
The server is deployed as a Docker container behind the Tripletex MCP Gateway. No local setup needed — connect through the gateway.
npm install
npm startOr add to your .mcp.json:
{
"mcpServers": {
"dev-docs": {
"command": "npx",
"args": ["tsx", "src/index.ts"],
"cwd": "/path/to/dev-docs-mcp"
}
}
}MCP_TRANSPORT=http PORT=3000 npx tsx src/index.tsVerify with:
curl http://localhost:3000/health| Tool | Description |
|---|---|
searchDocs |
Semantic search over documentation. Accepts query (string) and optional topK (1-20, default 5). |
listDocPages |
Lists all documentation pages and their sections. |
| Variable | Default | Description |
|---|---|---|
MCP_TRANSPORT |
stdio |
Transport mode: http or stdio |
PORT |
3000 |
HTTP server port (only used when MCP_TRANSPORT=http) |
docker build -t dev-docs-mcp .docker run -p 3000:3000 dev-docs-mcpdocker run -i -e MCP_TRANSPORT=stdio dev-docs-mcpnpm install # Install dependencies
npm run build # Compile TypeScript
npm run typecheck # Type-check without emitting
npm start # Run in stdio mode (dev)