Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Hoppscotch CLI

$ hopp Official Low Risk
Hoppscotch · Browser & Web · MIT · macos / linux / windows

Hoppscotch CLI (@hoppscotch/cli, binary hopp) runs exported Hoppscotch JSON collections or remote workspace collections (hopp test <collection> -e <env>) with assertion checks, iteration datasets (--iteration-data), --token auth, and --reporter-junit CI XML output.

FCRS-1.0 Score
81 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g @hoppscotch/cli
CLI vs MCP Decision CLI Preferred vs MCP

hopp executes Hoppscotch collection assertions, pre-request/test scripts, and JUnit reporting locally inside CI runners without browser or MCP overhead.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Headless hopp test execution with --reporter-junit, --iteration-count, and --iteration-data, though it lacks a --json reporter flag.

  • Non-interactive hopp test with JUnit XML reporting (--reporter-junit)
  • No native --json summary flag
Trust & Safety 20 / 25

Masks OS-injected secret variables in terminal logs and supports local JSON files, though collection test scripts run arbitrary JS without --dry-run.

  • Masks OS environment secrets in CLI output
  • No --dry-run preview mode
Setup & Portability 13 / 15

Cross-platform npm package (@hoppscotch/cli / npx @hoppscotch/cli) requiring Node.js.

  • Published on npm as @hoppscotch/cli
Utility & Efficiency 12 / 15

Bridges Hoppscotch web/desktop collections straight into CI pipelines with data-driven iterations.

  • Supports local JSON exports and remote --server / --token execution
Maintenance & Lineage 9 / 10

Official Hoppscotch repository (hoppscotch/hoppscotch) under MIT license.

  • First-party Hoppscotch CLI under MIT
Docs & Verifiability 8 / 10

Clear official CLI documentation at docs.hoppscotch.io.

  • Official docs at docs.hoppscotch.io/documentation/clients/cli/overview

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key Config File
Credential Storage

Reads environment JSON files (-e env.json), OS environment variables (masked in logs), or --token for remote Hoppscotch instances.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

MIT open-source CLI; free for local and CI execution.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Hoppscotch CLI (hopp) Agent Rules
- Always pass `-e <env.json>` and `--reporter-junit <path>` in CI pipelines.
- Inject secrets via OS environment variables rather than committing them in `env.json`.
- Review collection endpoints before running `hopp test` against production environments.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run a Hoppscotch collection with JUnit output
hopp test ./collection.json -e ./env.json --reporter-junit ./junit.xml

Executes collection tests against ./env.json and writes a CI-compatible JUnit XML report.

Run tests against a self-hosted Hoppscotch server
hopp test <collection-id> -e <env-id> --token "$HOPP_TOKEN" --server https://hopp.example.com

Fetches a remote collection and environment by ID and executes assertions non-interactively.

Strengths for Agents

  • + Clean CI integration via hopp test, --reporter-junit, and automatic secret masking.
  • + Works seamlessly with both exported JSON files and self-hosted --server workspaces.

Caveats & Pitfalls

  • ! Focused strictly on hopp test collection runs rather than ad-hoc single requests.
  • ! No --json output flag (only human stdout and --reporter-junit).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI