grpcmcp

by adiom-data

Integrations

  • Provides a link to Discord for community support, allowing users to join a specific server for help with the grpcmcp tool.

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"] }

选项/功能

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

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

MCP 服务器将通过反射或描述符文件代理到您的 gRPC 后端。

  1. 快速入门
    1. 选项/功能
      1. 帮助

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          A proxy server that unifies multiple MCP servers, enabling seamless tool, prompt, and resource management via the MetaMCP App.
          Last updated -
          625
          88
          TypeScript
          Apache 2.0
        • -
          security
          A
          license
          -
          quality
          A proxy service that connects MCP clients to remote MCP servers, allowing users to use server keys from MCP.so to access remote resources without running their own server.
          Last updated -
          5,062
          2
          TypeScript
          MIT License
          • Apple
        • -
          security
          -
          license
          -
          quality
          Proxy that aggregates multiple MCP servers and presents them as a unified interface, allowing clients to access resources from multiple servers transparently.
          Last updated -
          1
          TypeScript

        View all related MCP servers

        ID: 2543tesmot