Skip to content
LangChain

gruntas for LangChain

io.github.gruntas/gruntas

Publishing from Gruntas, the coding agent harness, for any MCP client: screenshots, logs as links.

client:LangChain transport:stdio runtime:npm

Install gruntas in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "gruntas": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@gruntas/mcp"],
        }
})

tools = await client.get_tools()

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

gruntas in other clients