Skip to content
LangChain

Thortspace for LangChain

cloud.thort/thortspace

Your Thortspace arrangements of Thorts, groups and pathsteps: read, build, share and publish them.

client:LangChain transport:streamable-http

Install Thortspace in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "thortspace": {
            "transport": "streamable_http",
            "url": "https://thort.cloud/mcp",
        }
})

tools = await client.get_tools()

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

Thortspace in other clients