About Rebrandly MCP Tool (Go)
Rebrandly MCP Tool (Go) is a Go MCP server that creates short URLs through the Rebrandly API. It is for users who want to generate links from an MCP-compatible client, with optional workspace and link metadata.
Key features
- 01Create short URLs with Rebrandly
- 02Set an optional workspace
- 03Choose a custom slug and title
Use cases
- 01Shorten a destination URL from an MCP client
- 02Create a link with a chosen slug or title
MCP support
Exposes the create_short_link tool to MCP clients. It sends the destination and optional link settings to the Rebrandly API.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMERebrandly 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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.