📄 Available languages:
grpc-mcp
grpc-mcp is an MCP server built with Node.js/TypeScript. It enables easy gRPC requests and Protocol Buffer file information retrieval.
Features
- Retrieve service/method info from Protocol Buffer files
- Send requests to gRPC servers (with SSL, timeout, headers, etc.)
- Get response time statistics
- Operate via natural language from MCP clients or VSCode extensions
Limitations
- This tool does NOT support gRPC streaming (server streaming, client streaming, or bidirectional streaming). Only single-request single-response (unary) RPCs are supported.
AI instruction prompts
This repository includes prompt templates to instruct AI agents using natural language. The templates and usage examples help automate gRPC requests and Protocol Buffer handling. See the prompt files below:
- English: grpc-mcp.prompt.md
- Japanese: grpc-mcp.ja.prompt.md
Usage
MCP Client Example
use npx.
or use install module.
Start Server
Dependencies
- @grpc/grpc-js
- @grpc/proto-loader
- fastmcp
- zod
MCP Tool Basic Operations
1. Load Proto Files
Specify the directory containing proto files to get service/method info.
2. Get Method Information
Specify service/method to get request/response structure.
3. Send gRPC Request
Specify proto, service, method, request body, SSL, timeout, etc.
Response Example
License
MIT
MCP Tool Usage Examples
Natural Language Usage Examples
- Send gRPC request
- e.g. "Set id:123 in the request and call GetUser method of User service"
- Multiple requests/statistics
- e.g. "Call GetUser of Hoge service 10 times and show average/max/min response time"
- Summarize/extract response
- e.g. "Summarize user list in GetUser response"
- e.g. "Show only error details if failed"
- Get method info
- e.g. "Show request/response structure for Sample method of Sample service in sample.proto"
For Developers
Setup & Build
Lint & Format
Example Implementation
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables easy gRPC requests and Protocol Buffer file information retrieval through natural language commands. Supports unary RPCs with SSL, timeout configuration, and response time statistics.
Related MCP Servers
- AsecurityFlicenseAqualityEnables managing Google Cloud Platform resources through natural language commands in Claude Desktop, supporting comprehensive operations across compute, storage, databases, networking, monitoring, and IAM without manual credential setup.Last updated -5621
- -securityAlicense-qualityA server implementation that exposes grep functionality through the Model Context Protocol, allowing MCP-compatible clients to search for patterns in files using regular expressions.Last updated -14GPL 3.0
- -securityAlicense-qualityMCP server that will proxy to your gRPC backends via reflection or descriptors file.Last updated -22Apache 2.0
- -securityFlicense-qualityAn MCP server that provides natural language interaction with Google's Policy Troubleshooter API, allowing users to troubleshoot access denied errors and analyze IAM policies.Last updated -