最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - Is MCP (Model Context Protocol) applicable for mobile client-side tools? - Stack Overflow

programmeradmin9浏览0评论

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.

Share Improve this question edited Mar 27 at 7:14 Ivan Wu asked Mar 27 at 7:08 Ivan WuIvan Wu 213 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

You can check this github repository for mobile-mcp
https://github/mobile-next/mobile-mcp

发布评论

评论列表(0)

  1. 暂无评论