feat(mcp): support android tools#925
Merged
quanru merged 12 commits intoweb-infra-dev:mainfrom Jul 28, 2025
Hidden character warning
The head ref may contain hidden characters: "feature/mcp\u652f\u6301android\u73af\u5883"
Merged
Conversation
✅ Deploy Preview for midscene ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
zhoushaw
reviewed
Jul 19, 2025
zhoushaw
reviewed
Jul 19, 2025
packages/mcp/src/midscene.ts
Outdated
| try { | ||
| let deviceId = this.androidDeviceId; | ||
|
|
||
| // 如果没有指定设备ID,获取第一个连接的设备 |
Member
There was a problem hiding this comment.
你能帮忙把代码注释翻译成英文吗?由于开源社区主要使用英语,因此提供英语注释将改善更广泛受众的可访问性和协作性
zhoushaw
reviewed
Jul 19, 2025
Member
|
@skinapi2025 感谢你的贡献🎉,共享仓库需要签署一下上面的 Cla~ |
Member
|
另外需要将标题改为:feat(mcp): support xxx 这类格式,因为这个 mr title 将会变成我们发布 changelog 的一部分 |
147d1fd to
c803278
Compare
…25/midscene into feature/mcp支持android环境
zhoushaw
reviewed
Jul 21, 2025
Member
|
hi @skinapi2025 还有个小问题,可以补充一下文档吗,可以参考 https://midscenejs.com/mcp.html,在 安卓部分也补充一下使用的策略,里面的内容结构应该和 web 的一致,可以考虑复用其中部分内容组件,但是有些 tool 应该是不同的 |
Contributor
Author
|
yuyutaotao
reviewed
Jul 28, 2025
zhoushaw
reviewed
Jul 28, 2025
yuyutaotao
approved these changes
Jul 28, 2025
Collaborator
|
close #744 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


添加5个tool,包含连接设备、查看设备、打开网页或活动、按home键、按back键。

使用得物app进行了测试。