Skip to content
LangChain

switch for LangChain

ai.switchapp/switch

Generate, manage and explore your Switch AI image and video library, scoped to your account.

client:LangChain transport:streamable-http tools:69

Install switch in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

What LangChain can do once it is connected

All 69 tools →

switch in other clients