Harmonyos MCP Server

MCP server for HarmonyOS development - interact with projects, devices, and applications

Local serverstdioTypeScript

What is the Harmonyos MCP Server?

MCP server for HarmonyOS development - interact with projects, devices, and applications

What the server does

A Model Context Protocol (MCP) server for HarmonyOS development. This server enables AI assistants like Claude to interact with HarmonyOS projects, devices, and applications.

  • Device Management — List and query connected HarmonyOS devices
  • Project Information — Read project configuration, modules, and build outputs
  • Application Management — List and inspect installed applications on devices
  • Build Verification — Check build outputs and project structure

Credentials and setup notes

  • Node.js 18+ - HarmonyOS DevEco Studio (for hdc command-line tools) - hdc must be available in your PATH

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
harmonyos_list_devices
harmonyos_get_device_info
harmonyos_get_project_info
harmonyos_list_modulesList all modules in a project with their types (HAP/HSP/HAR).
harmonyos_check_build_outputs
harmonyos_list_installed_apps
harmonyos_get_app_info

How to install the Harmonyos MCP Server

{
  "mcpServers": {
    "harmonyos": {
      "command": "mcp-harmonyos"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js 18+ - HarmonyOS DevEco Studio (for hdc command-line tools) - hdc must be available in your PATH

Example prompts to try

  • “Use Harmonyos to harmonyos list devices.”
  • “Use Harmonyos to harmonyos get device info.”
  • “Use Harmonyos to harmonyos get project info.”

Frequently asked questions

MCP server for HarmonyOS development - interact with projects, devices, and applications Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.