CJ MCP Server
Provides comprehensive access to the Commission Junction affiliate network API for both publishers and advertisers. It enables users to manage affiliate links, track commissions, search for products, and handle order conversions through natural language interfaces.
README
CJ MCP Server
MCP (Model Context Protocol) server for the CJ.com (Commission Junction) affiliate network API.
Live endpoint: https://cj.mcp.ottolax.com/mcp
Health check: https://cj.mcp.ottolax.com/health
Connection
Add to your MCP client config:
{
"mcpServers": {
"cj": {
"type": "http",
"url": "https://cj.mcp.ottolax.com/mcp"
}
}
}
After connecting, call cj_set_credentials first with your Personal Access Token and Company CID. Get your token at developers.cj.com/account/personal-access-tokens.
cj_set_credentials(
personalAccessToken: "your-token-here",
companyCid: "1234567"
)
Tools (16 total)
Auth
| Tool | Description |
|---|---|
cj_set_credentials |
Set Personal Access Token + Company CID. Must be called first. |
Publisher Tools
| Tool | Description |
|---|---|
cj_publisher_commissions |
Get commission records for publishers (GraphQL). Supports cursor pagination, date ranges, status/type filters. |
cj_get_program_terms |
Get commission structures and rates for joined advertiser programs. |
cj_get_promotional_properties |
List publisher websites/PIDs for a company. |
cj_create_promotional_property |
Create a new publisher website/PID. |
cj_update_promotional_property |
Update an existing publisher website/PID. |
cj_search_products |
Search products available to promote via Product Feed API. |
cj_lookup_advertisers |
Find advertisers to join (REST, returns XML). |
cj_search_links |
Search for affiliate links, banners, coupons (REST, returns XML). |
cj_get_automated_offer_feed |
Get credit card offer feeds from financial advertisers (REST, returns XML). |
cj_legacy_get_commissions |
(Deprecated) Legacy commission detail via REST API. |
cj_legacy_get_item_detail |
(Deprecated) Item-level detail for advanced sale commissions. |
Advertiser Tools
| Tool | Description |
|---|---|
cj_advertiser_commissions |
Get commission records for advertisers (GraphQL). |
cj_create_orders |
Submit new orders/conversions for tracking (max 10,000/batch). |
cj_restate_orders |
Correct/update previously submitted orders. |
cj_cancel_orders |
Cancel previously submitted orders. |
cj_lookup_publishers |
Find publishers joined to your program (REST, returns XML). |
cj_upsert_enroll_publisher |
Enroll influencers/publishers into programs (Tech Partner API). |
Recommended Agent Setup
Use specialized agents for each domain — they handle their slice of the API independently.
1. cj-commissions-agent — Commission Reporting
Role: Query, reconcile, and export commission data.
Tools: cj_set_credentials, cj_publisher_commissions, cj_advertiser_commissions, cj_legacy_get_commissions, cj_legacy_get_item_detail
Prompt:
You are a CJ affiliate commissions analyst. You have access to the CJ MCP server.
Always call cj_set_credentials first. Then use cj_publisher_commissions or
cj_advertiser_commissions to fetch commission data. Handle pagination using
sinceCommissionId when payloadComplete is false. Present results as structured
tables with totals. Flag any locked or closed commissions separately.
Use for:
- Daily/weekly commission reports
- Reconciling expected vs. received commissions
- Exporting data to spreadsheets
- Tracking commission status changes (new → locked → closed)
2. cj-publisher-agent — Publisher & Property Management
Role: Manage publisher websites, PIDs, and program terms.
Tools: cj_set_credentials, cj_get_promotional_properties, cj_create_promotional_property, cj_update_promotional_property, cj_get_program_terms
Prompt:
You are a CJ publisher account manager. You have access to the CJ MCP server.
Always call cj_set_credentials first. Manage promotional properties (publisher
websites/PIDs) and retrieve program terms showing commission rates. When creating
properties, confirm the type, URL, and categories before submitting.
Use for:
- Adding new websites/PIDs to a publisher account
- Reviewing commission rates for joined programs
- Auditing active vs. inactive promotional properties
3. cj-advertiser-agent — Advertiser & Order Tracking
Role: Submit, restate, and cancel orders; manage publisher relationships.
Tools: cj_set_credentials, cj_create_orders, cj_restate_orders, cj_cancel_orders, cj_lookup_publishers
Prompt:
You are a CJ advertiser account manager. You have access to the CJ MCP server.
Always call cj_set_credentials first. Use testMode: true when testing order
submissions. Batch orders up to 10,000 per request. Always confirm order details
before submitting. For restates, explain what changed and why.
Use for:
- Server-to-server (S2S) order submission
- Correcting misfired or wrong-amount orders
- Cancelling fraudulent or returned orders
- Looking up joined publishers
4. cj-content-agent — Links, Products & Offers
Role: Find and surface affiliate links, banners, products, and promotional offers.
Tools: cj_set_credentials, cj_search_links, cj_search_products, cj_lookup_advertisers, cj_get_automated_offer_feed
Prompt:
You are a CJ affiliate content specialist. You have access to the CJ MCP server.
Always call cj_set_credentials first. Search for links and products to embed in
content. Prefer joined advertisers unless explicitly told otherwise. Parse XML
responses and return clean structured data. For credit card offers, use
cj_get_automated_offer_feed with the specific advertiser ID.
Use for:
- Finding banner ads and text links for blog posts
- Product feed searches for shopping content
- Pulling coupon/promo codes by advertiser
- Credit card comparison content via automated offer feed
5. cj-enrollment-agent — Tech Partner / Influencer Enrollment
Role: Enroll publishers and influencers into CJ programs at scale.
Tools: cj_set_credentials, cj_upsert_enroll_publisher
Prompt:
You are a CJ tech partner enrollment specialist. You have access to the CJ MCP server.
Always call cj_set_credentials first. Use cj_upsert_enroll_publisher to onboard
influencers into CJ programs. Validate that email, name, websiteUrl, and
advertiserIds are all provided before calling. Report enrollment status for each
advertiser ID after submission.
Use for:
- Bulk influencer onboarding into affiliate programs
- Automatically enrolling new creators into brand programs
- Syncing influencer rosters from external platforms into CJ
Rate Limits
| API | Limit |
|---|---|
| GraphQL (commissions, program terms) | 200 calls / 5 minutes |
| REST (link search, advertiser/publisher lookup) | 25 calls / minute |
| Tracking API (order submission) | Max 10,000 orders / batch |
| Commission date range | Max 31 days per query |
API Reference
Full CJ API documentation: developers.cj.com
| Endpoint | Type | Used By |
|---|---|---|
commissions.api.cj.com/query |
GraphQL | cj_publisher_commissions, cj_advertiser_commissions |
programs.api.cj.com/query |
GraphQL | cj_get_program_terms |
accounts.api.cj.com/graphql |
GraphQL | cj_get/create/update_promotional_property |
product-search.api.cj.com/v2/product-search |
GraphQL | cj_search_products |
graph.cj.com/techpartners |
GraphQL | cj_upsert_enroll_publisher |
tracking.api.cj.com/graphql |
GraphQL | cj_create/restate/cancel_orders |
advertiser-lookup.api.cj.com/v2/advertiser-lookup |
REST (XML) | cj_lookup_advertisers |
publisher-lookup.api.cj.com/v2/joined-publisher-lookup |
REST (XML) | cj_lookup_publishers |
link-search.api.cj.com/v2/link-search |
REST (XML) | cj_search_links, cj_get_automated_offer_feed |
commission-detail.api.cj.com/v3/commissions |
REST (XML, deprecated) | cj_legacy_get_commissions |
commission-detail.api.cj.com/v3/item-detail/{id} |
REST (XML, deprecated) | cj_legacy_get_item_detail |
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。