Connect Claude Desktop, Claude Code, ChatGPT connectors, or Cursor to your Adship account and use guarded Meta and TikTok advertising tools from the AI client.
The same hosted URL works for all of them. OAuth sign-in uses your Adship account, so no Meta access token is copied into the AI client.
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):
Add a remote MCP connector, paste the hosted endpoint, and authenticate with Adship OAuth.
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 access 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.
Write and destructive annotations let compatible clients surface approval. Adship also checks the workspace and ad account boundary. Creative edits default to dry-run and deletion needs a second confirmation, but not every write defaults to dry-run.
The MCP server manages Meta and TikTok ad accounts. Google Drive and Sheets can provide source material, but Google Ads account management is not supported.
The server enforces request ceilings before dispatching tools. Meta and TikTok can also apply their own API limits.
See what you can do with it. Launch from Drive, audit accounts, cut waste, and research competitors.
See the overview →