Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for HarmonyOS development - interact with projects, devices, and applications
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"harmonyos": {
"command": "npx",
"args": [
"-y",
"mcp-harmonyos"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add harmonyos -- npx -y mcp-harmonyosวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"harmonyos": {
"command": "npx",
"args": [
"-y",
"mcp-harmonyos"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"harmonyos": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-harmonyos"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub FadingLight9291117 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.3) เข้า registry 9 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, FlyDocs
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
hdc must be available in your PATHnpm install -g mcp-harmonyos
npx mcp-harmonyos
Add to your ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json", "mcp": { "harmonyos": { "type": "local", "command": ["npx", "-y", "mcp-harmonyos"], "enabled": true } } }
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" } } }
harmonyos_list_devicesList all connected HarmonyOS devices.
Returns: Array of devices with UDID and status
[
{ "udid": "7001005458323933328a01bcf4251a00", "status": "connected" } ]
harmonyos_get_device_infoGet detailed information about a specific device.
Parameters:
deviceId (string): The device UDIDReturns: 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" }
harmonyos_get_project_infoGet HarmonyOS project information from app.json5.
Parameters:
projectPath (string): Absolute path to the HarmonyOS project rootReturns: 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_modulesList all modules in a project with their types (HAP/HSP/HAR).
Parameters:
projectPath (string): Absolute path to the HarmonyOS project rootReturns: 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_outputsCheck if build outputs exist and list them.
Parameters:
projectPath (string): Absolute path to the HarmonyOS project rootReturns: 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"] }
harmonyos_list_installed_appsList all installed applications on a device.
Parameters:
deviceId (string): The device UDIDReturns: Array of installed applications
[
{ "bundleName": "com.example.myapp", "versionCode": "1000000", "versionName": "1.0.0" } ]
harmonyos_get_app_infoGet detailed information about an installed application.
Parameters:
deviceId (string): The device UDIDbundleName (string): The application bundle nameReturns: 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 }
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"
This MCP server follows the "lightweight query + external operations" pattern:
This design ensures:
git clone <your-repo>
cd mcp-harmonyos npm install npm run build npm start
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
Make sure DevEco Studio is installed and hdc is in your PATH:
# macOS/Linux
export PATH="$PATH:/path/to/deveco-studio/tools"
set PATH=%PATH%;C:\path\to\deveco-studio\tools
hdc list targets to verify connectionMake sure you provide the absolute path to the project root directory (where AppScope/app.json5 is located).
MIT
Contributions are welcome! Please feel free to submit a Pull Request.