Enables wireless screenshot capture from Android devices over WiFi for UI debugging and visual inspection during development, with automatic device detection and connection capabilities.
Android Screenshot MCP Server
MCP server for taking screenshots of Android devices over WiFi. Useful for UI debugging and visual inspection during development.
Features
- Wireless screenshot capture via ADB
- Automatic device detection and connection
- Smart pairing for first-time setup
- UI/UX debugging and layout inspection
Setup
- Install dependencies:
- Add to Claude Code:
- Enable wireless debugging on your Android device:
- Settings → Developer Options → Wireless Debugging
- Note the IP address and ports shown
Usage
The tool automatically detects connected devices. If no device is connected, it will guide you through the setup.
Quick Usage
For already connected devices:
For new connections, provide the IP and port shown in your device's wireless debugging settings:
First-time Setup
If this is your first time connecting, you'll need to pair first:
The tool accepts several formats:
deviceIP: "192.168.1.100:41737"
- IP with port includeddeviceIP: "192.168.1.100", debugPort: 41737
- Separate parameters- Natural language like "192.168.1.100:41737 and pairing: 123456 port 54321"
Requirements
- Android 11+ device with wireless debugging
- ADB installed on your computer
- Same WiFi network for both devices
Troubleshooting
"Maximum call stack size exceeded" Error
This error has been fixed in the latest version. If you still encounter it, ensure you're running the latest code.
Connection Issues
- Verify wireless debugging is enabled on your device
- Check that the IP address and port match what's shown on your device
- Make sure both devices are on the same WiFi network
- Try disabling and re-enabling wireless debugging
- Note: The wireless debugging port changes when you toggle it off/on
Pairing Issues
- Pairing codes expire quickly (usually within 2 minutes)
- Generate a fresh pairing code right before using it
- The pairing port is different from the wireless debugging port
- Once paired, you shouldn't need to pair again unless you reset connections
How it Works
The tool uses wireless ADB connections and remembers your last successful connection for convenience. Each screenshot session will:
- Check for already connected devices first
- If none found, try to reconnect to the last used device automatically
- If that fails, prompt for connection details
- Successfully connected devices are saved to
~/.android-screenshot-mcp/config.json
This means after your first successful connection, the tool can often reconnect automatically without needing the IP and port again.
Enables capturing screenshots from Android devices over WiFi for UI debugging and visual inspection during app development.
Related MCP Servers
- AsecurityAlicenseAqualityProvides screenshot and OCR capabilities for macOS.Last updated -13510JavaScriptMIT License
- AsecurityAlicenseAqualityEnables capturing high-quality native macOS screenshots using Safari through a Node.js server, supporting various sizes, zoom levels, and load wait times.Last updated -17TypeScriptMIT License
- -securityFlicense-qualityEnables AI tools to capture and process screenshots of a user's screen, allowing AI assistants to see and analyze what the user is looking at through a simple MCP interface.Last updated -1Python
- -securityFlicense-qualityCaptures screenshots and saves them to file paths specified by client applications, primarily designed to facilitate screenshot analysis by AI assistants running in WSL environments.Last updated -Python