affiliate-router-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PARTNERSTACK_CODE | No | PartnerStack referral code | |
| WALLET_PRIVATE_KEY | No | Base wallet with USDC + ETH for gas, required for call_affiliate_product with x402 adapters | |
| GUMROAD_AFFILIATE_ID | No | Gumroad tracking ID | |
| PYRIMID_AFFILIATE_ID | No | Default affiliate ID for Pyrimid-registered products |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_opportunitiesB | Search affiliate opportunities by keyword or category. Returns matching vendors and products with commission info. Free — no payment required. |
| list_affiliate_programsA | List all registered affiliate programs with commission rates, affiliate system type, and status. Free. |
| get_opportunity_detailsA | Get full details for a vendor and optionally a specific product — endpoint, pricing, commission, params. Free. |
| get_best_routeA | Given a natural language intent, find the best matching affiliate opportunity ranked by relevance, trust, and commission. Free. |
| generate_affiliate_linkA | Generate a tracked affiliate link for a referral-link or query-param-link vendor. No payment required. |
| call_affiliate_productA | Call a paid x402 API product with automatic affiliate attribution. Handles full payment (USDC on Base). Pyrimid affiliate routing used when eligible; falls back to direct x402 if affiliate_id is invalid. Costs USDC per call — amount shown in get_opportunity_details. |
| estimate_commissionA | Estimate affiliate commission for a product based on known rates. Returns per-call and monthly estimates. Free. |
| get_affiliate_telemetryA | Read local affiliate telemetry log — timestamps, vendors, products, amounts, affiliate IDs, statuses. Free. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/forgemeshlabs/affiliate-router-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server