Who it is forA Mac app developer who wants Claude Code, Codex or scripts to control the app.
The problemNative apps are hard for agents and scripts to automate without a programmable interface.
The outcomeYour Mac app with a command line and an MCP server, plus a debug bridge for tests.
What you need first
- macOS 26 or later
- Xcode 26 or later for the Swift 6.2 toolchain (you never open it)
- Claude Code, Codex, Cursor or Gemini CLI
- For clone on native apps: computer use (Claude Pro or Max)
Steps
- Install a single skill with
npx skills@latest add daveebbelaar/bama --skill=clonestyle installs, or all skills - Ask the agent to run the agent-cli skill on your app
- Add tests with test-mac-app, including the in-app self-test and debug bridge
- Connect the MCP server to Claude Code and try a command
Prompt for your agent
Use the daveebbelaar/bama agent-cli skill to add a command line and MCP server to my Mac app <app>, then connect it to Claude Code and show one working command.
Caveat. This card is written from the daveebbelaar/bama README, not from a test run by Deduped. Before you start, make sure you have macOS 26 or later. Check the repo for newer instructions before you rely on these steps.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for daveebbelaar/bama and "Give your Mac app a CLI and MCP server so agents can drive it"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer