Turn long URLs into short api.agishub.com/s/… links.
Shorten a long URL into a compact api.agishub.com/s/<code> link that redirects to the original. Links are stored for a year. Available over MCP and as a pay-per-call x402 HTTP endpoint.
Add the remote MCP server to any client, or call the x402 HTTP endpoint directly.
Claude / Cursor / Windsurf
claude mcp add --transport http agishub https://api.agishub.com/mcpmcp.json
{
"mcpServers": {
"agishub": {
"url": "https://api.agishub.com/mcp"
}
}
}x402 HTTP (pay-per-call)
curl -X POST https://api.agishub.com/paid/shorten \
-H "Content-Type: application/json" \
-d '{ "url": "https://agishub.com/tools/timezone-toolkit" }'
# → 402 Payment Required, then pay per call in USDC on Base (x402)| shorten | Shorten a long URL into a short api.agishub.com/s/<code> link that redirects. |