CJ Affiliate MCP server: commissions and affiliate data in Claude, Codex or Cursor
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 yourself | Agent Planners MCP | |
|---|---|---|
| Sign-in | A Personal Access Token in your client | Connected once on the CJ Affiliate card; the token stays encrypted on our server |
| Commissions | 31-day windows, cursor paging and corrections to handle | Longer windows read in pieces, de-duplicated, reported by advertiser, publisher or day |
| REST answers | XML | Read into objects |
| Money | Account currency and USD fields per record | Kept side by side, never added |
Connect your AI client to the hosted server
- 1Connect your company on the CJ Affiliate card on Integrations with a Personal Access Token and the CID.
- 2Create a key in API & MCP:
tools:readfor reading, addtools:writefor changes — or sign in from the client with OAuth. - 3Add the server to your client, run
describe_permissions, thencj__get_capabilities.
claude mcp add --transport http agent-planners https://www.agentplanners.com/api/mcp \
--header "Authorization: Bearer $AGENTPLANNERS_API_KEY"The CJ Affiliate tools
| Tool | Kind | What it does |
|---|---|---|
cj__get_capabilities | Read | What 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_advertisers | Read | [publisher] Advertisers / programs (Advertiser Lookup): relationship joined (default) | notjoined | a list of advertiser CIDs; name or program URL; keywords. |
cj__get_advertiser | Read | [publisher] ONE advertiser by CID (Advertiser Lookup). |
cj__list_program_terms | Read | [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_links | Read | [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_products | Read | Products 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_feeds | Read | Product feeds (GraphQL productFeeds): feed ad id, name, advertiser, country, currency, language, product count, last update. |
cj__list_promotional_properties | Read | [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_property | Read | [publisher] ONE promotional property by id (refused when it belongs to another company). |
cj__get_item_list | Read | [publisher] An advertiser's item list (the SKUs an item-list commission rate covers; rates are in list_program_terms). |
cj__list_commissions | Read | Commissions (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_commission | Read | Commissions by id (Commission Detail commissionIds, ≤ 100) with their items. |
cj__report | Read | Commission report aggregated from Commission Detail: by = advertiser (publisher default) | publisher (advertiser default) | day | advertiser_day | website | action_type | status | action. |
cj__list_publishers | Read | [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__get | Read | ANY 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_read | Read | A CJ GraphQL READ query on the connected company: api commissions | program_terms | products, query = the document. |
cj__create_promotional_property | Change — 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_property | Change — 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_products | Change (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_products | Change (approval) | [advertiser] Change products in a feed (updateShoppingProducts): { accountId?, adId, products: [≤ 1,000 — id + the fields to change], dryRun? }. |
cj__delete_products | Change — a person approves (sometimes always) | [advertiser] Delete products from a feed (deleteProducts): { accountId?, adId, productIds (≤ 1,000), dryRun? }. |
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__getreads CJ's REST lookups (advertiser-lookup, link-search, joined-publisher-lookup) with CJ's own parameters;cj__graphql_readruns a GraphQL read query (commissions, program_terms, products) that names the connected CID.cj__raw_requestreaches 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.
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.