Devicebase MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Devicebase MCP Serverlist available devices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Devicebase MCP Server
MCP (Model Context Protocol) server for remote mobile device control via Devicebase API.
Features
Device Management: List devices, get device info
Touch Interactions: Tap, double-tap, long-press, swipe
Navigation: Back, Home buttons
App Management: Launch apps, get current app
Text Input: Input text, clear text
UI Inspection: Dump hierarchy, screenshot
Related MCP server: AutoBot MCP
Requirements
Python 3.11+
Devicebase API key
Installation
# Using uv (recommended)
uv sync
# Using pip
pip install -e .Configuration
Set your Devicebase API key via environment variable:
export DEVICEBASE_API_KEY="your-api-key"
export DEVICEBASE_BASE_URL="https://api.devicebase.cn" # Optional, default providedUsage
Standalone Server
DEVICEBASE_API_KEY=your-key uv run python -m devicebase_mcpClaude Code
Add to .claude/settings.json:
{
"mcpServers": {
"devicebase": {
"command": "uv",
"args": ["run", "python", "-m", "devicebase_mcp"],
"env": {
"DEVICEBASE_API_KEY": "${DEVICEBASE_API_KEY}"
}
}
}
}VS Code
Add to .vscode/mcp.json:
{
"servers": {
"devicebase": {
"command": "uv",
"args": ["run", "python", "-m", "devicebase_mcp"],
"env": {
"DEVICEBASE_API_KEY": "${DEVICEBASE_API_KEY}"
}
}
}
}Available Tools
Tool | Description |
| List available devices |
| Get device details |
| Single tap at coordinates |
| Double tap |
| Long press |
| Swipe gesture |
| Press back button |
| Press home button |
| Launch an app |
| Get foreground app |
| Input text |
| Clear text field |
| Get UI tree |
| Get screen capture |
Development
# Install with dev dependencies
uv sync --extra dev
# Run tests
pytest
# Lint
ruff check .
# Format
ruff format .License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Drive real devices from your AI Coding tool. Embed a client SDK (Unity, Godot, Flutter, iOS/macOS, Android, React Native, Web) in your app, then capture screenshots, traverse the UI tree, inject taps and key events, and run automated test tasks on the physical device over a secure relay.
Control real Android and iOS devices with LLM agents — tap, swipe, type, automate flows.
remote debug iOS/Android/Unity/Godot/Flutter/RN/Web on real-device.ui-tree/screenshots/taps,tests.
Drive real Android & iOS devices and web browsers from natural language for mobile + web QA. 290+ tools across device control, app management, automation sessions, browser automation, and flow recording / replay. Bearer-auth — get a token at robotactions.com → Profile → API Tokens.
Related MCP Servers
AlicenseBqualityAmaintenanceEnables AI assistants to automate mobile app testing and development for iOS and Android through natural language interactions. Supports intelligent element identification, session management, automated test generation, and comprehensive device interactions including clicks, swipes, screenshots, and app management.315,170 npm477Apache 2.0- FlicenseBqualityDmaintenanceEnables remote control and automation of Android devices through the Model Context Protocol, supporting UI interactions, app management, ADB commands, screenshots, and device information retrieval via AutoBot API.53-
- AlicenseAqualityBmaintenanceEnables AI assistants to control mobile and desktop devices with natural language, including running automation tasks, taking screenshots, and managing devices.65 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables remote control of Android devices via ADB, including screen operations, input, app management, file transfer, and advanced tools like UI testing and performance analysis.24MIT