Skip to content
LangChain

Kottos AI Account for LangChain

ai.kottos/account

Create and connect a Kottos AI gateway account from an agent, then see its usage and costs

client:LangChain transport:streamable-http

Install Kottos AI Account in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "account": {
            "transport": "streamable_http",
            "url": "https://account.kottos.ai/mcp",
        }
})

tools = await client.get_tools()

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

Kottos AI Account in other clients