Skip to main content
Glama

AutoGLM MCP Server

Android screen analysis capabilities via MCP protocol.

Installation

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-mcp

Then 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: Android MCP Server

Environment Variables

Variable

Description

Default

AUTOGLM_APIKEY

API key (required)

-

AUTOGLM_BASE_URL

API endpoint

https://api.z.ai/api/paas/v4

AUTOGLM_MODEL

Model name

autoglm-phone-multilingual

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 devices shows your device)

Install from Source

cd mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

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.server

Then open http://localhost:6274 in your browser:

  1. Click Connect to connect to the server

  2. Switch to the Tools tab — you should see the aiAsk tool

  3. Enter a question (e.g. "What is on the screen?") and click Run Tool

  4. Inspect 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"
  }
}
A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    C
    maintenance
    Enables 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.
    9
    5
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI assistants to interact with Android devices and emulators via ADB, providing tools for screenshots, UI inspection, touch and text input, app management, and device control.
    42
    100
    17
    MIT

View all related MCP servers

Related MCP Connectors

  • AI visual generation agent: multi-pipeline rendering, prompt crafting, and image composition.

  • E2LLM gives your AI eyes and hands in a real browser: structured perception (SiFR) plus action.

  • Turns any agent into a full agentic application — branded, interactive screens generated at runtime.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xiangaoole/autoglm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server