mcpField
M
MCP Grpcurl

MCP Grpcurl

Local
github.com/wricardoDeveloper Tools17Updated 86w ago

About MCP Grpcurl

MCP Grpcurl is an MCP server for interacting with gRPC services through grpcurl. It gives developers using MCP clients tools to discover services, inspect definitions, and invoke methods.

Key features

  1. 01Invoke gRPC methods with JSON payloads
  2. 02Set custom request headers
  3. 03List available services
  4. 04Describe services and message types

Use cases

  1. 01Call gRPC methods from an MCP client
  2. 02Discover services on a target server
  3. 03Inspect service or message definitions

MCP support

As an MCP server, it provides invoke, list, and describe tools for exploring and calling gRPC services. The grpcurl utility must be installed to run it.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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).

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.