loading…
Search for a command to run...
loading…
Control every redirect from your AI assistant. Create, update, test, and monitor URL redirects through a standardized protocol — compatible with Claude, Cursor,
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.
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.
https://service.redirhub.com/mcp/v1
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.
Users belong to workspaces (organizations). Workspaces contain custom domains (Hosts) and records (Records, including redirects and short links).
Read workspace data via URI — append query params as ?key=value.
| URI | Description | Filter Params |
|---|---|---|
redirects://list |
List redirect records | filter[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://count |
Count total and paused redirects | — |
| URI | Description | Filter Params |
|---|---|---|
links://list |
List short links | Same as redirects://list |
links://{id} |
Get a single short link by hashid | — |
| URI | Description | Filter Params |
|---|---|---|
hosts://list |
List custom domains | filter[search], filter[short_url], sort, per_page, cursor |
hosts://{hostname} |
Get a domain by hostname | — |
| URI | Description |
|---|---|
workspace://current |
Current workspace info |
members://list |
List workspace members |
members://{user_id} |
Get a member by UUID |
| URI | Description |
|---|---|
account://me |
Current user profile |
| URI | Description |
|---|---|
plugins://catalog |
Available redirect plugins |
record-types://catalog |
Available redirect types and routing strategies |
| Tool | What It Does |
|---|---|
create-redirect-tool |
Create a redirect record |
create-link-tool |
Create a short link (requires host + destination) |
update-record-tool |
Update any record (redirect or short link) by hashid |
delete-record-tool |
Delete any record (redirect or short link) by hashid |
| Tool | What It Does |
|---|---|
update-host-tool |
Update domain settings |
refresh-host-tool |
Refresh DNS status |
create-host-link-tool |
Enable domain for short links |
delete-host-link-tool |
Disable short links on a domain |
| Tool | What It Does |
|---|---|
add-member-tool |
Invite a new member |
update-member-tool |
Update member role |
remove-member-tool |
Remove a member |
update-workspace-tool |
Update workspace settings |
| Tool | What It Does |
|---|---|
bulk-update-records-tool |
Apply field changes across records |
bulk-delete-records-tool |
Delete records by source_urls[] (array of source URLs) |
bulk-import-tool |
Import 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.
| Tool | What It Does |
|---|---|
update-account-tool |
Update user profile |
For bulk-update-records-tool, bulk-delete-records-tool, and bulk-import-tool:
dry_run: true to preview the affected count.dry_run: false after explicit user confirmation.Sign up at redirhub.com and create a Workspace API token from dash.redirhub.com Settings → API Tokens.
Add to your client config — the endpoint accepts standard MCP HTTP transport:
{
"mcpServers": {
"redirhub": {
"url": "https://service.redirhub.com/mcp/v1",
"headers": {
"Authorization": "Bearer rh_YOUR_API_TOKEN"
}
}
}
}
Works with Claude Desktop, Cursor, and any MCP-compatible HTTP client.
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."
"Import these 500 URLs from this JSON into my workspace."
Built by RedirHub — redirect infrastructure for teams that can't afford broken links.
Run in your terminal:
claude mcp add redirhub-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.