Class: GemCP::Tools::Base
- Inherits:
-
FastMcp::Tool
- Object
- FastMcp::Tool
- GemCP::Tools::Base
- Defined in:
- lib/gemcp/tools/base.rb
Overview
Base class for all MCP tools. Provides client injection, error handling via dry-monads, and rendering to MCP response format.
Direct Known Subclasses
CheckCompatibility, CompareVersions, DependencyGraph, GetContext, GetGem, GetOwners, GetReleasesBetween, GetVersion, ListVersions, ReverseDependencies, SearchGems
Instance Method Summary collapse
-
#initialize(client: nil, headers: {}) ⇒ Base
constructor
A new instance of Base.