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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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