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
- explore_models
- check_balance
- list_generations
- show_generation
- check_job_status
- show_media
- list_my_folders
- list_my_assets
- search_my_library
- get_my_active_references
- load_video_workflow
- load_workflow_playbook
- enhance_video_prompt
- quote_video
- suggest_speech_seconds
- apply_iphone_realism
- apply_movie_scene
- apply_high_fashion_editorial
- apply_graphic_editorial_portrait
- apply_travel
- apply_wellness
- apply_cinematic_anamorphic
- apply_magic_hour_portrait
- apply_product