Protofmt

Provides a MCP server that formats a single .proto file, enabling quick proto formatting through an MCP client.
  • typescript

1

GitHub Stars

typescript

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "emicklei-protofmt-mcp": {
      "command": "/Users/erNest/protofmt-mcp",
      "args": []
    }
  }
}

This MCP server formats a single .proto file, making it easy to integrate into your toolchain or editor workflows. It provides a focused, reliable way to ensure your proto definitions are consistently formatted as part of your development process.

How to use

You can use this MCP server with any MCP client to format a .proto file. Send the file to the server, and it will return a reformatted version that adheres to standard proto syntax conventions. This is handy when integrating formatting into your editor, CI, or pre-commit checks to keep your proto definitions clean and consistent.

How to install

Prerequisites include having Go installed on your system so you can install the MCP server binary.

go install github.com/emicklei/protofmt-mcp@latest

Additional notes

Usage in development environments often involves configuring your MCP client to invoke the local MCP server binary. The server is designed to run as a local process that you can connect to via the MCP protocol to format a provided .proto file.

Available tools

format_proto

Formats a single .proto file to conform to standard proto syntax and styling rules.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational