MCP.so
Sign In
Servers

Mcproto

@wassson

Easily run or chain together MCP servers alongside your normal Ruby logic.

Overview

What is Mcproto?

Mcproto is a Ruby gem that allows you to chain MCP servers and auxiliary Ruby code together for custom solutions. It is designed for developers who need to build and combine MCP servers with custom logic.

How to use Mcproto?

Install the gem (not yet publicly available as of README), then create an initializer file config/initializers/mcproto.rb where you instantiate servers using MCProto::Server.new with server classes, host, and port. Servers can include MCProto to define resources, tools, and call blocks, or use MCProto::Chain to chain multiple servers together.

Key features of Mcproto

  • Chain multiple MCP servers and custom Ruby code.
  • Each server accesses a shared context object.
  • Define resources, tools, and call logic per server.
  • Server classes can be run standalone or chained.
  • Supports delegation to context for data sharing.

Use cases of Mcproto

  • Build a custom MCP server that triggers actions based on email mentions.
  • Chain a sequence of servers where each adds data to a shared context.
  • Integrate auxiliary Ruby operations alongside MCP server endpoints.

FAQ from Mcproto

What is Mcproto and how does it differ from other MCP servers?

Mcproto is a Ruby gem for chaining MCP servers with custom code. It distinguishes itself by allowing multiple servers to share a context object and run in sequence.

What are the dependencies or runtime requirements?

Mcproto is a Ruby gem, so a Ruby runtime is required. The gem is not yet publicly available.

Where does data live in Mcproto?

Data flows through a context object that is shared chained servers. Each server can read from and write to this context.

What transports does Mcproto support?

The README does not specify transport protocols. Servers are configured with a host and port, but no transport details are given.

Is Mcproto publicly available?

No, the README states the gem has not been made public yet (TODO).

More from Other