npm install -g ships a prebuilt binary for macOS and Linux, so the CLI works with no
Python toolchain at all. Install the PyPI package instead when you want to import
gecko in your own code (from gecko import AgentApiClient).Handing these docs to a coding agent? Point it at
/llms.txt — a compact, agent-readable map of
this site — or append .md to any page URL for raw markdown (e.g. /quickstart.md).The four steps
1
doctor — read-only, no side effects
2
add — comprehend the surface, $0
openapi.json? Plenty of good APIs never publish one. add takes whatever
you have:3
report — the scorecard
4
serve — your agent uses it over MCP
Plug it into your agent
Going live is a separate, deliberate step
mcp.json, never into a tool
definition, never into the model’s context. Gecko resolves it at call time and sends it
only to the API’s own host (out-of-band host anchoring). Keyless APIs skip this
entirely.
Prove it offline first — $0 recorded mode
Every path has a recorded mode that runs the same code but synthesizes the response from the API’s own schema — no network, no key, no spend. Falsify the calls before going live.Try a live surface in 10 seconds
Give your agent a hosted, Gecko-comprehended surface — nopip, no spec, no key:
claude mcp add is Claude-Code-only. In Cursor, VS Code, or any MCP client, add
the same endpoint to your mcp.json — transport is MCP Streamable HTTP
(2025-11-25), not SSE:On-chain, in one command
Other ways in
Claude Code plugin
Bundles the skills + a live demo surface.
Embed the SDK
For your own app or agent loop.
No OpenAPI?
Recover a draft spec from the docs, then comprehend it.Review the draft (especially auth) before trusting it live.
Correctness in CI
First-call-correctness suites you can fail a build on.
Good to know
Is it safe to run? (verify before you execute)
Is it safe to run? (verify before you execute)
Nothing here pipes a remote script into a shell. Run in order and you never take an
unchecked step:
- Check (no side effects):
npx @geckovision/gecko doctor— read-only; reports your setup and the exact next step. - Dry-run ($0):
gecko serve <url>defaults to recorded — no request reaches the real API, nothing is billed. - Live: add
--mode live(andgecko auth set <provider>first for a keyed API).
Spec served off-host? (e.g. Colosseum Copilot)
Spec served off-host? (e.g. Colosseum Copilot)
Gecko refuses to trust a spec’s
servers[] host when the spec was fetched from a
different origin (the token-exfil defense). Assert the real host yourself:add prompts once for your PAT, seals it, pins the host, and connects in live mode.
Drop --mode live to falsify the calls offline first.Which platforms get the npx binary?
Which platforms get the npx binary?
Linux (x64 + arm64) and Apple Silicon Macs — one command, no Python. On an Intel Mac
or Windows, use the Python path (same CLI, your system’s own certificates):
Remote / hosted MCP?
Remote / hosted MCP?
Serve behind an HTTPS tunnel with
--public-url https://<tunnel> (trusted for the
Host/Origin guard). Gecko also runs a hosted surface at mcp.geckovision.tech.