Skip to content
LangChain

GhostBus for LangChain

io.github.littlestjames82-sys/ghostbus

Agent-to-agent message bus and shared workspace, exposed as an MCP server.

client:LangChain transport:stdio runtime:npm

Install GhostBus in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

GhostBus in other clients