Skip to main content
Glama
AlexGreenUK

XS Shlink MCP

by AlexGreenUK

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SHLINK_API_KEYYesShlink API key
SHLINK_BASE_URLYesShlink origin without /rest, such as https://s.example.com
SHLINK_TIMEOUT_MSNoPer-request timeout in milliseconds10000
SHLINK_API_VERSIONNoREST API major version3
SHLINK_ALLOW_DESTRUCTIVENoEnables deletion tools when set to truefalse

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
shlink_healthA

Check whether the configured Shlink instance is healthy.

list_short_urlsA

List and search short URLs, with bounded pagination.

get_short_urlA

Get details for one Shlink short code.

create_short_urlC

Create a new Shlink short URL.

edit_short_urlC

Edit an existing Shlink short URL.

delete_short_urlA

Permanently delete a short URL. Requires SHLINK_ALLOW_DESTRUCTIVE=true and confirm=true.

get_short_url_visitsC

List visits for one short URL.

list_tagsA

List Shlink tags, optionally including usage and visit statistics.

list_domainsA

List domains configured or used by Shlink.

get_visit_statsC

Get general visit statistics from Shlink.

get_redirect_rulesB

List dynamic redirect rules configured for a short URL.

set_redirect_rulesA

Replace the dynamic redirect rules for a short URL. Rules are evaluated by Shlink in their provided order.

get_tag_visitsA

List visits associated with short URLs carrying a specific tag.

get_domain_visitsB

List visits for short URLs under a specific domain.

list_orphan_visitsB

List visits that did not resolve to a valid short URL.

list_non_orphan_visitsB

List visits that belong to valid short URLs.

rename_tagA

Rename a tag everywhere it is used.

delete_tagsA

Delete one or more tags. Requires SHLINK_ALLOW_DESTRUCTIVE=true and confirm=true.

set_domain_redirectsB

Configure optional fallback redirects for the base URL, invalid short URLs, and regular 404 paths.

delete_short_url_visitsA

Permanently erase visit history for one short URL. Requires SHLINK_ALLOW_DESTRUCTIVE=true and confirm=true.

delete_orphan_visitsA

Permanently erase all orphan visits. Requires SHLINK_ALLOW_DESTRUCTIVE=true and confirm=true.

get_mercure_infoA

Get Shlink's Mercure real-time integration information when configured.

get_qr_code_urlA

Build the public Shlink QR-code image URL for a short code. This returns a URL rather than downloading binary image data.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/AlexGreenUK/XS-Shlink-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server