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.go
file. - 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-tool
with the actual path to the binary, andYOUR_KEY
with 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
Obsidian
Interact with your Obsidian vault using the Local REST API plugin, enabling LLMs to access and manage your notes.
Google Sheets
Integrate with Google Sheets to read, write, and manage spreadsheet data.
Prolific MCP Server
A server to manage studies, recruit participants, and collect data on the Prolific platform.
Notion
Connects AI assistants to your Notion workspace to search and manage pages, databases, and content.
Trello MCP
Trello Desktop MCP server that enables Claude Desktop to interact with Trello boards, cards, lists, and team members through natural language commands.
Screen View
Capture and analyze screenshots using the Claude Vision API.
MCP Currency Converter Server
Provides real-time currency conversion and exchange rate data using the Frankfurter API.
Rebrandly
Generate short URLs using the Rebrandly API.
iMCP
A macOS app that connects your digital life with AI, providing access to Calendar, Contacts, Location, Maps, Messages, Reminders, and Weather services.
AI Tutor
An AI-powered tutor for higher education that supports both Claude and OpenAI models through MCP.