gRPC Protocol Handler
STDIOMCP server designed to interact with gRPC services using grpcurl tool.
MCP server designed to interact with gRPC services using grpcurl tool.
This project is an Model Context Protocol (MCP) server designed to interact with gRPC services using the grpcurl
tool. It leverages the grpcurl
command-line utility to perform various operations on gRPC services, such as invoking methods, listing services, and describing service details.
grpcurl
tool installed on your systeminstall grpcurl: https://github.com/fullstorydev/grpcurl
Install the package:
go install github.com/wricardo/mcp-grpcurl@latest
Configure Cline by adding the following to your MCP settings:
"mcp-grpcurl": { "command": "mcp-grpcurl", "env": { "ADDRESS": "localhost:8005" }, "disabled": false, "autoApprove": [] }
Run the MCP server:
mcp-grpc-client
invoke: Invoke a gRPC method using reflection.
method
: Fully-qualified method name (e.g., package.Service/Method
).request
: JSON payload for the request.headers
: (Optional) JSON object for custom gRPC headers.list: List all available gRPC services on the target server.
describe: Describe a gRPC service or message type.
mypackage.MyService
).