Handler interface
A handler includes McpAuthorization::DSL and implements two methods:
A handler includes McpAuthorization::DSL and implements two methods:
| Method | Purpose |
|---|---|
description | Tool description shown to the MCP client |
call(**params) | Execute the tool and return a result |
The DSL mixin provides initialize(server_context:), server_context, and can?(:flag).
The input schema is inferred from the #: annotation on def call. The output schema comes from @rbs type output. No separate schema definition needed.
Collected from README.md in the repository. Edit it there, not here.