Skip to content

Auto Deriving Tools from Rails Classes #46

Description

@mmbarness

This project is great! Going to recommend we implement it at work to enable llms to interface directly with our application for all sorts of eventual purposes. I could go on about how excited I am about this whole new class of application layers.

Anyways, I have a working version of this gem locally that auto derives basic methods like #find, #find_by, and allows users to expose model and controller actions individually as well, e.g.

Model < ActiveRecord 

  expose_to_mcp :some_method

end

Is that something you'd be interested in? I think there's a lot of interest (or at least from me) in leveraging existing interfaces for tool-calling, rather than creating entirely new ones.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions