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

grpcurl

$ grpcurl Community Med Risk
FullStory (OSS) · Browser & Web · MIT · macos / linux / windows

grpcurl lets developers and coding agents inspect gRPC services via server reflection or .proto files, list methods, and invoke unary or streaming RPCs using standard JSON input and output.

FCRS-1.0 Score
88 /100
Good
Medium Confidence
Zero-Friction Install
brew install grpcurl
CLI vs MCP Decision CLI Only

Stateless JSON-in/JSON-out gRPC testing directly in shell pipelines; no MCP bridge needed.

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

JSON-native request/response format, self-describing list/describe reflection, -max-time timeouts, and zero ANSI noise.

  • JSON input (-d) and JSON stdout with list/describe schema introspection
Trust & Safety 21 / 25

list/describe are strictly read-only metadata queries; RPC calls can mutate backend state depending on service semantics.

  • TLS enabled by default unless -plaintext is explicitly passed
Setup & Portability 14 / 15

Single static Go binary available via brew, go install, Docker, and GitHub Releases.

  • Cross-platform static binary on macOS, Linux, Windows
Utility & Efficiency 14 / 15

Essential for inspecting and testing gRPC endpoints without writing client stubs.

  • Supports server reflection, .proto, and protoset files
Maintenance & Lineage 8 / 10

Maintained under fullstorydev/grpcurl (MIT) with broad ecosystem adoption.

  • Official fullstorydev/grpcurl Go repository
Docs & Verifiability 8 / 10

Clear README examples and --help flag reference.

  • README covers reflection, TLS, metadata, and proto flags

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key Config File
Credential Storage

Accepts transient -H "authorization: Bearer ..." metadata headers or TLS client certs (-cert/-key); stores no credentials.

Side Effects
Read-Only Remote Write
Cost & Quotas

Free, MIT open-source Go binary.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# grpcurl Agent Rules
- Run `list` and `describe` first so method names and Protobuf fields are verified before calling RPCs.
- Always pass `-max-time <seconds>` on streaming or remote RPCs and avoid `-plaintext` outside localhost/trusted networks.

Agent-Ready Command Recipes

Safe Read-Only Queries

List gRPC services via server reflection
grpcurl -plaintext localhost:50051 list

Queries gRPC reflection on a local dev server to discover registered services.

Describe a Protobuf message or method schema
grpcurl -plaintext localhost:50051 describe helloworld.Greeter

Prints service signatures and message fields before constructing a request.

Controlled Writes & Previews

Invoke a gRPC method with a JSON payload
grpcurl -plaintext -max-time 10 -d '{"name":"agent"}' localhost:50051 helloworld.Greeter/SayHello

Calls a unary RPC with bounded execution (-max-time 10) and returns JSON.

Strengths for Agents

  • + list and describe let agents discover Protobuf schemas dynamically via reflection.
  • + Speaks JSON on both -d input and stdout, integrating effortlessly with jq.
  • + Supports -max-time and -connect-timeout to prevent hanging calls.

Caveats & Pitfalls

  • ! Requires either gRPC server reflection enabled or local -proto/-protoset files.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI