HarmonyOS MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_appA | Get all installed packages on the device Returns: A list of all installed packages on the device as a string |
| launch_appC | launch app accrodingt to the given package name. Args: package_name: the package name of the package. |
| stop_appD | – |
| current_appA | Get the current foreground application information. Returns: Tuple[str, str]: A tuple contain the package_name andpage_name of the foreground application. If no foreground application is found, returns (None, None). |
| media_play_pauseA | Play or pause media on the phone. Sends the media play/pause keycode to control any currently active media. Can be used to play music or videos that were recently playing. Returns: str: Success message if the command was sent, or an error message if the command failed. |
| media_nextC | play the next media |
| media_previousB | play the previous media |
| volume_upB | turn up the volume |
| volume_downB | turn down the volume |
| volume_muteC | mute the volume |
| get_uilayoutA | Retrieves information about clickable elements in the current UI. Returns a formatted string containing details about each clickable element, including its text, content description, bounds, and center coordinates. Returns: str: A formatted list of clickable elements with their properties |
| get_screenshotA | Takes a screenshot of the device and returns it. Returns: Image: the screenshot |
| clickB | click the given coordinate Args: center: a string like "(x, y)", sample: "(227, 168)" |
| long_clickB | long click the given coordinate Args: center: a string like "(x, y)", sample: "(227, 168)" |
| swipeD | – |
| input_textC | input text to the given coordinate Args: center: a string like "(x, y)", sample: "(227, 168)" text: the text to input |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| system_prompt | System prompt description |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/XixianLiang/HarmonyOS-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server