grpcurl is a Go-based command-line utility designed to interact with gRPC servers without requiring a dedicated client application. It provides functionality similar to curl while supporting the Protocol Buffers serialization format used by gRPC services. Users can submit human-readable JSON request bodies that are automatically converted into binary Protobuf messages. The utility supports unary, client-streaming, server-streaming, and bidirectional streaming RPC methods. Integrated server reflection enables service discovery and method inspection without local schema files. When reflection is unavailable, developers can supply Protobuf source files or compiled descriptor sets. grpcurl supports plaintext connections, TLS encryption, mutual TLS authentication, and customizable request metadata.
Features
- Command-line interaction with gRPC services through automatically converted JSON request and response messages
- Comprehensive RPC support including unary, client-streaming, server-streaming, and bidirectional streaming methods
- Automatic service discovery and method inspection through integrated gRPC server reflection
- Protocol Buffers schema importing through local source files and compiled descriptor sets
- Secure server connectivity supporting TLS encryption, mutual TLS authentication, and customizable certificate settings
- Configurable request metadata, connection timeouts, interactive streaming, and reusable Go library integration