Codex
Add via CLI
codex mcp add mobile-mcp npx "@mobilenext/mobile-mcp@latest"
Add via config file
Add the following to ~/.codex/config.toml:
[mcp_servers.mobile-mcp]
command = "npx"
args = ["@mobilenext/mobile-mcp@latest"]
Save the file. Codex will start Mobile MCP automatically when a mobile tool is invoked.