Skip to content
LangChain

iOS Web Bluetooth (WebBLE) for LangChain

io.github.wklm/ios-web-bluetooth

MCP server to ship Web Bluetooth on iPhone Safari via the WebBLE extension.

client:LangChain transport:stdio runtime:npm

Install iOS Web Bluetooth (WebBLE) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "ios-web-bluetooth": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@ios-web-bluetooth/mcp"],
        }
})

tools = await client.get_tools()

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

iOS Web Bluetooth (WebBLE) in other clients