Skip to main content
Glama

grpcmcp

一个简单的 MCP 服务器,它将根据提供的描述符文件或使用反射代理到 grpc 后端。

快速入门

  1. 安装二进制文件: go install .go install github.com/adiom-data/grpcmcp确保 go bin 目录在您的 PATH 中。

  2. 在终端中,运行示例 grpc 服务器go run example/main.go 。这将在端口 8090 上启动 grpc health 服务,并启用服务器反射。请注意,该服务运行在 grpcmcp 将要连接的默认端口上。

  3. SSE 传输在另一个终端中,运行grpcmcp --hostport=localhost:3000 --reflect 。指定hostport将使用 SSE。SSE 端点将通过http://localhost:3000/sse提供服务。

  4. STDIN 传输设置 MCP 配置。例如

"grpcmcp": {
    "command": "grpcmcp",
    "args": ["--reflect"]
}

Related MCP server: MCP Manager

选项/功能

grpcmcp --help获取完整选项列表。

  • hostport字符串 - 设置后,使用 SSE,并将其作为服务器主机:端口。

  • descriptors符字符串 - 指定从buf build -o protos.pbprotoc --descriptor_set_out=protos.pb生成的 protobuf 定义的文件位置,而不是使用 gRPC 反射。

  • reflect - 如果设置,则使用反射来检索 gRPC 端点而不是描述符文件。

  • url字符串 - 指定后端服务器的 url。

  • services字符串 - 要过滤的完全限定 gRPC 服务名称的逗号分隔列表。

  • bearer字符串 - 附加在Authorization: Bearer标头中的令牌。

  • bearer-env字符串 - 令牌在Authorization: Bearer标头中附加的环境变量。覆盖bearer

  • header字符串(可重复) - 以Key: Value格式添加的标题。

帮助

加入我们的 Discord: https://discord.gg/hDjx3DehwG

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • The official MCP Server from Mia-Platform to interact with Mia-Platform Console

  • MCP server for interacting with the Supabase platform

  • An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

View all MCP Connectors

Appeared in Searches

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adiom-data/grpcmcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server