grpcmcp
@adiom-data
关于 grpcmcp
MCP Server for gRPC
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is grpcmcp?
grpcmcp is an MCP server that proxies to a gRPC backend using a provided protobuf descriptor file or server reflection. It exposes unary gRPC methods as MCP tools for AI agents and clients.
How to use grpcmcp?
Install with go install github.com/adiom-data/grpcmcp, then run with flags like --reflect for reflection or --descriptors for a descriptor file. Use --hostport to serve over HTTP (Streamable HTTP or SSE) or configure via command/args in an MCP client for STDIN transport.
Key features of grpcmcp
- Proxies to gRPC backends using reflection or descriptor files
- Exposes unary gRPC methods as MCP tools
- Supports Streamable HTTP, legacy SSE, and STDIN transports
- Filters services with the
--servicesflag - Attaches Bearer tokens or custom headers to backend calls
- Can be embedded as a Go library
Use cases of grpcmcp
- Enable AI agents to call gRPC services via natural language
- Bridge existing gRPC infrastructure to MCP-compatible clients
- Expose selected gRPC endpoints through a controlled MCP interface
FAQ from grpcmcp
What gRPC methods does grpcmcp support?
Only unary gRPC methods are exposed as MCP tools. Client-streaming, server-streaming, and bidi-streaming methods are skipped.
What transports does grpcmcp support for client connections?
grpcmcp supports Streamable HTTP (default when --hostport is set), legacy SSE, and STDIN transport.
Can grpcmcp be used as a Go library?
Yes, it can be embedded via grpcmcp.NewServer() with a Config struct, allowing custom descriptor loading, HTTP clients, and dynamic header providers.
How does authentication work with grpcmcp?
Outbound backend auth is configured via --bearer, --bearer-env, or --header flags. For dynamic auth, use ToolHeaderProvider in library mode. Inbound MCP auth is handled by wrapping the HTTP handler with standard Go middleware.
How are 64-bit integers handled in MCP schemas?
With the --string64 flag, 64-bit protobuf integer fields (int64, uint64, etc.) are exposed only as strings in MCP JSON schemas to avoid precision loss for JavaScript clients.
其他 分类下的更多 MCP 服务器
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Codelf
unbugA search tool helps dev to solve the naming things problem.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
评论