Skip to content
LangChain

Rowbit for LangChain

io.github.ermag/rowbit

Preview, approve and undo AI agents' writes to MariaDB and MySQL

client:LangChain transport:stdio runtime:oci

Install Rowbit in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "rowbit": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/ermag/rowbit:0.2.2"],
        }
})

tools = await client.get_tools()

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

Rowbit in other clients