- Home
- MCP servers
- Android
Android
- python
4
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"shenghaiwang-androidbuild": {
"command": "uvx",
"args": [
"mcpandroidbuild"
]
}
}
}You can run the Android Project MCP Server to automate building and testing Android projects through MCP clients. It provides commands to build, run unit tests, and execute instrumented tests, enabling a seamless workflow when you integrate with editors like Visual Studio Code through MCP-compatible extensions.
How to use
You use an MCP client to start the Android project MCP server. Choose the installation method you prefer, then run the server with the corresponding command. Once the server is running, you can trigger builds, unit tests, or instrumented tests by sending the appropriate actions from your MCP client, always pointing to the full path of your Android project folder when requested.
How to install
Prerequisites: ensure you have a runtime available to execute MCP servers. The server can be run via uvx or via Python’s pip package manager.
Option A — Install and run using uvx (recommended):
uvx
# Then run the MCP server entry
# The MCP server entry is provided by the mcpandroidbuild tool
Option B — Install and run via Python package (pip):
pip install mcpandroidbuild
# Run the MCP server as a module
python -m mcpandroidbuild
Configuration
Configure your MCP client to connect to the Android Project MCP Server using one of the supported runtimes. If you are using uvx, you can run the server with the standard mcpandroidbuild entry. If you installed via Python, run the module as shown in the instructions above.
Configuration examples for the MCP client (Claude app) are shown here so you can copy them directly into your client settings.
"mcpServers": {
"mcpandroidbuild": {
"command": "uvx",
"args": ["mcpandroidbuild"]
}
}
"mcpServers": {
"mcpandroidbuild": {
"command": "python",
"args": ["-m", "mcpandroidbuild"]
}
}
Available tools
build
Compiles the Android project in the current folder, producing a built artifact set ready for testing or deployment.
test
Runs unit tests for the Android project located in the current folder.
instrumentedTest
Executes instrumented tests on the Android project in the current folder.