admin管理员组文章数量:1395013
I’m developing an Android chat assistant app, which can convert an user query to tool calls by invoking a backend service API on cloud. In my case, many tools must be run on mobile client side (i.e. on Android OS), and some of them are time-consuming, e.g. switching Bluetooth on/off, setting an alarm, making a phone call to somebody on behalf of user, etc. That means the problem is, agents on cloud must trigger a tool call running on mobile client side.
Is MCP server applicable for implement those tools running on mobile client side? In my opinion, the answer is NO. It's not a good idea to start a http server on mobile phone, because it is power-consuming, vulnerable, and also mobile network is unstable.
If not applicable, what is the best way to call tools on mobile side from cloud side?
The only way I can think of is, forwarding LLM output of response.choices.message.tool_calls
to mobile client side, then client parses the function name and arguments to invoke the tool.
I’m developing an Android chat assistant app, which can convert an user query to tool calls by invoking a backend service API on cloud. In my case, many tools must be run on mobile client side (i.e. on Android OS), and some of them are time-consuming, e.g. switching Bluetooth on/off, setting an alarm, making a phone call to somebody on behalf of user, etc. That means the problem is, agents on cloud must trigger a tool call running on mobile client side.
Is MCP server applicable for implement those tools running on mobile client side? In my opinion, the answer is NO. It's not a good idea to start a http server on mobile phone, because it is power-consuming, vulnerable, and also mobile network is unstable.
If not applicable, what is the best way to call tools on mobile side from cloud side?
The only way I can think of is, forwarding LLM output of response.choices.message.tool_calls
to mobile client side, then client parses the function name and arguments to invoke the tool.
1 Answer
Reset to default 0You can check this github repository for mobile-mcp
https://github/mobile-next/mobile-mcp
本文标签: androidIs MCP (Model Context Protocol) applicable for mobile clientside toolsStack Overflow
版权声明:本文标题:android - Is MCP (Model Context Protocol) applicable for mobile client-side tools? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744107463a2591131.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论