protoc-gen-go-mcp
Verified Safeby juliendoutre
Overview
Generates Go code for gRPC services, allowing them to be exposed as tools for Large Language Models (LLMs) via the Model-Client Protocol (MCP).
Installation
mcpSecurity Notes
The project is a code generator, processing .proto files to create Go code. The generated code (`api_mcp.pb.go` in the example) acts as a proxy, mapping MCP tool calls to gRPC service methods. Input validation primarily relies on the MCP framework ensuring correct type conversion (e.g., `.(string)`). The example gRPC server uses insecure credentials, which is acceptable for local development but would require TLS in a production environment. No `eval` or similar dynamic code execution, nor any hardcoded secrets were found in the provided source code.
Similar Servers
Unla
Transforms existing MCP Servers and APIs into MCP protocol-compliant endpoints through configuration, enabling LLM tool calling without code changes.
mkp
MKP is a Model Context Protocol (MCP) server for Kubernetes, enabling LLM-powered applications to interact with Kubernetes clusters by providing tools for resource listing, getting, applying, deleting, and executing commands.
compound-mcp-server
Provides a Model Context Protocol (MCP) server for interacting with Groq models, including compound/meta models, exposing tools for real-time information and code execution capabilities from the Groq AI.
mcp-server-dump
A command-line tool to extract, analyze, and document the capabilities (tools, resources, prompts) of MCP (Model Context Protocol) servers in various formats, including Markdown, JSON, HTML, PDF, and Hugo sites.