安卓项目MCP服务器
一个模型上下文协议服务器,用于构建Android项目,使用Cline或Roo Code等扩展在Visual Studio Code中实现与Android项目的无缝工作流。
可用工具
build-构建Android项目
- folder (string,必填):Android项目所在的当前文件夹的完整路径
test-运行单元测试
- folder (string,必填):Android项目所在的当前文件夹的完整路径
instrumentedTest-运行仪器测试
- folder (string,必填):Android项目所在的当前文件夹的完整路径
安装
使用紫外线(推荐)
使用时 uv 不需要特定的安装。我们将 使用 uvx 直接运行 *mcpandroidbuild*.
使用PIP
或者,您可以安装 mcpandroidbuild 通过pip:
pip install mcpandroidbuild安装后,您可以使用以下命令将其作为脚本运行:
python -m mcpandroidbuild配置
为Claude.app进行配置
添加到您的Claude设置中:
Using uvx
"mcpServers": {
"mcpandroidbuild": {
"command": "uvx",
"args": ["mcpandroidbuild"]
}
}Using pip installation
"mcpServers": {
"mcpandroidbuild": {
"command": "python",
"args": ["-m", "mcpandroidbuild"]
}
}许可证
mcpandroidbuild MCP工具根据MIT许可证获得许可。这意味着您可以根据MIT许可证的条款和条件自由使用、修改和分发软件。有关更多详细信息,请参阅项目存储库中的LICENSE文件。
