Sponsored by Deepsite.site

Redirhub Mcp Server

Created By
redirhub10 days ago
MCP server for RedirHub — AI-powered URL redirect management and link shortener. Create, update, test, and monitor redirects via Claude, Cursor, and any MCP client. Alternative to Bitly with custom domains and team collaboration.
Overview

RedirHub MCP Server

License: MIT PRs Welcome MCP Server Built for AI Agents

Control every redirect from your AI assistant. Create, update, test, and monitor URL redirects through a standardized protocol — compatible with Claude, Cursor, and any MCP client.

RedirHub is redirect infrastructure. This MCP server gives your AI agents direct access to that infrastructure: manage redirects and short links, update domains, invite team members — all without opening a dashboard.

Features

  • AI-Native Redirect Management — Create, update, and test URL redirects through natural language. No dashboard required.
  • Custom Short Links — Generate branded short URLs with your own domains. Full alternative to Bitly.
  • DNS Verification — Automatic DNS correctness checks so your redirects always resolve.
  • Team Collaboration — Multi-member workspace with role-based access control.
  • Analytics Ready — Track redirect click performance through the RedirHub dashboard.
  • MCP Protocol — Compatible with Claude, Cursor, Cline, and any MCP client.

Endpoint

https://api.redirhub.com/mcp/v1

Authentication

Generate a Workspace API token from dash.redirhub.com (Settings → API Tokens) and pass it as a Bearer token:

Authorization: Bearer rh_xxx...xxxx

Available on all plans, including Free.

Server Info

  • Name: Redirect Infra Public API
  • Version: 1.0.1
  • Transport: Streamable HTTP (JSON-RPC 2.0)

Data Model

Users belong to workspaces (organizations). Workspaces contain custom domains (Hosts) and records (Records, including redirects and short links).

Resources

Read workspace data via URI — append query params as ?key=value.

Redirect Records

URIDescriptionFilter Params
redirects://listList redirect recordsfilter[host], filter[search], filter[tags], filter[dns_correct], filter[created_after], filter[created_before], sort, per_page, cursor
redirects://{id}Get a single redirect by hashid
redirects://countCount total and paused redirects
URIDescriptionFilter Params
links://listList short linksSame as redirects://list
links://{id}Get a single short link by hashid

Domains

URIDescriptionFilter Params
hosts://listList custom domainsfilter[search], filter[short_url], sort, per_page, cursor
hosts://{hostname}Get a domain by hostname

Workspace & Members

URIDescription
workspace://currentCurrent workspace info
members://listList workspace members
members://{user_id}Get a member by UUID

Account

URIDescription
account://meCurrent user profile

Catalogs

URIDescription
plugins://catalogAvailable redirect plugins
record-types://catalogAvailable redirect types and routing strategies

Tools

Record Management

ToolWhat It Does
create-redirect-toolCreate a redirect record
create-link-toolCreate a short link (requires host + destination)
update-record-toolUpdate any record (redirect or short link) by hashid
delete-record-toolDelete any record (redirect or short link) by hashid

Domain Management

ToolWhat It Does
update-host-toolUpdate domain settings
refresh-host-toolRefresh DNS status
create-host-link-toolEnable domain for short links
delete-host-link-toolDisable short links on a domain

Workspace & Members

ToolWhat It Does
add-member-toolInvite a new member
update-member-toolUpdate member role
remove-member-toolRemove a member
update-workspace-toolUpdate workspace settings

Bulk Operations

ToolWhat It Does
bulk-update-records-toolApply field changes across records
bulk-delete-records-toolDelete records by source_urls[] (array of source URLs)
bulk-import-toolImport records from JSON rows[]

Bulk import format: Each row: {url, destination, type?, handler?, title?, description?, tags?, destinations?}. handler is "redirect" or "short-url". Supports mode=create|upsert and dry_run.

Account

ToolWhat It Does
update-account-toolUpdate user profile

⚠️ Bulk Operation Safety

For bulk-update-records-tool, bulk-delete-records-tool, and bulk-import-tool:

  1. ALWAYS invoke first with dry_run: true to preview the affected count.
  2. Display the affected count to the user.
  3. Only re-invoke with dry_run: false after explicit user confirmation.

Quick Start

1. Get Your API Token

Sign up at redirhub.com and create a Workspace API token from dash.redirhub.com Settings → API Tokens.

2. Configure Your MCP Client

Add to your client config — the endpoint accepts standard MCP HTTP transport:

{
  "mcpServers": {
    "redirhub": {
      "url": "https://api.redirhub.com/mcp/v1",
      "headers": {
        "Authorization": "Bearer rh_YOUR_API_TOKEN"
      }
    }
  }
}

Works with Claude Desktop, Cursor, and any MCP-compatible HTTP client.

3. Use It

Once connected, tell your AI agent what you need:

"Create a 301 redirect from /old-blog to /blog on my domain."

"List all short links on my marketing domain."

"Import these 500 URLs from this JSON into my workspace."

Documentation


Built by RedirHub — redirect infrastructure for teams that can't afford broken links.

Server Config

{
  "mcpServers": {
    "redirhub": {
      "url": "https://api.redirhub.com/mcp/v1",
      "headers": {
        "Authorization": "Bearer rh_YOUR_API_TOKEN"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Serper MCP ServerA Serper MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
DeepChatYour AI Partner on Desktop
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
CursorThe AI Code Editor
Amap Maps高德地图官方 MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
WindsurfThe new purpose-built IDE to harness magic
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Playwright McpPlaywright MCP server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.