Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AIFire in da houseCheck it out free

grpcurl-mcp

MCP.Pizza Chef: wricardo

grpcurl-mcp is an MCP server that facilitates interaction with gRPC services using the grpcurl CLI tool. It supports invoking gRPC methods with custom headers and JSON payloads, listing available gRPC services, and describing service or message details. Designed for Go 1.23.0+ environments, it integrates grpcurl capabilities into the MCP ecosystem for seamless gRPC service exploration and invocation.

Use This MCP server To

Invoke gRPC methods with custom headers and JSON payloads List all available gRPC services on a target server Retrieve detailed descriptions of gRPC services and message types Integrate gRPC service calls into MCP-enabled workflows Debug and test gRPC endpoints using structured MCP context Automate gRPC service discovery and interaction in development

README

MCP Grpcurl

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.

Features

  • Invoke gRPC Methods: Use reflection to invoke gRPC methods with custom headers and JSON payloads.
  • List gRPC Services: Retrieve a list of all available gRPC services on the target server.
  • Describe gRPC Services: Get detailed descriptions of gRPC services or message types.

Requirements

  • Go 1.23.0 or later
  • grpcurl tool installed on your system

Setup

  1. install grpcurl: https://github.com/fullstorydev/grpcurl

  2. Install the package:

    go install github.com/wricardo/mcp-grpcurl@latest
  3. Configure Cline by adding the following to your MCP settings:

    "mcp-grpcurl": {
      "command": "mcp-grpcurl",
      "env": {
        "ADDRESS": "localhost:8005"
      },
      "disabled": false,
      "autoApprove": []
    }

Usage

Run the MCP server:

mcp-grpc-client

Tools

  • invoke: Invoke a gRPC method using reflection.

    • Parameters:
      • 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.

    • Use dot notation for symbols (e.g., mypackage.MyService).

grpcurl-mcp FAQ

How do I install grpcurl-mcp?
Install the grpcurl tool first, then install grpcurl-mcp via 'go install github.com/wricardo/mcp-grpcurl@latest'.
What are the prerequisites for running grpcurl-mcp?
You need Go 1.23.0 or later and the grpcurl command-line tool installed on your system.
Can grpcurl-mcp invoke gRPC methods with custom headers?
Yes, it supports invoking gRPC methods with custom headers and JSON payloads.
How does grpcurl-mcp list available gRPC services?
It uses grpcurl's reflection capabilities to retrieve and list all services on the target server.
Is grpcurl-mcp limited to any specific gRPC servers?
No, it works with any gRPC server that supports reflection and is accessible via grpcurl.
Can grpcurl-mcp describe message types in gRPC services?
Yes, it provides detailed descriptions of gRPC services and message types.
How do I configure grpcurl-mcp in MCP settings?
Add the grpcurl-mcp command and environment variables to your MCP client configuration as documented.
Which LLM providers can grpcurl-mcp work with?
grpcurl-mcp is provider-agnostic and can be used with OpenAI, Anthropic Claude, and Google Gemini models.