Submit

Protoc Gen Go Mcp

@redpanda-data

7 months ago
developer-tools
Go protobuf compiler extension to turn any gRPC service into an MCP server
Overview

What is Protoc Gen Go Mcp?

Protoc Gen Go Mcp is a Protocol Buffers compiler plugin that generates Model Context Protocol (MCP) servers for gRPC or ConnectRPC APIs, allowing seamless integration of gRPC services with MCP functionality.

How to use Protoc Gen Go Mcp?

To use Protoc Gen Go Mcp, add an entry to your buf.gen.yaml file to configure the plugin, generate the standard *.pb.go files, and then run buf generate to create the MCP server files.

Key features of Protoc Gen Go Mcp?

  • Auto-generates MCP handlers from .proto services.
  • Outputs JSON Schema for method inputs.
  • Integrates easily with gRPC or ConnectRPC servers/clients.
  • Supports integration with buf for streamlined workflows.

Use cases of Protoc Gen Go Mcp?

  1. Creating MCP servers for existing gRPC services.
  2. Simplifying the integration of gRPC APIs with JSON Schema.
  3. Facilitating the development of tools that leverage gRPC services as MCP tools.

FAQ from Protoc Gen Go Mcp?

  • What is MCP?

MCP stands for Model Context Protocol, which is a protocol for defining tools and services in a structured way.

  • Is Protoc Gen Go Mcp compatible with all gRPC services?

Yes, it is designed to work with any gRPC service that uses Protocol Buffers.

  • What are the limitations of Protoc Gen Go Mcp?

Currently, it does not support interceptors and has some limitations with tool name mangling for long RPC names.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.