Module: Raix::MCP

Extended by:
ActiveSupport::Concern
Defined in:
lib/raix/mcp.rb,
lib/mcp/tool.rb,
lib/mcp/sse_client.rb,
lib/mcp/stdio_client.rb

Overview

Model Context Protocol integration for Raix

Allows declaring MCP servers with a simple DSL that automatically:

  • Queries tools from the remote server

  • Exposes each tool as a function callable by LLMs

  • Handles transcript recording and response processing

Defined Under Namespace

Classes: ProtocolError, SseClient, StdioClient, Tool

Constant Summary collapse

JSONRPC_VERSION =
"2.0".freeze