MCP server
Opn MCP
MCP server for opn.onl: shorten links, analytics, branded QR codes, and link management.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.2.0
- Listing updated
- 5 days ago
About Opn MCP
Opn MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add opn-mcp --env OPN_API_KEY='<OPN_API_KEY>' -- npx -y opn-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"opn-mcp": {
"command": "npx",
"args": [
"-y",
"opn-mcp"
],
"env": {
"OPN_API_KEY": "<OPN_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"opn-mcp": {
"command": "npx",
"args": [
"-y",
"opn-mcp"
],
"env": {
"OPN_API_KEY": "<OPN_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"opn-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"opn-mcp"
],
"env": {
"OPN_API_KEY": "<OPN_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"opn-mcp": {
"command": "npx",
"args": [
"-y",
"opn-mcp"
],
"env": {
"OPN_API_KEY": "<OPN_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"opn-mcp": {
"command": "npx",
"args": [
"-y",
"opn-mcp"
],
"env": {
"OPN_API_KEY": "<OPN_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
OPN_API_KEYYour opn.onl API key (create one under Settings → API Keys).RequiredOPN_BASE_URLAPI base URL. Set this to your own instance's API for a self-hosted opn.onl.
Pricing
Open source
Opn MCP FAQ
Is Opn MCP free?
Yes. Opn MCP is open source, so you can use and self-host it for free.
How do I add Opn MCP to Claude Code?
Run this command in your terminal: claude mcp add opn-mcp --env OPN_API_KEY='<OPN_API_KEY>' -- npx -y opn-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.