Skip to content
LangChain

Mobile Device MCP for LangChain

io.github.srmorete/mobile-device-mcp

Control iOS and Android devices with multi-device and seamless Native/WebView support.

client:LangChain transport:stdio runtime:npm

Install Mobile Device MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mobile-device-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@srmorete/mobile-device-mcp"],
        }
})

tools = await client.get_tools()

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

Mobile Device MCP in other clients