Skip to content
LangChain

Ruby Anything for LangChain

io.github.akkisavi/ruby-anything

Migrate any app to Ruby on Rails one piece at a time, checked against the original's behavior.

client:LangChain transport:stdio runtime:npm

Install Ruby Anything in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "ruby-anything": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "ruby-anything"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Ruby Anything in other clients