プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Harmonyos

作者:FadingLight9291117バージョン 1.0.3i★ –iパソコンで動く
レジストリ名io.github.FadingLight9291117/harmonyos

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "harmonyos": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-harmonyos"
      ]
    }
  }
}

ターミナルでこれを実行します

claude mcp add harmonyos -- npx -y mcp-harmonyos

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "harmonyos": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-harmonyos"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "harmonyos": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-harmonyos"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント FadingLight9291117 で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32568件のうち0%よりスターが多い
  • このカテゴリのほかの32568件のうち2%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32568件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Harmonyosは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.3)がレジストリに届いたのは9 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, FlyDocs

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211昨日更新
インストール

FlyDocs

作者:flydocs.ai

Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.

パソコンで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

MCP HarmonyOS

npm: https://www.npmjs.com/package/mcp-harmonyos

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

Features

  • 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

Prerequisites

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

Installation

Global Installation (Recommended)
npm install -g mcp-harmonyos
Or use with npx
npx mcp-harmonyos

Configuration

For OpenCode

Add to your ~/.config/opencode/opencode.json:

{

"$schema": "https://opencode.ai/config.json", "mcp": { "harmonyos": { "type": "local", "command": ["npx", "-y", "mcp-harmonyos"], "enabled": true } } }

For Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

{

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

Available Tools

Device Management
harmonyos_list_devices

List all connected HarmonyOS devices.

Returns: Array of devices with UDID and status

[

{ "udid": "7001005458323933328a01bcf4251a00", "status": "connected" } ]

harmonyos_get_device_info

Get detailed information about a specific device.

Parameters:

  • deviceId (string): The device UDID

Returns: Device information including model, manufacturer, OS version, etc.

{

"udid": "7001005458323933328a01bcf4251a00", "model": "HUAWEI Mate 60 Pro", "brand": "HUAWEI", "manufacturer": "HUAWEI", "osVersion": "4.0.0", "sdkVersion": "11", "buildId": "Mate60Pro 4.0.0.96" }

Project Information
harmonyos_get_project_info

Get HarmonyOS project information from app.json5.

Parameters:

  • projectPath (string): Absolute path to the HarmonyOS project root

Returns: Project metadata including bundleName, version, and modules

{

"bundleName": "com.example.myapp", "versionCode": 1000000, "versionName": "1.0.0", "minCompatibleVersionCode": 1000000, "targetAPIVersion": 11, "modules": ["entry", "library"] }

harmonyos_list_modules

List all modules in a project with their types (HAP/HSP/HAR).

Parameters:

  • projectPath (string): Absolute path to the HarmonyOS project root

Returns: Array of modules with name, type, and path

[

{ "name": "entry", "type": "HAP", "path": "/path/to/project/entry", "srcPath": "entry" }, { "name": "library", "type": "HSP", "path": "/path/to/project/library", "srcPath": "library" } ]

harmonyos_check_build_outputs

Check if build outputs exist and list them.

Parameters:

  • projectPath (string): Absolute path to the HarmonyOS project root

Returns: Build output information

{

"hasOutputs": true, "outputDir": "/path/to/project/outputs", "files": ["entry-default-signed.hap", "library-default-signed.hsp"], "haps": ["entry-default-signed.hap"], "hsps": ["library-default-signed.hsp"] }

Application Management
harmonyos_list_installed_apps

List all installed applications on a device.

Parameters:

  • deviceId (string): The device UDID

Returns: Array of installed applications

[

{ "bundleName": "com.example.myapp", "versionCode": "1000000", "versionName": "1.0.0" } ]

harmonyos_get_app_info

Get detailed information about an installed application.

Parameters:

  • deviceId (string): The device UDID
  • bundleName (string): The application bundle name

Returns: Detailed application information

{

"bundleName": "com.example.myapp", "versionCode": "1000000", "versionName": "1.0.0", "uid": "20010044", "installTime": "2026-02-15 10:30:00", "updateTime": "2026-02-15 10:30:00", "isSystemApp": false, "isRemovable": true }

Usage Examples

With OpenCode

After configuring the MCP server, you can ask OpenCode questions like:

"List all connected HarmonyOS devices"

"What's the bundleName of the project in /path/to/my/project?" "Check if there are build outputs in my project" "List all installed apps on device 7001005458323933328a01bcf4251a00" "Show me information about com.example.myapp on my device"

OpenCode will use the MCP tools to query information and can combine them with bash commands for building and deploying:

"Build the project and deploy to device"

OpenCode will:

1. Use harmonyos_get_project_info to get bundleName

2. Use bash: hvigorw assembleApp --no-daemon

3. Use harmonyos_check_build_outputs to verify

4. Use bash: hdc file send and bm install to deploy

5. Use bash: aa start to launch the app

Design Philosophy

This MCP server follows the "lightweight query + external operations" pattern:

  • MCP tools provide fast, structured queries (device info, project metadata, app status)
  • Bash commands handle long-running operations (building, deploying)
  • AI assistants intelligently combine both for complete workflows

This design ensures:

  • ✅ Fast response times (all queries < 1 second)
  • ✅ No timeout issues with long builds
  • ✅ Clear error messages and logs
  • ✅ Easy to maintain and extend

Development

Build from Source
git clone <your-repo>

cd mcp-harmonyos npm install npm run build npm start

Project Structure
mcp-harmonyos/

├── src/ │ ├── server.ts # Main MCP server implementation │ └── types/ │ └── harmonyos-types.ts # TypeScript type definitions ├── build/ # Compiled JavaScript output ├── package.json ├── tsconfig.json └── README.md

Troubleshooting

"hdc command not found"

Make sure DevEco Studio is installed and hdc is in your PATH:

# macOS/Linux

export PATH="$PATH:/path/to/deveco-studio/tools"

Windows

set PATH=%PATH%;C:\path\to\deveco-studio\tools

"No devices connected"
  1. Enable Developer Options on your device (tap Build Number 7 times)
  2. Enable USB Debugging
  3. Connect device via USB
  4. Run hdc list targets to verify connection
"app.json5 not found"

Make sure you provide the absolute path to the project root directory (where AppScope/app.json5 is located).

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Related Resources

PopNxに聞く