Tollbooth Shortlinks

MCP serverDev tools

This integration lets your AI turn long Tollbooth service addresses into short, human-friendly links. Each link is temporary rather than permanent, so it is there when you need it and does not linger afterward. That makes it easier to share or reuse a service address without handling a long, complicated string.

Use Tollbooth Shortlinks in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Tollbooth Shortlinks and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use Tollbooth Shortlinks to create shortlink

Details

Available today. Use it from your connected AI after setup.

Add the integration, then ask your AI to create a short link for a Tollbooth service you want to share or come back to later.

Tollbooth ShortlinksStart free

What your AI can do with it

  • Create short, readable links for Tollbooth services
  • Replace long, technical addresses with simple ones
  • Share links that are easy to read and type
  • Use temporary links that do not stick around permanently

Install Tollbooth Shortlinks

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user tollbooth-shortlinks 'https://tollbooth-shortlinks.fastmcp.app/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://tollbooth-shortlinks.fastmcp.app/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=tollbooth-shortlinks&config=eyJ1cmwiOiJodHRwczovL3RvbGxib290aC1zaG9ydGxpbmtzLmZhc3RtY3AuYXBwL21jcCJ9

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://tollbooth-shortlinks.fastmcp.app/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add tollbooth-shortlinks --url 'https://tollbooth-shortlinks.fastmcp.app/mcp'

    Run it once, then sign in with codex mcp login tollbooth-shortlinks if the server asks for an account.

From the project's README

As published by lonniev/tollbooth-shortlinks in README.md.

Don't Pester Your Customer™ (DPYC™) — Ephemeral, human-friendly short URLs for the Tollbooth ecosystem.

The metaphors in this project are drawn with admiration from The Phantom Tollbooth by Norton Juster, illustrated by Jules Feiffer (1961). Milo, Tock, the Tollbooth, Dictionopolis, and Digitopolis are creations of Mr. Juster's extraordinary imagination. We just built the payment infrastructure.


Why This Exists

OAuth Authorization URLs are long, ugly, and hostile to copy-paste:

https://api.schwab.com/v1/oauth/authorize?client_id=abc123&redirect_uri=https%3A%2F%2F
fastmcp.cloud%2Foauth%2Fcallback%3Fserver_id%3D...&scope=...&response_type=code&state=...

Traditional link shorteners have become opinionated. They inject interstitial pages, track clicks, require accounts, gate features behind paywalls, or silently expire links on their own schedule. When an MCP server needs to hand a patron a one-time URL for an OAuth dance, none of that belongs in the path.

Tollbooth Shortlinks is a community utility with no monetization. It turns any URL into a memorable four-word phrase like brave-otter-finds-gold, stores the mapping in Neon Postgres, and expires it after 24 hours. A companion Val Town HTTP handler does the 302 redirect with zero interstitial.

How It Works

MCP Server                    Shortlinks MCP              Val Town
    |                              |                         |
    |-- create_shortlink(url) ---->|                         |
    |<-- brave-otter-finds-gold ---|                         |
    |                              |                         |
    |  (patron clicks short URL)   |                         |
    |                              |    GET /brave-otter-..  |
    |                              |<------------------------|
    |                              |    Neon lookup           |
    |                              |-- 302 redirect -------->|
    |                              |                         |
    |        (24h later)           |                         |
    |                              |  link expires silently   |

Tools

ToolDescription
create_shortlinkStore a URL, get back a memorable slug (or supply your own)
resolve_shortlinkLook up where a slug points without redirecting
delete_shortlinkRemove a shortlink before it expires
shortlink_statusHealth check showing active link count and TTL

All tools are free -- no credits, no npub, no Tollbooth ledger required.

Install

pip install -e ".[dev]"

Run Locally

export NEON_SHORTLINKS_URL="postgres://user:pass@ep-xyz.us-east-2.aws.neon.tech/shortlinks"
python -c "from server import mcp; mcp.run()"

Deploy to Horizon

The .fastmcp.yaml at the repo root is ready for fastmcp deploy.

DPYC Identity

Tollbooth Shortlinks is registered as an Advocate in the DPYC Social Contract. Peer MCP servers discover its URL via registry lookup:

from tollbooth import resolve_service_by_name

shortlinks_url = resolve_service_by_name("tollbooth-shortlinks")
redirect_base  = resolve_service_by_name("tollbooth-shortlinks-redirect")

Related Repos

The Tollbooth DPYC™ ecosystem:

RepoRole
tollbooth-dpycThe wheel -- operator-side credit ledger, BTCPay client, tool gating, constraint engine
tollbooth-authorityThe institution -- fee collection, Schnorr signing, purchase certification
dpyc-oracleThe oracle -- Social Contract governance, membership, ban elections
dpyc-communityThe registry -- governance data, operator catalog, community rules
tollbooth-sampleReference operator -- weather API with full Tollbooth wiring
cypher-mcpMonetized graph answers -- named Cypher over Neo4j/AuraDB
schwab-mcpCharles Schwab brokerage MCP -- trading, quotes, portfolio access
excalibur-mcpeXcalibur -- formatted posting to X (Twitter)
thebrain-mcpPersonal Brain MCP -- thought graphs, knowledge management
taxsort-mcpTax sorting and classification MCP
optionality-mcpOptions analytics MCP
tollbooth-shortlinks (this repo)Community utility -- ephemeral short URLs for OAuth flows
tollbooth-oauth2-collectorOAuth2 callback collector -- browser-based token exchange
tollbooth-pricing-studioiOS app -- operator dashboard and pricing model editor

License

Apache-2.0. See LICENSE for details.

Tools it offers (4)

What this server listed when Ahel dialed its public endpoint in Sep 2026, with no key and no account of yours. The names are the server’s own.

  • create_shortlink
  • resolve_shortlink
  • delete_shortlink
  • shortlink_status

Signals

Last commit
Aug 2026
Advanced
Delivery
tollbooth-shortlinks MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-lonniev-tollbooth-shortlinks
Source
github.com/lonniev/tollbooth-shortlinks
Hosted endpoint
https://tollbooth-shortlinks.fastmcp.app/mcp