ActionController::MCPServer::Endpoint
Inherits YAML::Serializable < JSON::Serializable < Reference < Object
a controller served as its own MCP server, @[AC::MCP(endpoint: true)].
Every tool and prompt is listed, there are no toolboxes to open
Constructors
new(path : String, bound : Array(String), toolbox : ActionController::MCPServer::Toolbox, instructions_path : Nil | String = nil)
Sourcenew(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceClass methods
Instance methods
instructions_path
the internal route of the controller's instructions method, which builds the
instructions for each session, i.e. /accounts/:account_id/__mcp_instructions__