@supernova123/grpc-mcp-server
MCP server for gRPC — service discovery via server reflection, method invocation, and type schema inspection for AI agents.
README
@supernova123/grpc-mcp-server
Connect AI agents to any gRPC service — no proto files needed.
Most gRPC services are invisible to AI tools. This MCP server uses gRPC Server Reflection to auto-discover services, methods, and types at runtime, then exposes them as callable tools for Claude, Cursor, and any MCP-compatible agent.
Why This Matters
gRPC powers Kubernetes, Istio, Envoy, and thousands of microservices — but AI agents can't talk to any of them. Until now, you'd need to manually define proto schemas, generate clients, and wire everything together. This server does it automatically: point it at any gRPC endpoint with reflection enabled, and it discovers everything.
Use cases:
- Debug microservices by invoking RPCs directly from Claude
- Inspect live service meshes (Istio, Envoy) without kubectl
- Build AI-powered ops tools that query gRPC health endpoints
- Prototype API integrations without writing client code
- Test gRPC services during development with natural language
Tools
| Tool | Description |
|---|---|
connect_endpoint |
Connect to a gRPC server and auto-discover all services via reflection |
list_services |
List every gRPC service on the connected endpoint |
list_methods |
List all RPC methods for a service (unary, server-stream, client-stream, bidi) |
get_service_descriptor |
Get full service schema: methods, request/response types, streaming modes |
invoke_rpc |
Call any RPC method with a JSON-serialized request body |
health_check |
Standard gRPC Health Checking Protocol (v1) |
disconnect |
Clear cached service data and disconnect |
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"grpc": {
"command": "npx",
"args": ["-y", "@supernova123/grpc-mcp-server"],
"env": {
"GRPC_ENDPOINT": "localhost:50051"
}
}
}
}
Cursor / VS Code
{
"mcp": {
"servers": {
"grpc": {
"command": "npx",
"args": ["-y", "@supernova123/grpc-mcp-server"],
"env": {
"GRPC_ENDPOINT": "localhost:50051"
}
}
}
}
}
Direct
npx @supernova123/grpc-mcp-server
Example Usage
-
Connect to a gRPC server:
connect_endpoint(endpoint="localhost:50051") -
Discover available services:
list_services() -
Inspect a service's methods:
list_methods(service_name="grpc.health.v1.Health") -
Invoke an RPC:
invoke_rpc( service_name="grpc.health.v1.Health", method_name="Check", request={"service": ""} )
Environment Variables
| Variable | Description | Default |
|---|---|---|
GRPC_ENDPOINT |
Target gRPC endpoint (host:port) | (none — use connect_endpoint) |
GRPC_TIMEOUT_MS |
Request timeout in milliseconds | 10000 |
GRPC_USE_TLS |
Enable TLS connections | false |
Requirements
- Node.js 18+
- Target gRPC server must support gRPC Server Reflection (v1)
Most gRPC servers have reflection enabled in development. For production servers, ensure grpc.reflection.V1Reflection is registered.
How It Works
- Connects to your gRPC endpoint via the reflection API
- Fetches the full service descriptor (services → methods → types)
- Dynamically generates MCP tool definitions from the schema
- Invokes RPCs by serializing JSON requests to protobuf and back
No proto files. No code generation. No compile step.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。