Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPN_API_KEYYesYour API key (opn_…), from Settings → API Keys
OPN_BASE_URLNoAPI base URL — set this for a self-hosted instancehttps://l.opn.onl

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
shorten_urlB

Create a short link on opn.onl. Returns the short URL and its code.

list_linksA

List your short links (most recent first).

get_link_statsA

Get click analytics for a link (clicks, geography, devices, browsers, referrers).

update_linkB

Update a link's destination, title, expiry or password.

delete_linkB

Delete a short link.

get_qr_codeB

Get the QR code for a link, optionally branded with a colour, centre logo, and PNG/SVG format.

check_url_healthA

Check whether a destination URL is reachable (status + timing) before shortening it.

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/ysalitrynskyi/opn-mcp'

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