switchfile for LangChain
io.switchfile/switchfile
Convert local files and URLs between formats: video, audio, images, documents, ebooks and more.
client:LangChain
transport:streamable-http
runtime:npm
Install switchfile in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"switchfile": {
"transport": "streamable_http",
"url": "https://mcp.switchfile.io/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs