ADB MCP Server

ADB MCP Server

A Model Context Protocol server that provides Android Debug Bridge functionality for automating Android devices, enabling remote device management, screen operations, app management, file operations, and shell command execution.

Category
Visit Server

README

ADB MCP

A Model Context Protocol (MCP) server that provides Android Debug Bridge (ADB) functionality for automating Android devices.

Features

Device Management

  • List connected devices
  • Get device information
  • Set default device for operations
  • Check device connection status

Screen Operations

  • Take screenshots
  • Click at coordinates
  • Swipe gestures
  • Input text
  • Press keys

App Management

  • Install/uninstall apps
  • Start/stop apps
  • List installed apps
  • Get app information

File Operations

  • Push files to device
  • Pull files from device
  • List files and directories
  • Create directories
  • Delete files

Shell Commands

  • Execute shell commands
  • Get system information
  • Get battery information
  • Get logcat output

Installation

  1. Clone the repository

  2. Install dependencies:

    npm install
    
  3. Build the project:

    npm run build
    

Usage

Prerequisites

  • Android Debug Bridge (adb) must be installed and available in PATH
  • Android device connected via USB with USB debugging enabled
  • Device must be authorized for debugging

Running the Server

npm start

Available Tools

Device Management

  • adb_list_devices - List all connected devices
  • adb_get_device_info - Get device information
  • adb_set_default_device - Set default device

Screen Operations

  • adb_screenshot - Take screenshot
  • adb_click - Click at coordinates
  • adb_swipe - Swipe gesture
  • adb_input_text - Input text
  • adb_press_key - Press key

App Management

  • adb_install_app - Install APK
  • adb_uninstall_app - Uninstall app
  • adb_start_app - Start app
  • adb_stop_app - Stop app
  • adb_list_apps - List installed apps

File Operations

  • adb_push_file - Push file to device
  • adb_pull_file - Pull file from device
  • adb_list_files - List files in directory

Shell Commands

  • adb_shell - Execute shell command
  • adb_get_system_info - Get system information
  • adb_get_battery_info - Get battery information
  • adb_get_logcat - Get logcat output

Security

The server includes basic security measures:

  • Dangerous shell commands are blocked
  • File path validation
  • Device connection verification
  • Input sanitization

Development

Build

npm run build

Development Mode

npm run dev

Lint

npm run lint

MCP

      "mcpServers": {
        "adb-mcp": {
          "type": "stdio",
          "command": "node",
          "args": [
            "/adb-mcp/dist/index.js"
          ],
          "env": {
            "ADB_DOWNLOAD_PATH": "/adb-mcp",
            "MCP_READ_PATH": "/adb-mcp"
          }
        }
      }

License

MIT

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