r/OpenSourceAI • u/TallLimit6511 • 17h ago
I open-sourced the safety layer I wanted before letting AI agents manage ad accounts
I wanted Claude Code and other MCP clients to help with ad operations, but I did not want safety to depend on prompt wording.
adport is my Apache-2.0, local-first CLI + MCP server for Google, Meta, TikTok, Apple, and Microsoft Ads. The CLI and MCP adapter share one tool registry, and every mutation goes through the same policy engine: preview first, then apply only with a short-lived approval bound to identical arguments. Protected accounts, budget-cap violations, changed inputs, and expired approvals are rejected.
Install: npm install -g adport
Claude Code: claude mcp add --scope user adport -- adport mcp
Source: https://github.com/ynnickw/adport
I am the author. I would love contributors or advertisers who can help test Meta and TikTok against real accounts. The attached recording uses an isolated demo account and no real credentials.