yourls
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP port. | 3000 |
| YOURLS_URL | Yes | Required. Origin of the YOURLS server, http or https, with no userinfo, query, or hash. Example: http://127.0.0.1:8090. | |
| MCP_TRANSPORT | No | Transport mode: stdio or http. --http overrides this value. | stdio |
| YOURLS_CONTACT | No | Contact token included in the User-Agent. Must not contain a secret. | |
| YOURLS_PASSWORD | No | Password for YOURLS_USERNAME. Sent as a POST field. Redacted everywhere. | |
| YOURLS_TOOLSETS | No | Comma-separated list of toolsets, or all. Default is the read-focused set: meta,stats,links. | meta,stats,links |
| YOURLS_USERNAME | No | Account login. Set together with YOURLS_PASSWORD when no signature is set. | |
| YOURLS_SIGNATURE | No | Signature token from YOURLS Tools. Sent as the POST field signature. Redacted everywhere. | |
| YOURLS_PER_MINUTE | No | Local request budget per minute. Cache hits do not spend it. | 30 |
| YOURLS_TIMEOUT_MS | No | Upstream timeout in milliseconds. | 20000 |
| YOURLS_ALLOW_WRITES | No | Must be the literal true before a confirmed write is sent. | false |
| YOURLS_CACHE_TTL_SEC | No | Read cache TTL in seconds. Writes clear the cache. | 60 |
| YOURLS_SIGNATURE_HASH | No | Optional 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
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.
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.
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.
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.