OwnMyAds in your terminal
Run your Meta ads from the command line with your business key, let the AI agent plan changes, or plug OwnMyAds into Claude Code, Cursor and any MCP client.
zsh
Install
npm i -g https://ownmyads.app/cli.tgzConnect
ownmyads loginPaste the same business key you use in the app. It’s saved only on your computer. To use the AI agent from the terminal, also run ownmyads signin.
Use it with Claude Code
claude mcp add ownmyads -- ownmyads mcpAny MCP client works the same way: the command is ownmyads mcp. Tools: list ad accounts, list campaigns, ad sets and ads with metrics, turn on or off, set budgets, duplicate, rename.
Commands
ownmyads campaigns | Campaigns with spend, purchases, ROAS and CPA. Also adsets and ads, with --range last_30d |
ownmyads off <id> | Turn something off. on asks first. |
ownmyads budget <id> 120 | Set a budget |
ownmyads dup <id> | Duplicate, the copy starts off |
ownmyads ask "…" | The AI agent plans the changes, you confirm |
ownmyads accounts / use <act> | List ad accounts and set your default |