PreviewAPK
v1.1.1Give your AI agent a real cloud Android phone: push APKs, drive it, get screenshots and logs.
Values you need
| Variable | What it is | |
|---|---|---|
PREVIEWAPK_API_KEY | required 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
- Ask the user for: PREVIEWAPK_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (none) and that the values above are set.
Machine-readable: install.md · manifest.json