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

httpYac

$ httpyac Community Low Risk
Andreas Weber · Browser & Web · MIT · macos / linux / windows

httpYac (AnWeber/httpyac) executes standard .http and .rest files across HTTP, GraphQL, gRPC, WebSockets, MQTT, and AMQP from the terminal or CI (httpyac send req.http --all). Supports --json, -o output selection, --junit, --bail, --filter, and environment files.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g httpyac
CLI vs MCP Decision CLI Preferred vs MCP

httpyac runs multi-protocol .http files (REST, GraphQL, gRPC, WebSockets) with --json and --junit assertions directly against local or staging services.

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 22 / 25

Fully non-interactive CLI (httpyac send) with --json, --junit, --bail, --filter, -n <name>, and -o <output> formatting.

  • Supports --json, --junit, --bail, and --filter
  • Targets single named requests (-n) or full files (--all)
Trust & Safety 19 / 25

Environment scoping via --env and transparent .http files help safety, though .http files can execute embedded JS scripts and lack --dry-run.

  • Supports .env / http-client.env.json environment isolation
  • No --dry-run flag; .http scripts run arbitrary JS
Setup & Portability 13 / 15

Cross-platform npm package (httpyac / npx httpyac) requiring Node.js.

  • Installable via npm install -g httpyac or npx httpyac
Utility & Efficiency 14 / 15

Covers HTTP, GraphQL, gRPC, WebSockets, SSE, and OAuth2 in plain .http files compatible with VS Code and JetBrains.

  • Multi-protocol execution (HTTP, GraphQL, gRPC, WebSocket) from .http files
Maintenance & Lineage 8 / 10

Popular MIT community project (AnWeber/httpyac) widely used alongside VS Code REST workflows.

  • MIT-licensed AnWeber/httpyac repository
Docs & Verifiability 8 / 10

Comprehensive guide at httpyac.github.io covering protocols, variables, and CLI flags.

  • Official docs at httpyac.github.io/guide/

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key OAuth Browser Config File
Credential Storage

Reads environment variables from .env or httpyac.config.js / http-client.env.json alongside .http files.

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

MIT open-source Node.js CLI; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# httpYac (httpyac) Agent Rules
- Always pass `--json` (or `-o body`) and target specific blocks with `-n <name>` or `--all`.
- Review `.http` files for embedded JavaScript hooks (`{{ ... }}`) and mutating verbs before running `--all`.
- Use `--env <env>` explicitly to avoid hitting production variables.

Agent-Ready Command Recipes

Safe Read-Only Queries

Run all read requests in an .http file as JSON
httpyac send requests.http --all --json --env dev

Executes every request in requests.http using the dev environment and outputs structured JSON.

Run only a named request with failure filtering
httpyac send requests.http -n getHealth --json

Targets a single # @name getHealth block inside requests.http and prints JSON output.

Controlled Writes & Previews

Run API test suite with JUnit report and fail-fast
httpyac send tests.http --all --bail --junit > report.xml

Executes .http requests, stops on first assertion failure (--bail), and writes JUnit XML.

Strengths for Agents

  • + Native --json, --junit, --bail, and -n <name> make .http files first-class CI and agent test artifacts.
  • + Supports HTTP, GraphQL, gRPC, and WebSockets in one familiar file format.

Caveats & Pitfalls

  • ! Embedded JS script blocks inside untrusted .http files execute locally with Node permissions.
  • ! No --dry-run flag to preview interpolated requests without sending them.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI