MCP Server
Rebrandly MCP
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.
0
GitHub Stars
8/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "Rebrandly",
3 "command": "PATH/TO/rebrandly-tool",
4 "args": [],
5 "env": {
6 "REBRANDLY_API_KEY": "YOUR_KEY"
7 }
8}
JSON8 lines
README Documentation
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
Quick Install
Quick Actions
Key Features
Model Context Protocol
Secure Communication
Real-time Updates
Open Source