autoglm-mcp
Provides screen analysis capabilities for Android devices via ADB, enabling AI agents to ask questions about the screen content and receive coordinates or instructions.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
AutoGLM MCP Server
Android screen analysis capabilities via MCP protocol.
Installation
Option 1: Using uvx (Recommended)
No manual installation required. Just add to AI agent MCP config:
{
"mcpServers": {
"autoglm-mcp": {
"command": "uvx",
"args": ["autoglm-mcp"],
"env": {
"AUTOGLM_BASE_URL": "https://api.z.ai/api/paas/v4",
"AUTOGLM_MODEL": "autoglm-phone-multilingual",
"AUTOGLM_APIKEY": "your-api-key-here"
}
}
}
}Option 2: pip install
pip install autoglm-mcpThen configure AI agent MCP:
{
"mcpServers": {
"autoglm-mcp": {
"command": "autoglm-mcp",
"env": {
"AUTOGLM_BASE_URL": "https://api.z.ai/api/paas/v4",
"AUTOGLM_MODEL": "autoglm-phone-multilingual",
"AUTOGLM_APIKEY": "your-api-key-here"
}
}
}
}Related MCP server: autoglm-mcp-server
Environment Variables
Variable | Description | Default |
| API key (required) | - |
| API endpoint |
|
| Model name |
|
Usage
Ensure your phone is connected via ADB, then use the aiAsk tool in AI agent:
"What are the coordinates to click the search button?"
"How do I open Settings?"
Local Development & Debugging
Prerequisites
Python >= 3.10
Node.js >= 18 (for MCP Inspector)
ADB installed and phone connected (
adb devicesshows your device)
Install from Source
cd mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtMCP Inspector (Recommended)
MCP Inspector is the official visual debugging tool for MCP servers — like Postman for MCP.
npx @modelcontextprotocol/inspector \
-e AUTOGLM_APIKEY="your-api-key-here" \
-e AUTOGLM_BASE_URL="https://api.z.ai/api/paas/v4" \
-e AUTOGLM_MODEL="autoglm-phone-multilingual" \
-- \
/path/to/file/mcp/.venv/bin/python -m autoglm_mcp.serverThen open http://localhost:6274 in your browser:
Click Connect to connect to the server
Switch to the Tools tab — you should see the
aiAsktoolEnter a question (e.g.
"What is on the screen?") and click Run ToolInspect the JSON-RPC request/response in the left panel
Use local mcp server
"autoglm-mcp": {
"command": "/path/to/file/mcp/.venv/bin/python",
"args": [
"-m",
"autoglm_mcp.server"
],
"env": {
"AUTOGLM_BASE_URL": "https://api.z.ai/api/paas/v4",
"AUTOGLM_MODEL": "autoglm-phone-multilingual",
"AUTOGLM_APIKEY": "xxx"
}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloud Android phones for AI agents: create a phone, read the screen, tap, type, install APKs, park.
Cloud Android phones for AI agents: give phones a task in plain words and get the answer
Give your AI agent a real cloud Android phone: push APKs, drive it, get screenshots and logs.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI agents to interact with Android devices through UI manipulation, screen capture, touch gestures, text input, and app management via ADB. Provides comprehensive mobile automation capabilities including element detection, navigation, and application control for Android device testing and interaction.961 PyPI2-
- AlicenseAqualityDmaintenanceEnables AI models to control Android devices via ADB through natural language commands, supporting screen analysis and automated actions.346 npmMIT
- AlicenseBqualityDmaintenanceEnables AI agents to control Android devices via ADB, supporting gestures, input, screenshots, UI analysis, and app management.1914 npm1ISC
- AlicenseNot gradedqualityDmaintenanceEnables coding agents to observe and operate Android devices through ADB and uiautomator2, supporting screenshot capture, UI hierarchy access, and actions like tap, swipe, and text input.2Apache 2.0