Skip to main content
Glama

YOURLS-MCP

by kesslerio

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
YOURLS_API_URLNoURL to your YOURLS API endpoint
YOURLS_PASSWORDNoPassword for password-based auth
YOURLS_USERNAMENoUsername for password-based auth
YOURLS_AUTH_METHODNoAuthentication method (signature or password)signature
YOURLS_SIGNATURE_TTLNoTime-to-live for signatures in seconds43200
YOURLS_SIGNATURE_TOKENNoSecret token for signature-based auth

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
shorten_url

Shorten a long URL using YOURLS

expand_url

Expand a short URL to its original long URL

url_stats

Get statistics for a shortened URL

db_stats

Get global statistics for the YOURLS instance

url_analytics

Get detailed click analytics for a shortened URL within a date range

contract_url

Check if a URL has already been shortened without creating a new short URL

update_url

Update an existing short URL to point to a different destination URL

change_keyword

Change the keyword of an existing short URL

get_url_keyword

Get the keyword(s) for a long URL

delete_url

Delete a short URL

list_urls

Get a list of URLs with sorting, pagination, and filtering options

generate_qr_code

Generate a QR code for a shortened URL

create_custom_url

Create a custom short URL with a specific keyword, even for URLs that already exist in the database

shorten_with_analytics

Shorten a long URL with Google Analytics UTM parameters

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/kesslerio/yourls-mcp'

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