class RubyLLM::MCP::Collection

The MCP servers connected to a chat, readable by name.

chat.with_mcp(Linear.new(user: current_user))
chat.mcp.linear     # => #<Linear ...>
chat.mcp[:linear]   # => #<Linear ...>
chat.mcp.map(&:name) # => ["linear"]