How to integrate Tapfiliate MCP with Atomic Agent

Connect Atomic Agent to Tapfiliate MCP. List all active affiliates for this month, retrieve payout methods for affiliate jane doe, and more using natural language, with authentication handled for you.

Tapfiliate logoTapfiliate
Api Key

Tapfiliate is an affiliate and referral tracking platform for businesses. It helps companies efficiently manage, track, and grow their affiliate programs.

40 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including Tapfiliate.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Tapfiliate account. See the Atomic Agent documentation for installation instructions.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Tapfiliate with

How Atomic Agent connects to Tapfiliate

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Tapfiliate to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Tapfiliate. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Tapfiliate account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Tapfiliate MCP server, and what's possible with it?

The Tapfiliate MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Tapfiliate account. It provides structured and secure access to your affiliate and referral program data, so your agent can perform actions like managing affiliates, tracking commissions, handling payments, and organizing programs on your behalf.

  • Affiliate management and insights: Instantly list all affiliates, retrieve detailed affiliate profiles, or remove affiliates as your programs evolve.
  • Commission tracking and reporting: Let your agent fetch comprehensive commission records, apply filters, and access historical payouts for monitoring performance.
  • Automated payment handling: Effortlessly list, retrieve, or create payments to credit affiliates, ensuring accurate and timely compensation.
  • Payout method discovery: Retrieve available payout options for affiliates to streamline compensation workflows and support diverse payment needs.
  • Program organization and overview: Quickly list all affiliate programs and assets, helping you stay on top of your marketing initiatives and campaign structure.

Use Tapfiliate from Atomic Agent

With your account connected, ask Atomic Agent to work with Tapfiliate in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every Tapfiliate action and event your agent gets out of the box.

Retrieve an Affiliate

Retrieve selected details of an affiliate by affiliate ID, including name, email, company name, metadata, and creation time.

Cancel a Payment

Tool to cancel a specific payment.

List all commissions

List commission records with optional filters and pagination.

Create an Affiliate

Create a new affiliate account with contact details.

Create Affiliate Group

Tool to create a new affiliate group.

Create Affiliate Note

Tool to create a note for an affiliate.

Create Affiliate Prospect

Create an affiliate prospect to register a potential affiliate before they become a full affiliate.

Delete affiliate meta data

Tool to delete metadata by key for an affiliate.

Delete an affiliate prospect

Tool to delete a specific affiliate prospect.

Delete an affiliate

Tool to delete a specific affiliate.

Get Affiliate Balances

Tool to retrieve an affiliate's balances across multiple currencies.

Get Affiliate Meta Data by Key

Tool to retrieve specific metadata value by key for an affiliate.

Get Affiliate Prospect

Retrieve details of a specific Tapfiliate affiliate prospect by prospect ID.

Retrieve a Program

Tool to retrieve details of a specific program.

List affiliate custom fields

List the custom field definitions configured for affiliate profiles in Tapfiliate.

List all affiliate groups

List the first page of affiliate groups in your Tapfiliate account.

List Affiliate Meta Data

Tool to retrieve metadata for a specific affiliate.

List affiliate notes

List a page of notes for a specific affiliate by ID.

List affiliate's payments

Tool to list all payments for a specific affiliate.

List Affiliate Programs

List the programs associated with a specified affiliate, including past affiliations.

List Affiliate Prospects

List Tapfiliate affiliate prospects, optionally filtering by email, referral code, program, or affiliate group.

List all affiliates

Tool to list all affiliates.

List all balances

Tool to list all outstanding affiliate balances.

List conversions

Tool to list all conversions.

List all customers

Tool to list all customers with optional filtering by program, customer ID, affiliate, or date range.

List program affiliates

List a page of affiliates in a specific program, with optional filters for source ID, email, parent ID, or affiliate group ID.

List program bonuses

List a page of performance bonuses configured for a specified program.

List program commission types

List commission types for a specific program.

List program MLM levels

List the MLM levels configured for a specified program.

Create a Payment

Create a Tapfiliate payment record for an affiliate after payment has been made through a payment provider.

List all payments

Tool to list all payments.

Retrieve a Payment

Tool to retrieve details of a specific payment.

List all payout methods

List the payout methods configured for a specified affiliate.

List all programs

List the first page of programs, optionally filtered by asset ID.

Remove affiliate group from affiliate

Tool to remove affiliate group from an affiliate.

Set Affiliate Group

Tool to set the affiliate group for a specific affiliate.

Set Affiliate Meta Data

Tool to update (replace) metadata for an affiliate.

Set Affiliate Metadata by Key

Tool to set or update a specific metadata field for an affiliate by key.

Set Affiliate Parent

Tool to set a parent affiliate relationship for a child affiliate.

Update Affiliate Group

Update the title of an existing affiliate group.

FAQ

Frequently asked questions

Start with Tapfiliate.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Tapfiliate tool your agent needs.Free to start.

Start building