feat: command & mcp

This commit is contained in:
2026-03-08 15:24:46 +08:00
parent be3d633301
commit b994f43bc7
2 changed files with 29 additions and 0 deletions

14
.claude/commands/run.md Normal file
View File

@@ -0,0 +1,14 @@
清理构建缓存,重新打包 Debug 版本,安装到 Android 设备并启动应用
先检查是否有已连接的设备,然后执行清理、构建、安装并启动应用。
```bash
# 检查设备连接
adb devices -l
# 清理 + 安装
./gradlew clean installDebug
# 启动应用(通过 Launcher Intent
adb shell monkey -p com.lukouguoji.aerologic -c android.intent.category.LAUNCHER 1
```

15
.mcp.json Normal file
View File

@@ -0,0 +1,15 @@
{
"mcpServers": {
"apifox": {
"command": "npx",
"args": [
"-y",
"apifox-mcp-server@latest",
"--project-id=7382863"
],
"env": {
"APIFOX_ACCESS_TOKEN": "APS-S2aVVwqasbdByzPLgSqryRC8BB0ZFqhQ"
}
}
}
}