RedirHub MCP Server
OfficialRedirHub MCP Server
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, query analytics — 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.
Analytics & Logs — Query click statistics and raw access logs directly from your AI assistant.
Team Collaboration — Multi-member workspace with role-based access control.
MCP Protocol — Compatible with Claude, Cursor, Cline, and any MCP client.
Related MCP server: real-browser-mcp
Endpoint
https://api.redirhub.com/mcp/v1Authentication
Generate a Workspace API token from dash.redirhub.com (Settings → API Tokens) and pass it as a Bearer token:
Authorization: Bearer ***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
URI | Description | Filter Params |
| List redirect records |
|
| Get a single redirect by hashid | — |
| Count total and paused redirects | — |
Short Links
URI | Description | Filter Params |
| List short links | Same as |
| Get a single short link by hashid | — |
Domains
URI | Description | Filter Params |
| List custom domains |
|
| Get a domain by hostname | — |
Workspace & Members
URI | Description |
| Current workspace info |
| List workspace members |
| Get a member by UUID |
Account
URI | Description |
| Current user profile |
Catalogs
URI | Description |
| Available redirect plugins |
| Available redirect types and routing strategies |
Tools
Record Management
Tool | What It Does |
| Create a redirect record |
| Create a short link (requires host + destination) |
| Update any record (redirect or short link) by hashid |
| Delete any record (redirect or short link) by hashid |
Domain Management
Tool | What It Does |
| Connect a domain to your workspace. Supports root ( |
| Update domain settings (currently HTTPS toggle only) |
| Refresh DNS status for a domain |
Workspace & Members
Tool | What It Does |
| Invite a new member |
| Update member role |
| Remove a member |
| Update workspace settings |
Account
Tool | What It Does |
| Update user profile |
📊 Statistics (read-only)
Tool | What It Does |
| Get analytics (click) data. Set |
| Get raw HTTP request logs. Returns individual visit records (timestamp, IP, user agent, country, browser, referrer, etc.). Optional filters: |
Bulk Operations
Tool | What It Does |
| Apply field changes across records |
| Delete records by |
| Import records from JSON |
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.
⚠️ Bulk Operation Safety
For bulk-update-records-tool, bulk-delete-records-tool, and bulk-import-tool:
ALWAYS invoke first with
dry_run: trueto preview the affected count.Display the affected count to the user.
Only re-invoke with
dry_run: falseafter 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-blogto/blogon my domain."
"List all short links on my marketing domain."
"Show me click stats for the past 30 days."
"Import these 500 URLs from this JSON into my workspace."
Documentation
API Reference — Full RedirHub API docs
dash.redirhub.com — Web dashboard
MCP Specification — Protocol docs
Built by RedirHub — redirect infrastructure for teams that can't afford broken links.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/redirhub/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server