Skip to main content
Glama
lonniev

tollbooth-shortlinks

by lonniev

Tollbooth Shortlinks

License Version Python

Don't Pester Your Customer™ (DPYC™) — Tollbooth 생태계를 위한 임시적이고 사람에게 친숙한 단축 URL입니다.

이 프로젝트의 은유는 Norton Juster가 쓰고 Jules Feiffer가 삽화를 그린 《The Phantom Tollbooth》(1961)에서 감탄을 담아 차용했습니다. Milo, Tock, Tollbooth, Dictionopolis, Digitopolis는 Juster 씨의 놀라운 상상력이 만들어낸 창작물입니다. 우리는 단지 결제 인프라를 구축했을 뿐입니다.


존재 이유

OAuth 인증 URL은 길고, 지저분하며, 복사-붙여넣기에 적대적입니다:

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=...

기존 링크 단축 서비스는 제각각 자기 방식대로 굴러가게 되었습니다. 중간 페이지를 삽입하고, 클릭을 추적하고, 계정을 요구하고, 페이월 뒤에 기능을 가두거나, 자체 일정에 따라 링크를 조용히 만료시킵니다. MCP 서버가 OAuth 절차를 위해 이용자에게 일회용 URL을 전달해야 할 때, 그런 것들은 경로에 어울리지 않습니다.

Tollbooth Shortlinks는 수익화가 없는 커뮤니티 유틸리티입니다. 모든 URL을 brave-otter-finds-gold 같은 기억하기 쉬운 네 단어 문구로 바꾸고, 매핑을 Neon Postgres에 저장하며, 24시간 후 만료시킵니다. 함께 제공되는 Val Town HTTP 핸들러가 중간 페이지 없이 302 리디렉션을 수행합니다.

Related MCP server: mcp-server-hotw

작동 방식

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   |

도구

도구

설명

create_shortlink

URL을 저장하고 기억하기 쉬운 슬러그를 받기 (또는 직접 지정)

resolve_shortlink

리디렉션 없이 슬러그가 가리키는 위치 조회

delete_shortlink

만료 전에 단축 링크 삭제

shortlink_status

활성 링크 수와 TTL을 보여주는 상태 확인

모든 도구는 무료입니다 -- 크레딧, npub, Tollbooth 원장이 필요 없습니다.

설치

pip install -e ".[dev]"

로컬 실행

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

Horizon에 배포

저장소 루트의 .fastmcp.yamlfastmcp deploy를 위한 준비가 되어 있습니다.

DPYC 정체성

Tollbooth Shortlinks는 DPYC 사회 계약에서 Advocate로 등록되어 있습니다. 피어 MCP 서버는 레지스트리 조회를 통해 해당 URL을 발견합니다:

from tollbooth import resolve_service_by_name

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

관련 저장소

Tollbooth DPYC™ 생태계:

저장소

역할

tollbooth-dpyc

핵심 -- 운영자 측 크레딧 원장, BTCPay 클라이언트, 도구 게이팅, 제약 엔진

tollbooth-authority

기관 -- 수수료 징수, Schnorr 서명, 구매 인증

dpyc-oracle

오라클 -- 사회 계약 거버넌스, 멤버십, 차단 선거

dpyc-community

레지스트리 -- 거버넌스 데이터, 운영자 카탈로그, 커뮤니티 규칙

tollbooth-sample

참조 운영자 -- 전체 Tollbooth 연결을 갖춘 날씨 API

cypher-mcp

수익화된 그래프 답변 -- Neo4j/AuraDB 기반 명명된 Cypher

schwab-mcp

Charles Schwab 중개 MCP -- 거래, 시세, 포트폴리오 접근

excalibur-mcp

eXcalibur -- X(Twitter)에 형식화된 게시

thebrain-mcp

Personal Brain MCP -- 사고 그래프, 지식 관리

taxsort-mcp

세금 분류 및 분류 MCP

optionality-mcp

옵션 분석 MCP

tollbooth-shortlinks (이 저장소)

커뮤니티 유틸리티 -- OAuth 흐름용 임시 단축 URL

tollbooth-oauth2-collector

OAuth2 콜백 수집기 -- 브라우저 기반 토큰 교환

tollbooth-pricing-studio

iOS 앱 -- 운영자 대시보드 및 가격 모델 편집기

라이선스

Apache-2.0. 자세한 내용은 LICENSE를 참조하세요.

A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
2hResponse time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to create, manage, and analyze short URLs through complete URL shortening functionality. Supports batch operations, custom domains, click statistics, and comprehensive link management.
    6
    17
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables users to manage short links via cliqo.link, including creating, listing, viewing, and revoking links, as well as checking credit balances.
    5
    13
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Create and manage short links, track clicks, and automate URL management

  • Create short links, QR codes, UTM templates, vCards, and landing pages from your AI assistant.

  • Create and manage CodeQR short links, QR codes, and analytics from any MCP client.

View all MCP Connectors

Latest Blog Posts

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/lonniev/tollbooth-shortlinks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server