class

ActionMCP::Server

Inherits Reference < Object

Class methods

__execute_tool(name : String, args : JSON::Any) : ActiveAgent::ToolResult
Source
__fields_for(name : String) : Array(Tuple(String, String, Bool))
Source
__scope_for(name : String) : Symbol
Source
__server_name
Source
__server_version
Source
__tool_metas

Bare server (no tools call): empty but valid endpoint.

Source
__tool_names
Source

Macros

server_name(name)
Source
server_version(version)
Source
tools(*entries)

tools Foo, Bar, agent(SupportAgent, "description") — the exposed surface. Compile-time dispatch (the ActiveAgent::Base#tools pattern): metas for tools/list, a case-dispatcher for tools/call, scope lookup for the Gateway. No runtime reflection.

Source