CJ Affiliate Link Resolver and MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CJ Affiliate Link Resolver and MCP Find a CJ tracking link for https://merchant.example/a-page using website 12345 and link 67890."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
This independent publisher tool uses the CJ Affiliate Link Search API to find links for a specific destination. Run it locally from the command line or through a Model Context Protocol (MCP) client.
Key Features
Check advertiser relationships, promotional properties, tracking hosts, and merchant domains.
Keep a CJ-issued tracking link intact when it already points to the exact page.
Construct a same-host deep link when the offer permits it.
Return
portal_requiredwith a reason when the search cannot confirm an eligible link.
Related MCP server: CJ MCP Server
Installation
From a checkout, install with Python 3.11 or later in a virtual environment.
python -m pip install .Usage
Configure your CJ token, then substitute your destination and CJ IDs. Credential setup
cj-affiliate "https://merchant.example/a-page" --website-id 12345 --link-id 67890A resolved result includes the tracking URL as JSON.
Documentation
Start with the documentation home, or jump to getting started, configuration, the API reference, or troubleshooting.
Support
File a GitHub issue.
Contributing
See the project setup, the shared contributing guide, and the code of conduct.
License
This project is licensed under the MIT License.
Available Tools
1 toolresolve_cj_linkA
Find a joined CJ publisher link for an exact HTTPS merchant page.
Supply the promotional property Website ID unless configured locally. A known CJ Link ID or Advertiser ID narrows the search. If result status is portal_required, no eligible link was confirmed and no URL should be presented as affiliate tracking.
Inputs: destination_url (required), link_id, website_id, advertiser_id, +1 more. Returns: method, reason, status, link_id, +3 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
There is only one tool, so there is no possibility of misselection between competing tools. Its purpose (resolving an exact HTTPS merchant page to a joined CJ affiliate link) is clearly stated and non-overlapping by construction.
The single name resolve_cj_link follows a clean verb_noun_snake_case convention that would scale predictably to siblings like lookup_advertiser or list_links. Consistency cannot be fully demonstrated with only one tool, so it is not a perfect 5.
One tool is thin even for a narrowly scoped resolver; the description implies supporting lookups (Website ID, Link ID, Advertiser ID discovery) that have no tools. The single tool does earn its place for the core resolve operation, but the surface feels bare.
The core resolution operation is covered, but the tool expects the agent to already know a Website ID or optionally a Link/Advertiser ID, with no tools to discover or validate those identifiers. There is also no way to handle the portal_required outcome beyond reporting failure, leaving an agent at a dead end when configuration is missing.
Maintenance
Related MCP Connectors
Turn product links or queries into tracked links that can earn. Carts and search too.
Check whether a page links to your domain: dofollow or nofollow, anchor text, link list audits.
Affiliate links for creators: find brands, read products, create tracking links, check earnings.
Create and manage short links, track clicks, and automate URL management
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables scanning web pages and entire domains to identify broken links, checking hyperlinks, images, scripts, and other resources. Provides comprehensive link validation with robots.txt compliance and detailed reporting of link status across single pages or complete websites.-
- FlicenseNot gradedqualityNot gradedmaintenanceProvides 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.5-
- AlicenseAqualityCmaintenanceEnables read-only discovery and verification of products across droplinked's KYB-attested merchant network via tools for inventory, merchant, and brand attestation lookups.7MIT
- AlicenseNot gradedqualityDmaintenanceProvides a multilingual, region-aware brand catalogue and click-through URL generation for MCP-compatible agents, enabling commerce recommendations with attribution tracking.MIT