Connect Claude Desktop, Cursor, or Claude Code to your Adship account and manage Meta, TikTok & Google ads through any MCP-compatible AI agent.
The same hosted URL works for all of them. OAuth sign-in with your Adship account — no API keys to copy around.
Open Settings → Connectors → Add custom connector and paste:
One command. After install, run /mcp in Claude Code to trigger OAuth.
Edit ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
For older builds without Custom Connectors. Edit claude_desktop_config.json:
The first tool call opens an OAuth window. You sign in to Adship, pick the workspace the agent can access, and approve scopes. Tokens last 24 hours and refresh automatically.
Agent makes its first tool call → server returns 401 with OAuth metadata.
Agent opens the Adship authorize page in your browser.
You sign in (Google / Facebook / email), pick a workspace, click Allow.
Agent receives an audience-bound JWT (24h, refreshable, PKCE).
Tools work immediately.
The agent requests scopes; you approve them on the consent screen. Revoke at any time from Adship → Settings → AI Agents.
List Meta campaigns, ad sets, ads, creatives & read metrics.
Pause / enable / budget / publish ads on Meta.
List TikTok campaigns, ad groups, ads & read metrics.
Pause / enable / budget ads on TikTok.
An agent can never widen its own access. The token is minted with only the scopes you approve, intersected with what the client registered.
Every tool re-checks its scope server-side on each call — a read:meta token cannot pause an ad, touch TikTok, or read your Google Drive. Viewer team members can only obtain read:* — write scopes are stripped at mint, even if requested.
Cross-platform where applicable (Meta + TikTok + Google). The agent calls these directly in your conversation.
v1 does not hard-enforce rate limits yet — 429 + Retry-After enforcement ships in v1.1. The published per-token policy:
read:*60 calls / minwrite:*10 calls / minbulk_publish3 calls / min (≤ 250 ads each)See what you can do with it — launch from Drive, audit accounts, cut waste, spy on competitors.
See the overview →