hap-v3-api
Provides a comprehensive guide for using the Mingdao HAP V3 API to build pages and manipulate data effectively.
Install this skill
Security score
The hap-v3-api skill was audited on Feb 27, 2026 and we found 39 security issues across 4 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 239 | console.log(`未找到 ${currentIDE} 的 MCP 配置文件`); |
Template literal with variable interpolation in command context
| 260 | console.log(`✅ 从 ${currentIDE} 的 MCP 配置中提取到鉴权信息`); |
Fetch to external URL
| 81 | // fetch('https://api.mingdao.com/v3/open/worksheet/getFilterRows', ...) |
Access to hidden dotfiles in home directory
| 139 | - 检查配置目录:`~/.cursor`, `~/.claude`, `~/.trae` 等是否存在 |
Access to hidden dotfiles in home directory
| 149 | | **Claude Code** | `~/.claude/config.json` 或通过 `claude mcp list` 命令 | `.claude/config.json` | |
Access to hidden dotfiles in home directory
| 150 | | **Cursor** | `~/.cursor/mcp.json` 或 `~/Library/Application Support/Cursor/User/settings.json` (macOS) | `.cursor/mcp.json` | |
Access to hidden dotfiles in home directory
| 151 | | **TRAE** | `~/.trae/mcp.json` | `.trae/mcp.json` | |
Access to hidden dotfiles in home directory
| 152 | | **GitHub Copilot** | `~/.copilot/mcp.json` | `.github/mcp.json` | |
Access to hidden dotfiles in home directory
| 153 | | **Antigravity** | `~/.gemini/antigravity/config.json` | `.agent/config.json` | |
Access to hidden dotfiles in home directory
| 154 | | **OpenCode** | `~/.config/opencode/mcp.json` | `.opencode/mcp.json` | |
Access to hidden dotfiles in home directory
| 155 | | **Windsurf** | `~/.codeium/windsurf/mcp.json` | `.windsurf/mcp.json` | |
Access to hidden dotfiles in home directory
| 156 | | **Gemini CLI** | `~/.gemini/config.json` | `.gemini/config.json` | |
Access to hidden dotfiles in home directory
| 157 | | **Codex** | `~/.codex/config.toml` | `.codex/config.toml` | |
Access to hidden dotfiles in home directory
| 158 | | **Manus** | `~/.manus/mcp.json` | - | |
Access to hidden dotfiles in home directory
| 159 | | **Coze** | `~/.coze/mcp_config.json` | - | |
Access to .env file
| 193 | const termProgram = process.env.TERM_PROGRAM; |
Access to .env file
| 199 | if (process.env.CLAUDE_SESSION) return 'claude'; |
Access to .env file
| 200 | if (process.env.TRAE_SESSION) return 'trae'; |
Access to .env file
| 201 | if (process.env.ANTIGRAVITY_SESSION) return 'antigravity'; |
Access to .env file
| 204 | const homeDir = process.env.HOME || process.env.USERPROFILE; |
Access to .env file
| 215 | const homeDir = process.env.HOME || process.env.USERPROFILE; |
External URL reference
| 81 | // fetch('https://api.mingdao.com/v3/open/worksheet/getFilterRows', ...) |
External URL reference
| 106 | | **明道云 HAP** | `https://api.mingdao.com` | 官方 SaaS 服务 | |
External URL reference
| 107 | | **Nocoly HAP** | `https://www.nocoly.com` | Nocoly SaaS 服务 | |
External URL reference
| 108 | | **私有部署 HAP** | `https://your-domain.com/api` | ⚠️ **注意:私有部署需要在域名后加 `/api`** | |
External URL reference
| 111 | - 明道云:`https://api.mingdao.com/v3/open/worksheet/getFilterRows` |
External URL reference
| 112 | - Nocoly:`https://www.nocoly.com/v3/open/worksheet/getFilterRows` |
External URL reference
| 113 | - 私有部署:`https://p-demo.mingdaoyun.cn/api/v3/open/worksheet/getFilterRows` ← 注意 `/api` |
External URL reference
| 175 | "url": "https://api.mingdao.com/mcp?HAP-Appkey=6802bfa5da37d75f&HAP-Sign=MWZmZWU1YmMyMzE4ZTAxYjY3NTViYjM5NzhlNTdhOTIwZWFhYTc2Y2I2YzljNWMzNDFmMjk4NTM2N2M0YTg2OA==" |
External URL reference
| 333 | - [API 整体介绍](https://apifox.mingdao.com/7271706m0.md) |
External URL reference
| 334 | - [字段类型对照表](https://apifox.mingdao.com/7271709m0.md) |
External URL reference
| 335 | - [筛选器使用指南](https://apifox.mingdao.com/7271713m0.md) |
External URL reference
| 336 | - [错误码说明](https://apifox.mingdao.com/7271715m0.md) |
External URL reference
| 575 | "url": "https://example.com/brochure.pdf" |
External URL reference
| 586 | "downloadUrl": "https://...", // ⚠️ 使用 downloadUrl |
External URL reference
| 1042 | - [API 整体介绍](https://apifox.mingdao.com/7271706m0.md) |
External URL reference
| 1043 | - [字段类型对照表](https://apifox.mingdao.com/7271709m0.md) |
External URL reference
| 1044 | - [筛选器使用指南](https://apifox.mingdao.com/7271713m0.md) |
External URL reference
| 1045 | - [错误码说明](https://apifox.mingdao.com/7271715m0.md) |