Agentfuse Mcp

io.github.sai4447Published by GitHub account sai4447v1.1.3Updated Oct 24, 2026

Affiliate API for AI agents -- browse programs, generate tracked links, record conversions.

VerifiedSTDIODesktop onlyData & AnalyticsBusiness & Commerce

Overview

AI-generated overview

Local MCP server for AgentFuse that lets an AI assistant browse affiliate programs, generate tracked links, and record signups and commissions.

What you can do
Browse the affiliate program catalog and read full details of a single program by slug, optionally filtered by category. Generate attribution-tagged short links for individual end users. List the tracked links already created for your users. Log conversion events such as signups and commissions (purchases or renewals). Read a dashboard summary of clicks, signups and commissions.
When to use it
Useful when an assistant should handle affiliate work directly: finding suitable programs, creating tracked links for specific users, and recording or reviewing conversion and commission activity without writing HTTP calls.
Requirements
Runs locally over stdio via the npm package agentfuse-mcp, requiring Node.js 18 or newer. Needs an AgentFuse API key supplied in the AGENTFUSE_API_KEY environment variable; the optional AGENTFUSE_API_URL overrides the default API base URL. Network access to the AgentFuse API is required.
Before you install
The API key is a live credential (af_live_ prefix) passed in an environment variable, so keep it out of shared configs and repositories. The server writes data: it creates tracked links and records signup and commission events, which affect affiliate attribution and reporting. End-user identifiers such as email addresses are sent to the AgentFuse API.

Installation

In SourceWeft

  1. Open Agentfuse Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

agentfuse-mcp

MCP server for AgentFuse -- the affiliate API middleware for AI agents.

Lets any MCP-compatible AI agent (Claude Code, Cowork, custom agents) browse affiliate programs, generate tracked links, and record conversions without writing HTTP code.


Tools

ToolDescription
list_affiliate_programsBrowse all programs in the catalog (filterable by category)
get_affiliate_programGet full details for one program by slug
generate_tracked_linkCreate an attribution-tagged short link for a user
get_statsDashboard summary: clicks, signups, commissions
record_signupLog a conversion event when a user signs up
list_tracked_linksList all tracked links generated for your users
record_commissionLog a commission event (purchase or renewal)

Requirements

  • Node.js >= 18
  • An AgentFuse API key -- get one at agentfuse.io

Usage

Option 1 -- Claude Code (recommended)

Add to your project's .claude/mcp.json (or your global ~/.claude/mcp.json):

json
{  "mcpServers": {    "agentfuse": {      "command": "npx",      "args": ["-y", "agentfuse-mcp"],      "env": {        "AGENTFUSE_API_KEY": "af_live_your_key_here"      }    }  }}

Or, if you've cloned this repo locally:

json
{  "mcpServers": {    "agentfuse": {      "command": "node",      "args": ["/path/to/agentfuse-mcp/src/index.js"],      "env": {        "AGENTFUSE_API_KEY": "af_live_your_key_here"      }    }  }}

Option 2 -- Run directly

bash
npm installAGENTFUSE_API_KEY=af_live_... node src/index.js

Option 3 -- Test the tool list (no API key needed)

bash
node src/index.js --test

Example agent interactions

Browse programs:

"List all affiliate programs in the AI tools category" -> calls list_affiliate_programs({ category: "ai-voice" })

Generate a link:

"Create a tracked Webflow affiliate link for user [email protected]" -> calls generate_tracked_link({ program_slug: "webflow", end_user_id: "[email protected]" })

Check stats:

"How many clicks and signups have we had this month?" -> calls get_stats()


Environment variables

VariableRequiredDefaultDescription
AGENTFUSE_API_KEYYes--Your AgentFuse API key (af_live_...)
AGENTFUSE_API_URLNohttps://api.agentfuse.ioOverride the API base URL

License

MIT (c) AgentFuse / GSK AIOrch LLC

Source: README.md at commit 1ca385a

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.1.3LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.