Skip to main content
Glama
yourls

yourls

by si-essence

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP port.3000
YOURLS_URLYesRequired. Origin of the YOURLS server, http or https, with no userinfo, query, or hash. Example: http://127.0.0.1:8090.
MCP_TRANSPORTNoTransport mode: stdio or http. --http overrides this value.stdio
YOURLS_CONTACTNoContact token included in the User-Agent. Must not contain a secret.
YOURLS_PASSWORDNoPassword for YOURLS_USERNAME. Sent as a POST field. Redacted everywhere.
YOURLS_TOOLSETSNoComma-separated list of toolsets, or all. Default is the read-focused set: meta,stats,links.meta,stats,links
YOURLS_USERNAMENoAccount login. Set together with YOURLS_PASSWORD when no signature is set.
YOURLS_SIGNATURENoSignature token from YOURLS Tools. Sent as the POST field signature. Redacted everywhere.
YOURLS_PER_MINUTENoLocal request budget per minute. Cache hits do not spend it.30
YOURLS_TIMEOUT_MSNoUpstream timeout in milliseconds.20000
YOURLS_ALLOW_WRITESNoMust be the literal true before a confirmed write is sent.false
YOURLS_CACHE_TTL_SECNoRead cache TTL in seconds. Writes clear the cache.60
YOURLS_SIGNATURE_HASHNoOptional signature hash algorithm: md5, sha256, sha384, or sha512. Used with YOURLS_SIGNATURE to send timestamp plus hash(timestamp + token).

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
yourls_linksA

yourls_links covers the links toolset (3 operations). Auth is a POST body signature from YOURLS_SIGNATURE, or username and password from YOURLS_USERNAME and YOURLS_PASSWORD. YOURLS_URL is required. Requests go to yourls-api.php with format=json. action help with target returns one action's parameters. Writes need confirm set to the boolean true and YOURLS_ALLOW_WRITES=true. Omit confirm for a dry-run preview that sends nothing. Actions: shorturl, expand, url_stats.

yourls_metaC

yourls_meta covers the meta toolset (1 operations). Auth is a POST body signature from YOURLS_SIGNATURE, or username and password from YOURLS_USERNAME and YOURLS_PASSWORD. YOURLS_URL is required. Requests go to yourls-api.php with format=json. action help with target returns one action's parameters. Actions: version.

yourls_statsB

yourls_stats covers the stats toolset (2 operations). Auth is a POST body signature from YOURLS_SIGNATURE, or username and password from YOURLS_USERNAME and YOURLS_PASSWORD. YOURLS_URL is required. Requests go to yourls-api.php with format=json. action help with target returns one action's parameters. Actions: stats, db_stats.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 3 tools

Disambiguation4/5

The three tools split by resource (links, meta, stats), which is mostly clear. The only fuzziness is that url_stats lives under yourls_links while yourls_stats handles stats and db_stats, so an agent could hesitate between per-link stats and global stats.

Naming Consistency5/5

All three tools follow the identical yourls_<resource> pattern with no camelCase or verb-style deviations. The grouping convention is predictable and readable even though it is noun-based rather than verb_noun.

Tool Count3/5

Three tools wrapping six underlying YOURLS actions is on the thin side, and yourls_meta is essentially a single version call. It is defensible for a small URL-shortener API but feels under-populated.

Completeness3/5

Core read/write actions (shorturl, expand, stats, db_stats, version) are covered, but there is no link lifecycle management such as editing or deleting short URLs, which YOURLS supports. Agents hitting those workflows will dead-end.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues