Nov 16 – Dec 15 2026

BLACK FRIDAY

UPTO 75% OFF For new accounts the first 6 months

MCP server

MCP server AI tools AI assistant API

Available in all plans: Starter, Pro, Ultimate and Network.

What is the Post Affiliate Pro MCP server?

The Post Affiliate Pro MCP server lets external AI tools such as Claude, Cursor and ChatGPT work with your affiliate program. MCP (Model Context Protocol) is an open standard that gives AI tools a common way to call the functions of another application. Once a tool is connected, you can ask it questions about your program and, if you allow it, have it make changes, all in plain language.

The server is built into your account and available at https://<your-domain>/api/mcp, where <your-domain> is the domain of your Post Affiliate Pro panel. It uses the Streamable HTTP transport.

The MCP server is separate from the built-in AI Assistant . The AI Assistant lives inside your dashboard, guides you through the platform and cannot change your data. The MCP server connects the AI tool of your choice to your account data.

FlowHunt also has its own Post Affiliate Pro integration, set up in the FlowHunt panel and described by FlowHunt. See the FlowHunt integration page for how it differs from this MCP server, which is developed by the Post Affiliate Pro team.

PostAffiliatePro Logo

Launch your affiliate program today

Set up advanced tracking in minutes. No credit card required.

What can a connected AI tool do?

A connected tool can work with:

  • affiliates and their details,
  • commissions, including refunds and chargebacks,
  • campaigns and banners,
  • clicks,
  • traffic reports and top affiliates reports.

It can also diagnose an order. Ask why an order did not create a commission, and the tool investigates it.

Read-only access lets the tool look data up. Read and write access also lets it make changes, so choose the level that matches what you want the tool to do.

Available tools

The MCP server offers 27 tools: 18 that only read data and 9 that change it. Tools that need a permission your connection does not have are not offered to the AI tool.

Read tools (18)

  • whoami: shows who the tool is connected as and what access it has.
  • search_affiliates, get_affiliate and describe_signup_fields: find affiliates, show their details and list the signup fields.
  • search_transactions and get_transaction: find commissions and orders and show their details.
  • search_clicks: find clicks.
  • list_campaigns and get_campaign: list campaigns and show their details.
  • list_banners and get_banner: list banners and show their details.
  • get_account_settings: show account settings.
  • diagnose_order: investigate why an order did not create a commission.
  • traffic_overview, top_affiliates_report, hourly_report, daily_report and monthly_report: traffic and performance reports.

Write tools (9)

  • create_affiliate, update_affiliate, set_affiliate_status and delete_affiliate: manage affiliates.
  • create_commission and create_recurring_commission: create commissions.
  • set_transaction_status: change the status of a commission.
  • refund_order and chargeback_order: handle refunds and chargebacks.

Which scope a tool needs

AreaRead tools needWrite tools need
Affiliatesaffiliates:readaffiliates:write
Commissions and orderstransactions:read (also for clicks and diagnose_order)transactions:write
Campaignscampaigns:readnone
Bannersbanners:readnone
Reportsstats:readnone
Account settingssettings:readnone

List tools return 30 rows per page by default and up to 100. If an answer seems incomplete, ask the AI tool for all pages or add a filter or a period.

How to connect an AI tool

  1. Sign in to your merchant panel.
  2. Open Tools > Integration, and in the API (Programmatic Access) section click AI assistants (MCP). This is not the Ask AI button in the dashboard, which opens the built-in AI Assistant.
  3. Copy the MCP server URL from that screen and add it to your AI tool.
  4. Sign in with your merchant login when the tool asks you to, and choose read-only or read and write access.

If your tool does not support OAuth, create a bearer token in the same section and paste it into the tool instead.

Authentication and access control

You can connect in two ways:

  • OAuth 2.1 (recommended) – The tool signs you in with your merchant login using the authorization code flow with PKCE, so there is no token to copy. On the consent screen you choose Read data (always granted) or also Make changes. A connection renews each time it is used and expires after 30 days without use. All connected tools are listed in the Connected assistants grid, where you can revoke them.
  • MCP bearer token – For tools that cannot use OAuth. Click Generate bearer token in the same section and set a name, an expiration (90 days by default, or none if you leave it empty) and the access scopes. The token is shown only once, so copy it right away. It works only with the MCP server and is not restricted by IP address.

A few rules apply to both:

  • Merchant role only – The MCP server works for merchant accounts. Every action runs with the privileges of the merchant role that connected the tool. The merchant role needs the “API key” permission to open the AI assistants (MCP) screen. This is only a permission name, not a way to connect.
  • No API v3 keys – REST API v3 keys are not accepted on the MCP endpoint, and MCP bearer tokens do not work with API v3.
  • Account owner overview – The master merchant sees and can revoke every connected tool and token on the account. Other merchants see only their own.
  • Revoke at any time – Revoking a tool or token takes effect immediately.

Scopes

Access is controlled by scopes. With OAuth, Read data and Make changes give the tool the scopes your merchant role holds. With a bearer token you pick the scopes yourself: read and/or write access to affiliates, transactions, campaigns, banners, coupons and direct links, and read access to statistics and settings.

A tool is offered to the AI tool only if the connection has the scope it needs. With read-only access, write tools are not offered at all.

Audit log and rate limit

When the Audit log feature is active, changes made through the MCP server are recorded in Tools > Audit log with the MCP prefix and the merchant ID. For OAuth connections the entry also names the AI tool, for example “MCP via Claude”. Bearer token entries show “MCP” without an application name.

The server accepts up to 100 requests per minute per account. The limit is shared by all merchants of the account and all their AI tools, and it is separate from the API v3 limit. When it is reached, requests are rejected until it renews, at the latest after 60 seconds, and most AI tools retry on their own.

For more on how Post Affiliate Pro protects your data, see security and fraud protection .

AI features

AI Assistant

API v3

Frequently asked questions

Work with your affiliate data from your AI tool

Connect an AI tool to your Post Affiliate Pro account and ask about affiliates, commissions and orders in plain language.

You will be in Good Hands!

Join our community of happy clients and provide excellent customer support with Post Affiliate Pro.

Capterra
G2 Crowd
GetApp
Post Affiliate Pro Dashboard - Campaign Manager Interface