opn-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPN_API_KEY | Yes | Your API key (opn_…), from Settings → API Keys | |
| OPN_BASE_URL | No | API base URL — set this for a self-hosted instance | https://l.opn.onl |
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 |
|---|---|
| shorten_url | Create a short link on opn.onl. Supports scheduling, click limits, folders, tags and one-time (burn-after-reading) links. Returns the short URL and its code. |
| shorten_urls_bulk | Shorten many URLs in one call. Returns the created links plus any per-URL errors. |
| list_links | List your short links (most recent first). Filter by folder, tag or free-text search. |
| update_link | Update a link's destination, title, notes, scheduling, click limit, folder or protections. Use the remove_* flags to clear a field. |
| delete_link | Delete a short link. |
| clone_link | Duplicate an existing link (same destination and settings) under a fresh short code. |
| toggle_link_pin | Pin or unpin a link (pinned links surface first in the dashboard). Toggles the current state. |
| check_alias_available | Check whether a custom alias/slug is available before shortening with it. |
| export_links_csv | Export all your links as CSV (returns the raw CSV text). |
| get_link_routing_rules | Get the smart-routing rules for a link (device/OS/country/language targeting and A/B weighting). |
| set_link_routing_rules | Replace ALL smart-routing rules for a link. Each rule sends visitors matching the given device/OS/country/language to its destination; empty match fields mean 'any'. Send an empty array to clear all rules. |
| get_link_stats | Get click analytics for a link (clicks, unique visitors, geography, cities, devices, browsers, OS, referrers). |
| get_dashboard_stats | Get account-wide analytics across all your links: totals, top links, and aggregate click breakdowns. |
| get_qr_codeB | Get the QR code for a link, optionally branded with a colour, centre logo, and PNG/SVG format. |
| check_url_health | Check whether a destination URL is reachable (status + timing) before shortening it. |
| build_utm_url | Append UTM campaign parameters to a URL. Returns the tagged URL (does not create a link). |
| preview_url_metadata | Fetch Open Graph metadata (title, description, image, site name) for a URL — handy for auto-titling a link before shortening it. |
| list_tags | List your tags (each with its link count). |
| create_tag | Create a tag for organizing links. |
| add_tags_to_linkB | Attach one or more existing tags to a link. |
| remove_tags_from_link | Detach one or more tags from a link. |
| list_folders | List your folders (each with its link count). |
| create_folder | Create a folder for grouping links. |
| move_links_to_folder | Move one or more links into a folder. |
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 2 tools
The two tools serve entirely different purposes: one manages tags on links, the other generates QR codes. There is no functional overlap.
Both tools follow a clear verb_noun pattern: 'add_tags_to_link' and 'get_qr_code'. The naming is uniform and predictable.
With only two tools, the server feels minimal. While it may cover a narrow use case, the count is borderline for a typical MCP server.
The domain appears to be link management, but essential operations like creating, retrieving, or deleting links are missing. This leaves obvious gaps.