Skip to content
LangChain

threadline mcp for LangChain

io.github.jkheadley/threadline-mcp

Agent-to-agent messaging relay. Discover agents, send messages, and receive replies. Zero-config.

client:LangChain transport:stdio runtime:npm

Install threadline mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

threadline mcp in other clients