Skip to content
LangChain

heliograph for LangChain

io.github.dbhq-uk/heliograph

Run commands on a machine you cannot SSH into. Air-gapped, bastion-only, change-controlled.

client:LangChain transport:stdio runtime:npm

Install heliograph in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

heliograph in other clients