Yourls Tool MCP Server: Shorten, Expand & Stats URLs for AI

Pre-built MCP server exposing all 3 Yourls Tool operations (shorten, expand, get stats) to AI agents with zero config and full error handling.

n8n
Yourls Tool MCP Server: Shorten, Expand & Stats URLs for AI

This workflow creates a complete MCP (Model Context Protocol) server that exposes every Yourls Tool operation—URL shortening, expansion, and stats retrieval—directly to AI agents. Using n8n's MCP Trigger node as the endpoint, it integrates the official Yourls Tool node with AI expressions like $fromAI() for seamless parameter handling. No setup required beyond import and activation; simply copy the webhook URL and connect your AI agents.

Key benefits include zero-configuration deployment, native error handling with retry logic, and full Yourls API response structures. It saves hours of custom development by providing a ready-to-use server for AI-driven URL management tasks, enhancing automation in workflows, apps, or agents.

Ideal use cases: Integrate with Claude Desktop, custom AI apps, or other n8n workflows for dynamic URL shortening in emails, reports, or social media; fetch stats for link performance tracking; expand short links in data processing pipelines. Perfect for developers, marketers, and support teams automating link handling at scale.

$14.99
Last updated November 14, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Customer Support workflows

More from Saskia Kowalczyk

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.