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:
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
:
🔧 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
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
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.
Related MCP Servers
- AsecurityAlicenseAqualityProvides a simple tool to shorten URLs using the CleanURI API, designed to run as a FastMCP server that can be integrated with agent or tool-based systems.Last updated -12Apache 2.0
- -securityAlicense-qualityThis is a Model Context Protocol (MCP) server implemented in Go, providing a tool to analyze Go pprof performance profiles.Last updated -29MIT License
- AsecurityAlicenseAqualityU301 URL Shortener MCP ServerLast updated -12JavaScriptMIT License
Shortcut MCP Serverofficial
AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that integrates Shortcut project management with AI tools like Cursor, Windsurf, and Claude Code, allowing direct access to Shortcut data via API token.Last updated -353,30267MIT License