Android Screenshot MCP Server

Android Screenshot MCP Server

Enables capturing screenshots from Android devices over WiFi for UI debugging and visual inspection during app development.

Category
Visit Server

Tools

screenshot

Take a screenshot of any connected Android device. Uses existing ADB connections or connects wirelessly if device info provided.

connect_and_screenshot

Connect to an Android device and take a screenshot. Use when no device is connected.

README

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

  1. Install dependencies:

    npm install
    
  2. Add to Claude Code:

    claude mcp add android /path/to/android-screenshot-mcp/src/index.js
    
  3. 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:

screenshot phone

For new connections, provide the IP and port shown in your device's wireless debugging settings:

screenshot phone with 192.168.1.100:41737

First-time Setup

If this is your first time connecting, you'll need to pair first:

screenshot phone with 192.168.1.100:41737 and pairing code 123456 port 54321

The tool accepts several formats:

  • deviceIP: "192.168.1.100:41737" - IP with port included
  • deviceIP: "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:

  1. Check for already connected devices first
  2. If none found, try to reconnect to the last used device automatically
  3. If that fails, prompt for connection details
  4. 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured