MCP

CJ Affiliate MCP server: commissions and affiliate data in Claude, Codex or Cursor

TL;DR

CJ Affiliate reaches Claude, Codex or Cursor through the Agent Planners MCP endpoint: 15 reads and 2 writes on a publisher connection and 9 reads and 3 writes on an advertiser connection, every call bound to the connected company (CID).

Is there an MCP server for CJ Affiliate?

Agent Planners hosts marketing MCP at https://www.agentplanners.com/api/mcp. Its app catalog includes 16 CJ Affiliate read tools and 5 write tools. Direct MCP calls require a paid plan. Use tool discovery to check what your connection exposes. With an API key, irreversible changes require review unless an admin exempts a key.

What this setup adds

Calling CJ's API yourselfAgent Planners MCP
Sign-inA Personal Access Token in your clientConnected once on the CJ Affiliate card; the token stays encrypted on our server
Commissions31-day windows, cursor paging and corrections to handleLonger windows read in pieces, de-duplicated, reported by advertiser, publisher or day
REST answersXMLRead into objects
MoneyAccount currency and USD fields per recordKept side by side, never added

Connect your AI client to the hosted server

  1. 1Connect your company on the CJ Affiliate card on Integrations with a Personal Access Token and the CID.
  2. 2Create a key in API & MCP: tools:read for reading, add tools:write for changes — or sign in from the client with OAuth.
  3. 3Add the server to your client, run describe_permissions, then cj__get_capabilities.
bash
claude mcp add --transport http agent-planners https://www.agentplanners.com/api/mcp \
  --header "Authorization: Bearer $AGENTPLANNERS_API_KEY"
Every client's setup, including OAuth sign-in without a key: MCP setup guide.

The CJ Affiliate tools

