MCP, API & CLI
Connect Claude, ChatGPT or Cursor, reviewed writes, the REST API and the CLI.
17 articles
- What is MCP, and what can an AI assistant do in AdMassy?MCP lets Claude, ChatGPT, Cursor and other assistants use AdMassy's tools. Read-only by default; every write is a reviewed, paused change.
- Connect Claude CodeAdd AdMassy to Claude Code with one command, log in with /mcp, choose the right scope and make every write tool ask for your approval.
- Connect Claude.ai and Claude DesktopAdd AdMassy as a custom connector in Claude on the web, desktop or mobile, sign in with OAuth, and use a named connector for a second account.
- Connect ChatGPT, Cursor, Codex or PerplexityUse the same OAuth MCP server from ChatGPT, Cursor, Codex and Perplexity, with the exact URL and commands to paste.
- Other MCP clients (VS Code, Windsurf, Gemini CLI)Connect VS Code with GitHub Copilot, Windsurf, Gemini CLI or any other remote MCP client, and bridge clients that only support local servers.
- Headless use with an API tokenConnect a server, CI job or client without OAuth to the MCP endpoint with a scoped automation token sent as a bearer header.
- Permissions, scopes and workspacesWhat read-only and read-and-write connections can do, how scopes combine with your role, how workspaces and Facebook connections are chosen, and admin limits.
- The safety model (preview, apply, review IDs and expiry)Every change is a stored review first and runs only after a second call with its review ID and an idempotency key. Paused defaults, expiry and job recovery.
- Example prompts and workflowsCopy-paste prompts for accounts and performance, launching, bulk edits, automation rules, the media library, comments and AdScan, with the tools they use.
- Launch ads with an assistantThe tool sequence an assistant uses to launch ads, the draft route for checking in the app, spreadsheets, existing posts, scheduling and limits.
- Automation rules with an assistantCreate, test, enable and change AdMassy automation rules over MCP, with the scopes they need, dry runs, revisions and alert deliveries.
- MCP errors and troubleshootingThe error messages an assistant sees from AdMassy's MCP server, what they mean and what to do, plus rate limits and stale tool lists.
- Revoke MCP accessDisconnect an assistant, revoke automation tokens, remove the connector from your client, or end every connection at once.
- MCP tool referenceHow the MCP tools are organized, which aliases exist, which tools need write access, and where to find every tool's description.
- REST API keys, OpenAPI and rate limitsCreate a scoped API token, call /api/v1 with the OpenAPI spec, submit jobs with an Idempotency-Key, and stay within the rate limits.
- Use the AdMassy CLIRun launches, uploads, status changes and reports from a terminal or script with the private-ads CLI, using the same reviewed jobs as the app.
- MCP changelogDated changes to AdMassy's MCP server, tools, guide and documentation, and what to do in your client after an update.