About Affilio Link Tools
Affilio Link Tools is an MCP server for shortening URLs and returning QR codes, aimed at creators and affiliate marketers. It scans submitted links for threats and expires created links after 30 days.
Key features
- 01Shorten any HTTP or HTTPS URL
- 02Return a short link and QR code
- 03Scan URLs for threats
- 04Expire links after 30 days
Use cases
- 01Create compact links for social posts
- 02Generate QR codes for product pages
- 03Share affiliate links with an audience
MCP support
Exposes the `shorten_url` tool over MCP streamable HTTP. No authentication is required.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.affilio.link/mcpclaude mcp add --transport http affilio https://mcp.affilio.link/mcp{"mcpServers":{"affilio":{"type":"http","url":"https://mcp.affilio.link/mcp"}}}Open in Cursor{"servers":{"affilio":{"type":"http","url":"https://mcp.affilio.link/mcp"}}}Open in VS Code{"mcpServers":{"affilio":{"type":"http","url":"https://mcp.affilio.link/mcp"}}}{"mcpServers":{"affilio":{"serverUrl":"https://mcp.affilio.link/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
19| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Full HTTP/HTTPS URL to shorten. Supports affiliate links from Amazon Associates, eBay Partner Network, AliExpress, Awin, ShareASale, Impact, CJ Affiliate, Rakuten Advertising, Etsy, Walmart, Target, Best Buy, and any other URL. Example: https://www.amazon.com/dp/B08N5WRWNW?tag=mystore-20 |
Details
From the project READMEAffilio MCP Link Shortener
Free URL shortener MCP tool powered by Affilio.link — the smart affiliate link management platform for content creators and affiliate marketers.
Quick Start
Add this to your MCP client configuration:
{
"mcpServers": {
"affilio": {
"url": "https://mcp.affilio.link/mcp",
"type": "streamable-http"
}
}
}
No API key. No sign-up. Works immediately.
What it does
shorten_url — the single tool this server exposes.
Give it any URL. Get back a short link and a QR code.
Input: https://www.amazon.com/dp/B08XYZ123?tag=mystore-20&ref=very_long_param
Output: https://mcp.affilio.link/r/7gZpzzt
https://mcp.affilio.link/qr/7gZpzzt
- Works with any URL — affiliate links, product pages, articles, anything
- Short links resolve instantly via 302 redirect
- QR code returned inline as base64 PNG — renders directly in supporting AI hosts
- Links expire after 30 days
- No authentication required
- Rate limited to 10 links per hour per client to prevent abuse
- All URLs scanned for malware and phishing before activation
Use cases
For AI assistants:
- User shares a long URL and asks to make it shareable → call
shorten_url - User is writing social media content and needs a compact link → call
shorten_url - User wants a QR code for a product or landing page → call
shorten_url - User is creating affiliate content and wants a clean link → call
shorten_url
For developers:
- Test MCP streamable-http transport integration
- Example of a production-grade, zero-auth public MCP server
- Reference implementation for rate limiting + security scanning in MCP tools
Transport
This server uses the MCP streamable-http transport (the current MCP standard, superseding SSE).
| Property | Value |
|---|---|
| Endpoint | https://mcp.affilio.link/mcp |
| Transport | streamable-http |
| Auth | None required |
| Protocol | MCP 2024-11-05 |
Compatible with Claude Desktop, Cursor, GitHub Copilot, and any MCP-compatible host.
Tool reference
shorten_url
Shorten any URL and get a QR code.
Input:
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The full URL to shorten (must be http or https) |
Output:
{
"short_url": "https://mcp.affilio.link/r/7gZpzzt",
"qr_url": "https://mcp.affilio.link/qr/7gZpzzt",
"qr_image_base64": "...",
"classification": "allowlisted",
"powered_by": "Powered by Affilio.link — Smart Affiliate Link Management",
"pending": false
}
Classifications:
allowlisted— known-safe domain (Amazon, eBay, AliExpress, etc.), activated instantlysafe— verified safe by security scanner, activatedpending— unknown domain, being scanned, link activates within 60 secondsunsafe— blocked, link not created
Security
Every URL submitted goes through a multi-stage security pipeline:
- Domain allowlist — major affiliate and retail domains skip scanning entirely (instant activation)
- Domain cache — previously classified domains served from cache (180-day TTL)
- Threat intelligence — unknown domains scanned via Sophos Intelix before activation
- Link expiry — all links expire after 30 days, limiting spam longevity
Links to phishing, malware, or harmful content are rejected at creation time.
Rate limits
| Limit | Value |
|---|---|
| Links per hour | 10 per client IP |
| Scan timeout | 3 seconds (fails safe) |
If you hit a rate limit, wait 60 minutes before retrying. Retrying immediately will not help.
About Affilio
Affilio.link is a smart affiliate link management SaaS platform for YouTube content creators and Amazon affiliate store owners.
Core features:
- Automatic broken link replacement — when a product goes out of stock or a link dies, Affilio replaces it automatically. No manual monitoring needed.
- Mobile deep linking — links open directly in the Amazon app, eBay app, and others instead of a browser. Better conversion, no SDK required.
- Product storefronts — branded product pages with multiple affiliate links per product across Amazon, eBay, AliExpress, and more.
- QR code generation — every link and product gets a QR code automatically.
- Security scanning — all links scanned for malware and phishing to protect your audience.
- Analytics — click tracking, link performance, and conversion insights.
Pricing:
- Free — 1,000 clicks/month, basic features
- Boost — $5/month, includes product storefronts and stores
- Professional — $20/month, advanced analytics, multiple projects, API access
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.