Agentfuse Mcp

io.github.sai4447由 GitHub 账号 sai4447 发布v1.1.3更新于 Oct 24, 2026

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

已验证STDIO仅桌面数据与分析商业与电商

概览

AI 生成的概览

AgentFuse 的本地 MCP 服务器,让 AI 助手浏览联盟推广项目、生成带追踪的链接,并记录注册与佣金。

可以做什么
浏览联盟推广项目目录,按 slug 查看单个项目的完整详情,并可按类别筛选。为具体终端用户生成带归因标记的短链接。列出已为你的用户创建的追踪链接。记录注册、佣金(购买或续费)等转化事件。查看点击、注册和佣金的仪表盘汇总。
适用场景
适合希望助手直接处理联盟推广事务的场景:寻找合适的项目、为特定用户创建追踪链接,以及记录或查看转化与佣金活动,而无需自行编写 HTTP 调用。
运行要求
通过 npm 包 agentfuse-mcp 以 stdio 在本地运行,需要 Node.js 18 或更高版本。需要在环境变量 AGENTFUSE_API_KEY 中提供 AgentFuse API 密钥;可选的环境变量 AGENTFUSE_API_URL 可覆盖默认 API 地址。需要能访问 AgentFuse API 的网络。
安装前请注意
API 密钥是正式凭据(af_live_ 前缀),通过环境变量传入,应避免写入共享配置或代码仓库。该服务器会写入数据:创建追踪链接并记录注册和佣金事件,会影响联盟归因与报表。终端用户标识(如电子邮箱地址)会被发送到 AgentFuse API。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agentfuse Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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

来源:README.md,提交 1ca385a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.1.3最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。