MCP Server Studio
MCP server for opn.onl: shorten links, analytics, branded QR codes, and link management.
Registry name: io.github.ysalitrynskyi/opn-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"opn-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OPN_API_KEY": "<OPN_API_KEY>",
"OPN_BASE_URL": "<OPN_BASE_URL>"
}
}
}
}Run in your terminal:
claude mcp add opn-mcp -e OPN_API_KEY='<OPN_API_KEY>' -e OPN_BASE_URL='<OPN_BASE_URL>' -- npx -y [email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"opn-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OPN_API_KEY": "<OPN_API_KEY>",
"OPN_BASE_URL": "<OPN_BASE_URL>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"opn-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OPN_API_KEY": "<OPN_API_KEY>",
"OPN_BASE_URL": "<OPN_BASE_URL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"opn-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OPN_API_KEY": "<OPN_API_KEY>",
"OPN_BASE_URL": "<OPN_BASE_URL>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
OPN_API_KEY | Yes | Your opn.onl API key (create one under Settings → API Keys). |
OPN_BASE_URL | No | API base URL. Set this to your own instance's API for a self-hosted opn.onl. |