1. Conduid
  2. Files
  3. Proto Generator
MCP server · Files

Proto Generator

Generate MCP servers from gRPC proto files

Unclaimed files
34Low

Scored 7 months ago · breakdown

About Proto Generator

Proto Generator is an MCP server in the Files category: generate MCP servers from gRPC proto files.

Install

From source
git clone https://github.com/lucasnoah/mcp-proto-generator

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Proto Generator

Powered by Claude · Grounded in docs

I know everything about Proto Generator. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

mcp-proto-generator

Generate MCP (Model Context Protocol) servers from gRPC proto files with zero manual code.

Quick Start

# Install
go install github.com/lucasnoah/mcp-proto-generator/cmd/mcp-proto-gen@latest

# Generate MCP server from your protos
mcp-proto-gen generate --proto-dir ./proto

# Run the generated server
cd mcp-server && go run .

Features

  • 🚀 Zero Manual Code - 100% generated from proto definitions
  • 🔑 API Key Auth - Built-in authentication with environment config
  • 🛠️ Smart Conventions - Automatic service discovery and naming
  • 📝 Type Safe - Full proto type mapping to JSON Schema
  • 🐳 Docker Ready - Generated Dockerfile and deployment configs
  • ⚡ Fast Generation - Handles large proto projects in seconds

How It Works

  1. Parse - Reads all your .proto files and imports
  2. Extract - Finds services, methods, and message types
  3. Generate - Creates MCP server with tools for each RPC method
  4. Deploy - Single binary with zero dependencies

Configuration

Create mcp-gen.yaml in your project:

proto:
  dirs: ["./proto"]
  
generate:
  output_dir: "./mcp-server"
  module: "github.com/yourorg/mcp-server"
  
auth:
  enabled: true
  env_var: "MCP_API_KEYS"
  
server:
  port: 3333

Examples

Basic Usage

# Generate from current directory
mcp-proto-gen generate

# Specify proto directory
mcp-proto-gen generate --proto-dir ./api/proto

# Custom config
mcp-proto-gen generate --config mcp-gen.yaml

Integration Example

# .github/workflows/mcp.yml
- name: Generate MCP Server
  run: |
    mcp-proto-gen generate
    cd mcp-server && go test ./...

Proto to MCP Mapping

Your proto services become MCP tools:

service UserService {
  rpc GetUser(GetUserRequest) returns (User);
  rpc DeleteUser(DeleteUserRequest) returns (Empty);
}

Generates MCP tools:

  • user_service_get_user - Get user information
  • user_service_delete_user - Delete user (DANGEROUS)

Requirements

  • Go 1.21+
  • protoc compiler
  • Your project's proto files

Contributing

  1. Fork the repository
  2. Create feature branch
  3. Add tests
  4. Submit pull request

License

MIT License - see LICENSE

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Proto Generator

How do I install Proto Generator?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Proto Generator safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Proto Generator still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.