Module: Mewmew::ThorMcpExtension::ClassMethods
- Defined in:
- lib/mewmew/mcp_integration.rb
Instance Method Summary collapse
-
#add_mcp_command(**server_options) ⇒ Object
Add the mcp command to the Thor class.
Instance Method Details
#add_mcp_command(**server_options) ⇒ Object
Add the mcp command to the Thor class
74 75 76 77 78 79 |
# File 'lib/mewmew/mcp_integration.rb', line 74 def add_mcp_command(**) desc "mcp", "Start MCP (Model Context Protocol) server to expose CLI commands as tools" define_method :mcp do Mewmew.serve_cli(self.class, **) end end |