grpcurl
$ grpcurl Community Med Riskgrpcurl 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.
brew install grpcurl Stateless JSON-in/JSON-out gRPC testing directly in shell pipelines; no MCP bridge needed.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
JSON-native request/response format, self-describing list/describe reflection, -max-time timeouts, and zero ANSI noise.
- JSON input (
-d) and JSON stdout withlist/describeschema introspection
list/describe are strictly read-only metadata queries; RPC calls can mutate backend state depending on service semantics.
- TLS enabled by default unless
-plaintextis explicitly passed
Single static Go binary available via brew, go install, Docker, and GitHub Releases.
- Cross-platform static binary on macOS, Linux, Windows
Essential for inspecting and testing gRPC endpoints without writing client stubs.
- Supports server reflection,
.proto, and protoset files
Maintained under fullstorydev/grpcurl (MIT) with broad ecosystem adoption.
- Official
fullstorydev/grpcurlGo repository
Clear README examples and --help flag reference.
- README covers reflection, TLS, metadata, and proto flags
Security, Auth & Guardrails
Accepts transient -H "authorization: Bearer ..." metadata headers or TLS client certs (-cert/-key); stores no credentials.
Free, MIT open-source Go binary.
# 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
grpcurl -plaintext localhost:50051 list
Queries gRPC reflection on a local dev server to discover registered services.
grpcurl -plaintext localhost:50051 describe helloworld.Greeter
Prints service signatures and message fields before constructing a request.
Controlled Writes & Previews
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
- +
listanddescribelet agents discover Protobuf schemas dynamically via reflection. - + Speaks JSON on both
-dinput and stdout, integrating effortlessly withjq. - + Supports
-max-timeand-connect-timeoutto prevent hanging calls.
Caveats & Pitfalls
- ! Requires either gRPC server reflection enabled or local
-proto/-protosetfiles.