Skip to main content
Glama
shlink-mcp

shlink-mcp

by si-essence

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port. Default 3000.3000
SHLINK_URLYesRequired. Origin, http or https, no userinfo, query, or hash. Example http://127.0.0.1:8096.
MCP_TRANSPORTNostdio or http. --http overrides.
SHLINK_API_KEYYesRequired. Sent as the header X-Api-Key. Redacted in logs, errors, and tool results.
SHLINK_CONTACTNoContact token in the User-Agent. Must not contain the API key.
SHLINK_TOOLSETSNoComma list, or all. Default is the read-only set.
SHLINK_PER_MINUTENoLocal request budget. Default 30. Cache hits do not spend it.30
SHLINK_TIMEOUT_MSNoUpstream timeout. Default 20000.20000
SHLINK_ALLOW_WRITESNoMust be the literal true before a confirmed write is sent.
SHLINK_CACHE_TTL_SECNoRead cache TTL. Default 60. Writes clear the cache.60

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_domainsC

shlink_domains covers the domains toolset (1 operations). Calls go to SHLINK_URL. Authenticated routes send X-Api-Key. Health sends no key. The REST version is 3. action help with target returns one action's parameters. Actions: list.

shlink_metaB

shlink_meta covers the meta toolset (2 operations). Calls go to SHLINK_URL. Authenticated routes send X-Api-Key. Health sends no key. The REST version is 3. action help with target returns one action's parameters. Actions: mercure, health.

shlink_redirect_rulesB

shlink_redirect_rules covers the redirect_rules toolset (1 operations). Calls go to SHLINK_URL. Authenticated routes send X-Api-Key. Health sends no key. The REST version is 3. action help with target returns one action's parameters. Actions: list.

shlink_short_urlsB

shlink_short_urls covers the short_urls toolset (2 operations). Calls go to SHLINK_URL. Authenticated routes send X-Api-Key. Health sends no key. The REST version is 3. action help with target returns one action's parameters. Actions: list, get.

shlink_tagsC

shlink_tags covers the tags toolset (2 operations). Calls go to SHLINK_URL. Authenticated routes send X-Api-Key. Health sends no key. The REST version is 3. action help with target returns one action's parameters. Actions: list, stats.

shlink_visitsB

shlink_visits covers the visits toolset (6 operations). Calls go to SHLINK_URL. Authenticated routes send X-Api-Key. Health sends no key. The REST version is 3. action help with target returns one action's parameters. Actions: global, short_url, tag, domain, orphan, non_orphan.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 6 tools

Disambiguation4/5

The six tools are cleanly grouped by Shlink domain area (domains, meta, redirect rules, short URLs, tags, visits), so their broad purposes are distinct. Some internal ambiguity remains because each tool multiplexes several actions via an `action` parameter, but the tool-level boundaries are mostly clear.

Naming Consistency5/5

All tool names follow a consistent `shlink_<domain>` snake_case pattern, with no mixed conventions or vague standalone verbs. The naming makes the resource grouping predictable.

Tool Count5/5

Six tools is a well-scoped surface for the apparent Shlink API domain, especially since each tool bundles related operations. The count avoids both extreme fragmentation and excessive aggregation.

Completeness2/5

The surface is heavily read-oriented: short URLs support only list/get with no create/update/delete, domains only list, tags only list/stats, and redirect rules only list. These are significant gaps for an agent expected to manage a Shlink instance.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues