Rebrandly MCP Tool (Go)
Generate short URLs using the Rebrandly API.
Rebrandly MCP Tool (Go)
This project implements a simple MCP server in Go that exposes a single tool (create_short_link) to generate short URLs using the Rebrandly API.
Requirements
- Go 1.20 or higher
- A Rebrandly account and an API Key
Build Instructions
- Clone this repository or save the
main.gofile. - Build the binary using:
go build -o rebrandly-tool main.go
This will generate an executable named rebrandly-tool.
Usage with Claude Desktop
Claude Desktop supports custom MCP servers. To connect this tool:
- Open your Claude Desktop configuration.
- Add the following entry under
mcpServers:
{
"mcpServers": {
"Rebrandly": {
"command": "PATH/TO/rebrandly-tool",
"args": [],
"env": {
"REBRANDLY_API_KEY": "YOUR_KEY"
}
}
}
}
🔧 Replace
PATH/TO/rebrandly-toolwith the actual path to the binary, andYOUR_KEYwith your Rebrandly API Key.
Tool Available
create_short_link
This tool generates a short URL via Rebrandly.
Parameters
| Name | Required | Description |
|---|---|---|
| destination | ✅ | The original long URL to shorten |
| workspace | ❌ | Optional workspace ID (for multi-workspace accounts) |
| slashtag | ❌ | Optional custom slug |
| title | ❌ | Optional title for the short link |
License
Licensed under MIT - see LICENSE file.
Rebrandly in MCP Registries
Related Servers
Notes MCP Server
An MCP server for interacting with Obsidian notes. Requires the OBSIDIAN_VAULT_PATH environment variable to be set.
LibreOffice
Provides tools and resources for interacting with LibreOffice documents.
RSSidian
Connects RSS feeds to Obsidian for automated content analysis and AI-powered summarization.
MetaTrader MCP Server
A Python-based MCP server that allows AI LLMs to execute trades on the MetaTrader 5 platform.
Microsoft Word
Create, read, and manipulate Microsoft Word documents.
Simple Voice MCP Server
A simple text-to-speech server that plays audio from text, supporting multiple voice models.
Flomo
Create notes in Flomo through AI chat interactions in Cursor or Claude desktop.
Trello MCP
Trello Desktop MCP server that enables Claude Desktop to interact with Trello boards, cards, lists, and team members through natural language commands.
Anki MCP Server
Integrate AI assistants with Anki, the popular spaced repetition flashcard software.
Jira MCP Server by CData
A read-only MCP server for Jira, enabling LLMs to query live Jira data using the CData JDBC Driver.