Yourls MCP Server

Model Control Protocol server for YOURLS URL shortening

Remote serverstreamable-http

What is the Yourls MCP MCP server?

Yourls mcp mcp server connects Yourls MCP to AI assistants that speak the Model Context Protocol. Model Control Protocol server for YOURLS URL shortening.

What Yourls MCP does

A Model Control Protocol (MCP) server for integrating YOURLS URL shortening with Claude Desktop.

YOURLS-MCP creates a bridge between Claude Desktop and your self-hosted YOURLS URL shortener instance. When configured, it allows Claude to automatically shorten URLs using your personal YOURLS installation.

Key capabilities

  • Shorten URLs using your YOURLS instance
  • Create custom short URLs with specific keywords
  • Duplicate URL Handling: — Create multiple short URLs for the same destination URL (unique to YOURLS-MCP)
  • Expanded URL information and statistics
  • Database statistics
  • Intelligent fallbacks for plugins
  • Comprehensive documentation and testing tools

Tools it exposes

Once connected, the assistant can call these 2 tools directly:

  • Installation — The Installation tool exposed by this server
  • Configuration — Create a Claude Desktop configuration file that points to your YOURLS-MCP installation:

Installing the yourls mcp mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Configuration

Before the server will start you need to supply 3 environment variables: YOURLS_API_URL, YOURLS_AUTH_METHOD, YOURLS_SIGNATURE_TOKEN. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Database servers turn schema archaeology and ad-hoc reporting into conversation, which is why they tend to be the second or third server people install. Yourls MCP sits in that group, and the shape of its toolset — Installation, Configuration — tells you what it is really for. Worth comparing against the other databases servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This is a hosted server — you point your client at an endpoint rather than running a local process, so there is nothing to keep updated on your machine.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by kesslerio.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the yourls mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
InstallationThe Installation tool exposed by this server.
ConfigurationCreate a Claude Desktop configuration file that points to your YOURLS-MCP installation:

Configuration

VariableDescriptionRequired
YOURLS_API_URLEndpoint or connection string the server talks to.Yes
YOURLS_AUTH_METHODEndpoint or connection string the server talks to.Yes
YOURLS_SIGNATURE_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Yourls MCP to Installation.
  • Use Yourls MCP to Configuration.

Frequently asked questions

It connects Yourls MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Installation, Configuration) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Yourls MCP directly.