ToolKindWhat it does
cj__get_capabilitiesReadWhat this CJ connection can read: the kind (publisher / advertiser), the company id (CID), its website ids (PIDs) and, per API (advertiser lookup, link search, program terms, commissions, products, promotional propert…
cj__list_advertisersRead[publisher] Advertisers / programs (Advertiser Lookup): relationship joined (default) | notjoined | a list of advertiser CIDs; name or program URL; keywords.
cj__get_advertiserRead[publisher] ONE advertiser by CID (Advertiser Lookup).
cj__list_program_termsRead[publisher] Program terms (contracts) with your advertisers — every commission rate incl. situations, item lists and promotional-property rates, performance incentives, referral period, locking method, special terms; …
cj__search_linksRead[publisher] Links / promotions (Link Search) with their CJ tracking URL (clickUrl) for one of your website ids: advertiserIds joined (default) | notjoined | CIDs; keywords; linkType; promotionType (coupon, sweepstakes…
cj__search_productsReadProducts from advertisers' product feeds (Product Search, GraphQL products): keywords, advertiserIds (partnerIds), partnerStatus JOINED | NOT_JOINED, price range, currency, availability, country; each product: id, tit…
cj__list_product_feedsReadProduct feeds (GraphQL productFeeds): feed ad id, name, advertiser, country, currency, language, product count, last update.
cj__list_promotional_propertiesRead[publisher] Your promotional properties = website ids (PIDs): id, name, status ACTIVE | ARCHIVED | TERMINATED, primary, type (WEBSITE, SOCIAL_MEDIA, EMAIL, MOBILE_APP …), URL, promotional models, tags.
cj__get_promotional_propertyRead[publisher] ONE promotional property by id (refused when it belongs to another company).
cj__get_item_listRead[publisher] An advertiser's item list (the SKUs an item-list commission rate covers; rates are in list_program_terms).
cj__list_commissionsReadCommissions (Commission Detail): id, original / correction, status (new, extended, locked, closed), action type, advertiser / publisher, website id, ad id, order id, coupon, country, click / event / posting / locking …
cj__get_commissionReadCommissions by id (Commission Detail commissionIds, ≤ 100) with their items.
cj__reportReadCommission report aggregated from Commission Detail: by = advertiser (publisher default) | publisher (advertiser default) | day | advertiser_day | website | action_type | status | action.
cj__list_publishersRead[advertiser] Publishers joined to your programs (Publisher Lookup): CID, name, country, functional currency, network rating, program terms with join status, promotional methods, websites (PIDs).
cj__getReadANY CJ REST read on the connected company: endpoint advertiser-lookup | link-search (publisher) | joined-publisher-lookup (advertiser), query = CJ's own parameters. requestor-cid is always the connected CID and websit…
cj__graphql_readReadA CJ GraphQL READ query on the connected company: api commissions | program_terms | products, query = the document.
cj__create_promotional_propertyChange — a person approves (sometimes always)[publisher] Add a promotional property = a new website id (createPromotionalProperty): { accountId?, name, type: WEBSITE | SOCIAL_MEDIA | EMAIL | MOBILE_APP | BROWSER_EXTENSION | SERVICES_AND_TOOLS | PAID_SEARCH_ENGIN…
cj__update_promotional_propertyChange — a person approves (sometimes always)[publisher] Change a promotional property (updatePromotionalProperty): read first, the fields you name are merged into the current ones, before → after. { accountId?, propertyId, name?, description?, websiteUrl?, soci…
cj__create_productsChange (approval)[advertiser] Add products to one of your product feeds (createShoppingProducts on the feed's ad id): { accountId?, adId (list_product_feeds), products: [≤ 1,000 of CJ's own fields: id, title, description, price { amou…
cj__update_productsChange (approval)[advertiser] Change products in a feed (updateShoppingProducts): { accountId?, adId, products: [≤ 1,000 — id + the fields to change], dryRun? }.
cj__delete_productsChange — a person approves (sometimes always)[advertiser] Delete products from a feed (deleteProducts): { accountId?, adId, productIds (≤ 1,000), dryRun? }.
A tool marked [publisher] or [advertiser] answers only on that kind of company; the other kind gets a sentence and no call.

What waits for a person, whatever the key allows

Ordinary changes (adding or editing a promotional property, adding or changing products) follow how the key was minted. These are held for a person on every key mode and never ride a bulk approval:

  • Deleting products from a feed, setting a promotional property to ARCHIVED or TERMINATED (CJ stops tracking on that website id) and making a property the account's primary one always wait for a person, on every lane — even with auto-approve on — and never ride a batch.
  • More than 1,000 products in one call and a write naming another CJ company are refused. CJ publishes no API for payments, users or credentials, so none is reachable.

Raw requests

  • cj__get reads CJ's REST lookups (advertiser-lookup, link-search, joined-publisher-lookup) with CJ's own parameters; cj__graphql_read runs a GraphQL read query (commissions, program_terms, products) that names the connected CID. cj__raw_request reaches both with a method and a path; it reads only — changes go through the typed tools.
  • CJ reports every amount twice: in the CJ account's own currency and in US dollars. The agent keeps the two side by side and never adds one to the other. CJ does not name the account's currency on its records, so the CJ card has a field to label it.
CJ's error answers were measured with a real publisher token (read-only); its success answers follow CJ's own documentation. No write has been sent to a live CJ account yet. If something behaves differently, Support wants to hear about it. CJ Affiliate setup guide · CJ Affiliate platform page · CJ Affiliate MCP server

Frequently asked questions

How do I connect Claude to CJ Affiliate?
Connect your company on the CJ Affiliate card on Integrations with a Personal Access Token and your CID, create an Agent Planners key in API & MCP (or sign in from the client), add the MCP server and call cj__get_capabilities.
Can an MCP client delete CJ products?
It can ask; a person approves it every time. Deleting products is held on every key mode.
Does the MCP server report CJ clicks?
No — CJ publishes no clicks report API. EPC comes from cj__list_advertisers.
Connect your AI client to Agent Planners

Start free — 4,400 free credits, one time, no credit card. Direct tool calls require a paid plan and the appropriate connection scopes.

Related reading