Hacker News new | ask | show | jobs
by silbercue 73 days ago
Cool) I'm doing something similar atm for iOS simulators instead of macOS / same idea though, giving Claude direct access through MCP instead of going through computer use. The latency difference is huge when you skip the screenshot-parse-click loop.

tell me more about you handle tool discovery... With macOS scripting there could be a ton of possible actions. I ended up with 49 and already feel like thats a lot for the context window.

1 comments

yep, it generates 700 tools on my mac. I consider discovery context a separate problem, there is no more reasonable way to ask an MCP to limit the number of tools it exposes IMO, than there is to ask a linux distribution to paginate /bin. for the context problem, you would want the harness to use vector search on the list of tools to find the ones relevant to the given prompt instead. not sure if any do this currently.