{"repo":"redpanda-data/protoc-gen-go-mcp","free":true,"listed":false,"github":"https://github.com/redpanda-data/protoc-gen-go-mcp","clone":"git clone https://github.com/redpanda-data/protoc-gen-go-mcp.git","description":"Go protobuf compiler extension to turn any gRPC service into an MCP server","language":"Go","stars":219,"topics":[],"license":"Apache-2.0","category":"mcp-servers","readme_excerpt":"protoc-gen-go-mcp protoc-gen-go-mcp is a Protocol Buffers compiler plugin that generates Model Context Protocol (MCP) servers for your gRPC or ConnectRPC APIs. It generates .pb.mcp.go files for each protobuf service, enabling you to delegate handlers directly to gRPC servers or clients. Under the hood, MCP uses JSON Schema for tool inputs -- protoc-gen-go-mcp auto-generates these schemas from your method input descriptors. Generated code is MCP-library-agnostic : pick modelcontextprotocol/go-sdk (the official SDK) or mark3labs/mcp-go at server creation time through a thin adapter -- no regeneration needed. Features - Auto-generates MCP handlers from your .proto services - Outputs JSON Schema for method inputs - Wire up to gRPC or ConnectRPC servers/clients - Easy integration with buf - Runtime LLM provider selection -- standard MCP or OpenAI-compatible schemas - MCP library agnostic -- official go-sdk and mark3labs/mcp-go both supported Usage Generate code Add entry to your buf.gen.yaml : You need to generate the standard .pb.go files as well. protoc-gen-go-mcp by defaults uses a separate subfolder {$servicename}mcp , and imports the pb.go files -- similar to connectrpc-go. After running buf generate , you will see a new folder for each package with protobuf Service definitions: Setting up the MCP server Generated code programs against the runtime.MCPServer interface. You choose the backing MCP library by importing the corresponding adapter package. With the official go-sdk (","default_branch":null,"files":null,"tree":[],"storefront":"/r/redpanda-data","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/redpanda-data/protoc-gen-go-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}