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 |
This server cannot be installed
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
- -securityAlicense-qualityGo server implementing Model Context Protocol (MCP) for filesystem operations.Last updated -418GoMIT License
- 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 -1PythonApache 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 -4GoMIT License
- AsecurityAlicenseAqualityU301 URL Shortener MCP ServerLast updated -17JavaScriptMIT License