# Syndicate Links MCP

Attribution and commission infrastructure for AI agents. Track conversions, verify attribution, settle commissions, and discover merchant programs — all through MCP tools. Built for agents that drive…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add syndicate-links/syndicate-links-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list syndicate-links/syndicate-links-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get syndicate-links/syndicate-links-mcp track_agent_conversion

# Call a tool
npx -y @smithery/cli@latest tool call syndicate-links/syndicate-links-mcp track_agent_conversion '{}'
```

## Direct MCP Connection

Endpoint: `https://syndicate-links-mcp--syndicate-links.run.tools`

## Tools (7)

- `track_agent_conversion` — Record a conversion event driven by an AI agent. Requires a valid attribution token (slat_v1_ prefix) previously issued…
- `verify_attribution_token` — Decode and validate a Syndicate Links attribution token (slat_v1_ prefix). Returns the token payload (affiliateId, prog…
- `get_commission_status` — Return the commission balance for the authenticated affiliate (identified by SYNDICATE_AGENT_KEY). Returns available (a…
- `run_payout_cycle` — Trigger the GLOBAL payout cycle. Processes all approved commissions for ALL affiliates in a single batch run — this is …
- `list_merchant_programs` — List affiliate programs belonging to the authenticated merchant (identified by SYNDICATE_MERCHANT_KEY). Returns the API…
- `search_programs` — Full-text search across affiliate program names and descriptions. Returns matching programs with commission rates, cate…
- `get_program_details` — Get comprehensive details for a specific affiliate program. Returns commission rates (percentage or flat), attribution …

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get syndicate-links/syndicate-links-mcp <tool-name>
```
