Skip to content
LangChain

flespi MCP by usefulapi for LangChain

io.usefulapi/flespi

Read devices, telemetry, messages and geofences; create and update devices in flespi.

client:LangChain transport:streamable-http tools:11

Install flespi MCP by usefulapi in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "flespi": {
            "transport": "streamable_http",
            "url": "https://flespi.usefulapi.io/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

flespi MCP by usefulapi in other clients