npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

adb-mcp-tool

v0.0.2

Published

MCP server for Android Debug Bridge (ADB) operations

Downloads

11

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

License

MIT