devecocli-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PROJECT_PATH | No | Optional path to the HarmonyOS project. Defaults to workspace root or current directory. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| capability_searchA | 使用前请先加载 deveco-unified-mcp SKILL(仓库 SKILL.md 为操作手册:工作流与使用规范)。RAG 式检索精选能力注册表。任何 HarmonyOS 开发任务(构建、运行、日志、文档、技能…)都应先用它找到合适的能力,返回的能力卡含完整用法教学(参数/示例/避坑),随后用 capability_run 执行。 |
| capability_runA | 使用前请先加载 deveco-unified-mcp SKILL(仓库 SKILL.md 为操作手册:工作流与使用规范)。按能力 ID 执行(参数校验 → 调 devecocli 或技能市场 API)。能力 ID 通过 capability_search 或 capability_list 获取。构建/运行等操作耗时长,请耐心等待;失败信息通常已含解决提示。 |
| capability_listA | 使用前请先加载 deveco-unified-mcp SKILL(仓库 SKILL.md 为操作手册:工作流与使用规范)。列出能力注册表中的全部精选能力(可按分类筛选),供发现与总览。 |
| docs_searchA | 使用前请先加载 deveco-unified-mcp SKILL(仓库 SKILL.md 为操作手册:工作流与使用规范)。全文检索本地 2000+ 万字 HarmonyOS 官方文档(开发指南/API参考/最佳实践/FAQ/版本说明/变更预告)。编写 ArkTS/ArkUI 代码前遇到不确定的 API、组件、概念时先查文档。 |
| docs_readA | 使用前请先加载 deveco-unified-mcp SKILL(仓库 SKILL.md 为操作手册:工作流与使用规范)。按文档 ID 读取 HarmonyOS 官方文档完整内容(markdown)。文档 ID 来自 docs_search 结果的 documentId 字段。 |
| docs_catalogA | 使用前请先加载 deveco-unified-mcp SKILL(仓库 SKILL.md 为操作手册:工作流与使用规范)。列出官方文档库的分类(开发指南/API参考/最佳实践/FAQ/版本说明/变更预告)。 |
| docs_treeA | 使用前请先加载 deveco-unified-mcp SKILL(仓库 SKILL.md 为操作手册:工作流与使用规范)。浏览官方文档库目录树(分类→章节→页面,页面附标题),先目录定位再全文检索再读全文。页面路径即文档 ID,可直接用于 docs_read。 |
| skills_findA | 使用前请先加载 deveco-unified-mcp SKILL(仓库 SKILL.md 为操作手册:工作流与使用规范)。在 HarmonyOS 技能市场(matrix.openharmony.cn)搜索社区/官方专家技能包(多设备适配、崩溃定位、元服务开发等场景)。找到后可用 capability_run 的 skills.add 安装到智能体。 |
| statusA | 使用前请先加载 deveco-unified-mcp SKILL(仓库 SKILL.md 为操作手册:工作流与使用规范)。检查本服务运行环境:devecocli 是否安装、官方文档库是否就绪、当前鸿蒙工程检测、以及(可选)连接设备。首次接入时先调用它确认环境。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| harmonyos-dev | 引导 AI 使用统一 MCP 服务的完整工作流(检索→调用→查文档) |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| capability-registry | 全部精选能力的完整注册表(JSON) |
| harmonyos-guide | 统一 MCP 服务的完整操作指南(工作流与规则) |
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/kelai141/devecocli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server