Flyto2 Runtime for LangChain
io.github.flytohub/flyto-runtime
Self-hosted MCP runtime for ChatGPT to edit files, run commands, and test local projects.
client:LangChain
transport:streamable-http
Install Flyto2 Runtime in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"flyto-runtime": {
"transport": "streamable_http",
"url": "https://{runtime_host}/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs