Skip to main content

A powerful Android device control and automation platform with advanced Maestro UI testing integration and Model Context Protocol support

Project description

NexusController - Advanced Android Automation Platform

NexusController is a comprehensive and professional-grade Android device automation platform that bridges the gap between manual testing and continuous integration. Built for QA engineers, developers, and DevOps professionals, NexusController provides a unified solution for Android device control, UI automation, and test orchestration.

Key Features

  • Universal Device Control: Connect to and manage multiple Android devices simultaneously via ADB with robust error handling and device state management
  • Intelligent UI Automation: Create, record, and execute Maestro flows for reliable UI testing that survives app updates and device variations
  • Jupyter Integration: Leverage interactive Python notebooks for exploratory testing, automation script development, and results analysis
  • CI/CD Ready: Integrate with your continuous integration pipeline through command-line tools and GitHub Actions workflows
  • Model Context Protocol (MCP) Support: Seamlessly integrate with LLM tools and assistants via standard MCP interface
  • Comprehensive Reporting: Generate detailed HTML reports with screenshots, error logs, and performance metrics

Why NexusController?

  • Reliability: Built with robust error detection, recovery mechanisms, and logging to handle real-world testing scenarios
  • Flexibility: Works with any Android app or device without requiring code modifications or instrumentation
  • Productivity: Interactive menus, intuitive Jupyter interface, and reusable components accelerate test development
  • Enterprise Ready: Designed with security, scalability and commercial deployment requirements in mind
  • Developer-Focused: Clear documentation, modular architecture, and extensible design make it easy to adapt to your needs

Prerequisites

  • Python 3.8+
  • ADB (Android Debug Bridge) installed and in PATH
  • Connected Android device with USB debugging enabled
  • Maestro CLI (optional, for enhanced UI automation)

Quick Start

  1. Installation:
pip install nexuscontroller
  1. Basic Usage:
from nexuscontroller import AndroidController

# Initialize controller
controller = AndroidController()

# List connected devices
devices = controller.get_devices()

# Take a screenshot
controller.take_screenshot(devices[0])

# Run a UI test
controller.run_maestro_flow(devices[0], "flows/login_test.yaml")
  1. Interactive Mode:
python -m nexuscontroller

AI Integration

NexusController is designed to work seamlessly with AI assistants through the Model Context Protocol (MCP). You can integrate NexusController with your AI tools to automate mobile testing and device control.

Quick Integration Example

// mcp.json configuration for AI assistants
{
  "mcpServers": {
    "nexuscontroller": {
      "command": "python3",
      "args": ["start_mcp_server.py"],
      "transport": "stdio"
    }
  }
}

Commercial Use

NexusController is available under MIT license with special provisions for commercial use by large enterprises. See the LICENSE file for details.

Project Status

Project Completed!

The NexusController project has been successfully implemented with the following components:

  • Core Android device control functionality
  • Model Context Protocol (MCP) integration
  • Temporary file handling with proper permissions
  • Screenshot and screen recording capabilities
  • UI element inspection and manipulation
  • Maestro flow execution support

You can now build and release this library to PyPI.

Documentation

For full documentation, examples, and API reference, visit our documentation site.

Contributing

We welcome contributions from the community! See our contribution guidelines for more information.

Acknowledgments

  • Created and maintained by ankit1057
  • Powered by Maestro for UI automation
  • Inspired by the mobile testing needs of enterprise app development teams

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nexuscontroller-0.1.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexuscontroller-0.1.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file nexuscontroller-0.1.0.tar.gz.

File metadata

  • Download URL: nexuscontroller-0.1.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nexuscontroller-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ced6cc47f61d3833398a6ca8f684472c60104a7c8a9da8b099e603b2b94f80de
MD5 bcba3378f0d2774d266a8a89e20d9524
BLAKE2b-256 87efc935d065bbbe0e5084065cb7c7d0fd87f516f070deb6ae3605b7cd630033

See more details on using hashes here.

File details

Details for the file nexuscontroller-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nexuscontroller-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b353beac2a5ba1a535b7325ef1761fc27176edda5a64cfe244d4c041fa4d2d56
MD5 e016110615440cb6fc9cff11b685319e
BLAKE2b-256 148913aeb5e5414c6170f9ab73566c77eae5d63d082d1576609698b43d504d33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page