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 on this docs site for raw markdown (e.g.
/quickstart.md).No install at all: the hosted surface
The canonical setup lives on the landing site, not here:agents.md: the executable runbook an agent follows, from wiring to a verified first call.mcp-config.json: every client’s exact wiring (Claude Code, Claude web, Cursor, VS Code, anymcp.json).
list_stores), Orca Whirlpool
swaps (plan_swap), find_start, program graphs, and the money path
(prepare_purchase → your wallet signs → verify_signed_transaction →
submit_transaction). No account, no key. The host serves ten surfaces; they are listed
at /.well-known/gecko.json and
described at catalog.md.
Or let a skill do the wiring and verify the first call:
gecko-setup, use-any-api, api-agent-ready,
x402-payai-setup, anti-poisoning, skill-guard, read-js-docs.
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 hosted HTTP surface in 10 seconds
Give your agent a hosted, Gecko-comprehended HTTP API: nopip, no spec, no key:
/pegana/mcp the same way.
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:mcp-config.json.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 host at mcp.geckovision.tech; the
root /mcp serves comprehend_api and list_surfaces, and each surface lives at
/<name>/mcp.