MCP.so
登录

mcp-grpc-transport

@rustycl0ck

关于 mcp-grpc-transport

gRPC transport for MCP servers

基本信息

分类

开发工具

许可证

MIT license

运行时

go

传输方式

stdio

发布者

rustycl0ck

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is mcp-grpc-transport?

mcp-grpc-transport is an MCP transport that uses gRPC for communication between client and server. It is designed for developers who want to host MCP servers on remote instances, leveraging existing gRPC infrastructure for authentication and authorization.

How to use mcp-grpc-transport?

Replace the default stdio transport with grpctransport.NewGrpcServerTransport() in your server code. Customize via options like WithPort and WithGrpcOpts. For clients, use the provided CLI tool (go run github.com/rustycl0ck/mcp-grpc-transport/cmd/client@latest) or configure your IDE (e.g., Cursor) to launch the client as the MCP command.

Key features of mcp-grpc-transport

  • Integrates MCP with gRPC for remote hosting.
  • Currently supports the metoro-io/mcp-golang library.
  • Server customization via gRPC options (port, interceptors, message size, TLS).
  • Includes a ready-to-use client tool for testing and IDE integration.

Use cases of mcp-grpc-transport

  • Run an MCP server on a remote cloud instance and connect local IDE clients.
  • Reuse existing gRPC authentication/authorization middleware for MCP servers.
  • Build language-agnostic MCP servers that can be called via any gRPC client.

FAQ from mcp-grpc-transport

Which MCP library does it support?

Only the metoro-io/mcp-golang library is currently supported.

How do I customize the server transport?

Use grpctransport.NewGrpcServerTransport() with options like grpctransport.WithPort(port) and grpctransport.WithGrpcOpts(...) to set interceptors, message size limits, and TLS credentials.

How do I connect my IDE to a remote server?

Configure your IDE’s MCP client to run the provided client tool, specifying the server address via the --address flag. Example for Cursor’s mcp.json: "command": "go", "args": ["run", "github.com/.../client@latest", "--address", "localhost:50051"].

What are the runtime dependencies?

The server depends on the metoro-io/mcp-golang library and gRPC (google.golang.org/grpc). Both are Go modules.

Does it support TLS?

Yes. Pass grpc.Creds(insecure.NewCredentials()) for testing or use proper TLS credentials via credentials.NewTLS(). The README recommends TLS in production.

评论

开发工具 分类下的更多 MCP 服务器