MCP server that proxies unary gRPC methods as MCP tools

MCP server that proxies unary gRPC methods as MCP tools

grpcmcp•byadiom-data

grpcmcp is a Go MCP server that connects to a gRPC backend using reflection or a protobuf descriptor set and exposes its unary methods as MCP tools.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes unary gRPC methods as MCP tools; client-streaming, server-streaming, and bidi-streaming backend methods are skipped.
  • •Discovers gRPC endpoints via reflection or from a provided protobuf descriptor file.
  • •Can serve MCP over Streamable HTTP, legacy SSE, or STDIN transport.
  • •Supports backend authentication headers via bearer tokens or environment-provided tokens, plus additional custom headers.

BEST FOR

  • •Exposing existing gRPC services to MCP-capable clients without writing a custom server.
  • •Embedding an MCP-to-gRPC bridge into a Go application as a library.

ABOUT GRPCMCP

MCP server that proxies unary gRPC methods as MCP tools is cataloged as an MCP server attributed to adiom-data. grpcmcp is a Go MCP server that connects to a gRPC backend using reflection or a protobuf descriptor set and exposes its unary methods as MCP tools. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server that proxies unary gRPC methods as MCP tools are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which gRPC methods are exposed as MCP tools?

Only unary gRPC methods are exposed as MCP tools; client-streaming, server-streaming, and bidi-streaming backend methods are skipped.

How does grpcmcp discover gRPC endpoints?

It can use gRPC reflection or load a protobuf descriptor set produced by buf or protoc.

Upstream README

View this exact version on GitHub

README.md · 7e3eda223d8e · Fetched 2026-11-13 09:47:00 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

grpcmcp

A simple MCP server that will proxy to a grpc backend based on a provided descriptors file or using reflection.

Quick Start

  1. Install the binary: go install . or go install github.com/adiom-data/grpcmcp Ensure the go bin directory is in your PATH.

  2. In a terminal, run the example grpc server go run example/main.go. This will start a grpc health service on port 8090 with server reflection enabled. Note that this runs on the default port that grpcmcp will connect to.

  3. Streamable HTTP Transport In another terminal, run grpcmcp --hostport=localhost:3000 --reflect. Specifying hostport will use Streamable HTTP by default. The MCP endpoint will be served at http://localhost:3000/mcp.

  4. Legacy SSE Transport For older clients, run grpcmcp --hostport=localhost:3000 --transport=sse --reflect. The SSE endpoint will be served at http://localhost:3000/sse.

  5. STDIN Transport Set up the MCP config. e.g.

"grpcmcp": {
    "command": "grpcmcp",
    "args": ["--reflect"]
}

Options / Features

grpcmcp --help for a full list of options.

  • hostport string - When set, serve MCP over HTTP, and use this as the server host:port.

  • transport string - Transport to use when hostport is set. Defaults to http for Streamable HTTP at /mcp. Set to sse for the legacy SSE transport at /sse.

  • descriptors string - Specify file location of the protobuf definitions generated from buf build -o protos.pb or protoc --descriptor_set_out=protos.pb instead of using gRPC reflection.

  • reflect - If set, use reflection to retrieve gRPC endpoints instead of descriptor file.

  • url string - Specify the url of the backend server.

  • services string - Comma separated list of fully qualified gRPC service names to filter.

  • bearer string - Token to attach in an Authorization: Bearer header.

  • bearer-env string - Environment variable for token to attach in an Authorization: Bearer header. Overrides bearer.

  • header string (repeatable) - Headers to add in Key: Value format.

  • string64 - If set, expose 64-bit protobuf integer fields (int64, uint64, sint64, fixed64, sfixed64) as strings only in MCP JSON schemas. This avoids precision ambiguity for JavaScript-based clients and agents. By default, schemas continue to allow either JSON numbers or strings for compatibility.

grpcmcp currently exposes unary gRPC methods as MCP tools. Backend gRPC client-streaming, server-streaming, and bidi-streaming methods are skipped. This is separate from MCP transports: Streamable HTTP and legacy SSE are supported for client connections to grpcmcp.

Library Usage

grpcmcp can also be embedded as a Go library. The library accepts a descriptor set directly, so applications can decide how to load descriptors and how to wrap the MCP HTTP handler.

descriptors, err := grpcmcp.LoadDescriptorsFromReflection(ctx, backendURL, headers, false)
if err != nil {
    return err
}

srv, err := grpcmcp.NewServer(grpcmcp.Config{
    ServerName:  "gRPC MCP Server",
    Version:     "1.0.0",
    BaseURL:     backendURL,
    Descriptors: descriptors,
    Headers:     grpcmcp.StaticHeaders(headers),
})
if err != nil {
    return err
}

handler := server.NewStreamableHTTPServer(srv)

To route backend calls through a custom transport, provide HTTPClient. For example, an embedded application can use an in-memory HTTP transport such as go.akshayshah.org/memhttp by passing the in-memory server's URL and client:

backend, err := memhttp.New(backendHandler)
if err != nil {
    return err
}
defer backend.Close()

srv, err := grpcmcp.NewServer(grpcmcp.Config{
    BaseURL:     backend.URL(),
    HTTPClient:  backend.Client(),
    Descriptors: descriptors,
})

For dynamic backend auth, provide a ToolHeaderProvider. The full mcp.CallToolRequest is available, including inbound HTTP headers supplied by supported MCP transports.

srv, err := grpcmcp.NewServer(grpcmcp.Config{
    BaseURL:     backendURL,
    Descriptors: descriptors,
    Headers: func(ctx context.Context, req mcp.CallToolRequest) (http.Header, error) {
        h := make(http.Header)
        h.Set("Authorization", req.Header.Get("Authorization"))
        return h, nil
    },
})

Inbound MCP authentication should be handled by wrapping the HTTP handler with standard Go middleware. Outbound backend authentication is controlled by the configured header provider.

Help

Join our Discord at https://discord.gg/hDjx3DehwG

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server that proxies unary gRPC methods as MCP tools from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/grpcmcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools