Back to Home
juliendoutre icon

protoc-gen-go-mcp

Verified Safe

by 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

Run Command
mcp

Security 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens10
Stars0
Forks1
Last Update2026-01-19

Tags

Protocol BuffersgRPCCode GenerationGoLLM ToolsMCP