PreviewAPK

v1.1.1
io.github.livetaub/previewapk Checked 2 days ago Published 1 month ago

Give your AI agent a real cloud Android phone: push APKs, drive it, get screenshots and logs.

Values you need

VariableWhat it is
PREVIEWAPK_API_KEYrequired secret Your PreviewAPK API key (starts with pvk_) from your account's Developers card in the portal.

Remote (hosted)

Run in a terminal
claude mcp add --transport http previewapk https://previewapk.siteport.site/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "previewapk": {
      "args": [
        "-y",
        "mcp-remote",
        "https://previewapk.siteport.site/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "previewapk": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://previewapk.siteport.site/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "previewapk": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://previewapk.siteport.site/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.previewapk]
command = "npx"
args = ["-y", "mcp-remote", "https://previewapk.siteport.site/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: PREVIEWAPK_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (none) and that the values above are set.

Machine-readable: install.md · manifest.json