Codex + KADS

Build ad tools with Codex

Turn a reporting idea into a working ad tool. KADS gives Codex one API for every ad platform, with connected account data, discoverable tools, and campaign management tools.

Setup

Connect Codex to KADS
Live in under two minutes

New to KADS? Start your free trial and connect your ad accounts first.

  1. Step 1

    Add the server

    In your terminal, add KADS as an MCP server.

    codex mcp add kads --url https://app.kads.ai/api/mcp
  2. Step 2

    Sign in to KADS

    Run the login command. It opens your browser to sign in.

    codex mcp login kads
  3. Step 3

    Check your accounts

    Ask Codex to list your ad accounts.

    List my connected ad accounts
First prompt

Start building

Ask Codex to list accounts, build a report, or add campaign tools to your project.

Audit wasted spend

Build a Google Ads performance report for my account. Find the KADS reporting tools, check the response fields, and use the last 14 days of data.

Codex: “I’ll inspect the account and reporting tools, fetch the selected period, and use the returned fields to build the report.”

Spot rising costs

Compare my Meta and Google Ads campaigns over the last 7 days. Flag rising acquisition costs and explain what changed.

Reads both networks for the last week and points to the campaigns whose costs rose.

Build your next campaign

Build a campaign for our new product using our launch brief, budget, and creative.

Update a campaign budget

Find my strongest campaigns and adjust their budgets based on their results.

Build a client-ready report

Summarize the last month across my connected accounts. Break out spend and results by platform, with next steps for each account.

In action

Build the product. KADS connects the ad platforms

Reporting views, campaign tools, and internal apps. Give Codex the advertising API it needs to make them work.

Via Codex

  1. 1Add your ad accounts

    Register KADS in Codex and give it access to the workspace you want to build with.

  2. 2Work with real inputs

    Discover current tool schemas and account reports instead of coding against assumed response shapes.

  3. 3Add campaign controls

    Use KADS campaign tools to create campaigns, update budgets, and track the results.

Shown with sample data.

An example: Codex is asked “Build a Google Ads performance report for my account. Find the KADS reporting tools, check the response fields, and use the last 14 days of data.” and answers with figures read from the connected ad accounts through KADS.

With KADS

What Codex can do with live ad data

Move past generic advertising advice. Work with the campaigns, budgets, and results in your own accounts.

Before KADS

Manual exports, tab hopping, and generic advice.

  • Provider setupBuild a connection for each network
  • Development dataWork from sample reports and copied examples
  • Campaign updatesHandle each provider’s changes separately

With KADS

Live data across all 12 networks in one connection.

  • Provider setupUse one remote MCP endpoint
  • Development dataInspect your connected accounts and tool schemas
  • Campaign updatesUse one set of campaign tools
Features

Put Codex to work on your ads

Reporting, campaign creation, and account management through one connection.

Your brand

  • Tone of voice
  • Logo and design
  • Products and audience

Your accounts

  • Meta Ads
  • Google Ads
  • TikTok Ads
  • LinkedIn Ads
  • Amazon Ads
  • 7 more networks

The market

  • Category ads
  • Reviews and searches
  • Competitors’ sites
KADS

Your AI

  • ClaudeMCP
  • ChatGPTMCP
  • Grok BotMCP

The work

  • Research and positioning
  • Ads and copy
  • Campaigns and budgets
  • Reports and audits
  • More of what works
  • One connection, every platform

    Give your agent one connection to your ad accounts. Ask about a single campaign or compare results across clients and platforms.

  • 4.5x faster reporting, zero CSVs

    Pull spend, results, and campaign trends directly from your connected accounts. Get answers without uploading another spreadsheet.

  • Draft and launch from chat

    Give your agent the goal, budget, and creative. Build the campaign from your brief through KADS.

  • Guardrails and approval built in

    Connections start read-only. Edits wait as drafts for your approval, and rules stay inside your spend caps.

  • Learned defaults and placement checks

    KADS fills in your account’s usual placements, budgets and UTMs, and checks every ad against its network before launch.

  • Client workspaces and team roles

    Group client accounts in your workspace and give your agent the context it needs for each campaign.

Manual setup

Or connect Codex with a workspace token

No browser on that machine? Give Codex a workspace token instead. Create the token in KADS under MCP and put it in place of YOUR_KADS_TOKEN.

  • Codex with remote MCP support.
  • A KADS workspace with your ad accounts connected.
  • A browser to sign in, or KADS_MCP_TOKEN in your launch environment.
Open connection settings
Or connect Codex with a workspace token
# Set this in the environment that runs Codex.
export KADS_MCP_TOKEN="YOUR_KADS_TOKEN"

codex mcp add kads \
  --url https://app.kads.ai/api/mcp \
  --bearer-token-env-var KADS_MCP_TOKEN
AI assistants

Connect your ad accounts once in KADS, then plug in any MCP client anytime.

FAQ

Questions about Codex + KADS

Browse the Codex FAQ for more details.

Yes, when MCP OAuth is enabled in KADS. Add the server with codex mcp add kads --url and your MCP address, then run codex mcp login kads. You can also use a bearer token stored in an environment variable.

Meta, Google Ads, TikTok, Snapchat, Pinterest, LinkedIn, Reddit, Amazon Ads, X, ChatGPT Ads, Apple Ads, and Outbrain.

Yes. Connections start read-only, and write mode defaults to staging edits as drafts for review. You can also enable direct execution in settings.

Yes. Connect multiple agents to the same KADS workspace. They can work with your connected accounts, reports and campaign tools.