Skip to content

Handbook

Welcome to the Tool Compass handbook.

The handbook is organized by what you need to do, following the Diátaxis framework.

  • Beginners — First-time setup walkthrough and core concepts
  • Getting Started — Install, build the index, run the gateway (plus the new tool-compass CLI subcommands)

How-To Guides — accomplish a specific task

Section titled “How-To Guides — accomplish a specific task”
  • Operations/ready, /metrics, trace IDs, graceful Ollama-offline behavior in production
  • Tools — All 9 gateway MCP tools in detail (compass, describe, execute, status, audit, sync, analytics, chains, categories)
  • Configuration — Environment variables, Docker, and the compass_config.json schema
  • Architecture — How semantic search works under the hood (with Mermaid diagrams)
  • npx @mcptoolshop/tool-compass — zero-prerequisite install. SHA256-verified binaries downloaded on first run, cached locally. No Python toolchain required.
  • 6 new CLI subcommandstool-compass ui, status, categories, audit, analytics, chains mirror the MCP surface for terminal users. All support --json.
  • RFC 9457 error envelope — every error includes code, category, retryable, and (where applicable) nearest_tools[] suggestions. Backward-compatible: the legacy error: <str> field stays alongside.
  • OTel gen_ai.* metrics — circuit-breaker transitions, fallback invocations, HNSW search latency histogram, embedder inflight, queue wait. Plus degraded: true flag on responses served from lexical fallback.
  • Rich-powered CLI--json everywhere, NO_COLOR/--no-color honored, progress spinners on doctor + sync, actionable error messages with hints.
  • Golden-set Recall@k benchmark — frozen 38-query regression test running on every commit. Detects retrieval-quality drift before users do.
  • tool-compass CLI shellsearch, describe, sync, doctor, serve subcommands. Default (no args) still launches the MCP server.
  • Graceful Ollama-offlinecompass() falls back to keyword search over the SQLite index, marks results degraded: true, and tells you what to start.
  • Trace IDs — every MCP call returns an 8-char trace_id threaded through logs + responses for grepable bug reports.
  • /ready + /metrics — deep readiness probe and Prometheus-format metrics for Fly.io / Kubernetes / any operator dashboard.
  • Embedding cache — re-sync no longer re-embeds tool descriptions that haven’t changed.
  • Multi-arch Docker — linux/amd64 and linux/arm64 from the same GHCR tag.

Full list in CHANGELOG.

Back to landing page