Skip to main content
Glama

OAuth2 Authorization Code Collector

Server Details

Unauthenticated OAuth2 callback collector for Tollbooth MCP services

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
lonniev/tollbooth-oauth2-collector
GitHub Stars
0
Server Listing
tollbooth-oauth2-collector
ChatGPT
–
Claude
–

TDQS

A3.8/5.0

Scored across 4 tools

Disambiguation3/5

store_code and retrieve_code are clearly distinct halves of one lifecycle, but collector_status and service_status both read as generic 'status' tools and an agent could easily probe the wrong one for a health check. Descriptions do distinguish them (pending codes/TTL vs. build sha), but the boundary is only disambiguated by reading the long text rather than the names.

Naming Consistency4/5

Two consistent patterns exist: verb_noun (store_code, retrieve_code) and noun_status (collector_status, service_status). Both are readable and snake_case throughout, with no style mixing, though having two parallel conventions is a minor deviation from a single predictable scheme.

Tool Count5/5

Four tools is a well-scoped surface for a narrowly purposed OAuth2 code collector: store, retrieve, and two status/inspection tools. Nothing feels padded or missing.

Completeness4/5

The store/retrieve lifecycle is complete (auto-delete on read means no delete tool is needed) and status covers observability. A listing or purge-stale-codes operation is absent, but that is a minor gap agents can likely work around via collector_status counts.

Available Tools

4 tools
collector_statusCollector StatusBInspect

Health check — shows the number of pending authorization codes and TTL.

Inputs: no named parameters. Returns: object

retrieve_codeRetrieve CodeAInspect

Retrieve a stored authorization code (one-time read, auto-deleted).

Called by the originating MCP server to pick up the code after the user has authorized in the browser. Returns the encrypted code which the caller decrypts using the same state token.

Inputs: state (required). Returns: object

service_statusService StatusAInspect

Report the running build so a redeploy can be verified. Free.

Delegates to the SDK's canonical build_service_status — the single source of the service_status payload shape — so this collector reports the same envelope as every other DPYC service. The load-bearing field is build_info.fastmcp_cloud_git_commit_sha: the commit Horizon actually deployed. The post-merge deploy-verify probe reads it to confirm the live service redeployed the merged sha; with no service_status tool to probe, that sha reads as <none> and an otherwise-healthy deploy is flagged as "did not land".

The vault/courier/operator fields are False/empty by construction — this is an unauthenticated community utility with no operator runtime.

Inputs: no named parameters. Returns: object

store_codeStore CodeAInspect

Store a sealed OAuth2 authorization code.

Called by the serverless callback function after the browser redirect. The state carries the patron npub, the operator npub (the PUBLIC key the code is sealed to) and the flow's one-time secret — see the SDK's pack_oauth_state. The code is sealed with NIP-44 to the operator so only that operator's nsec can open it. The Neon row is keyed by oauth_code_key(state) (patron npub + secret), so only the flow that holds the secret finds it: a link someone else built with a patron's npub files its code where that patron's flow never looks.

Inputs: code (required), state (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Secure MCP protocol proxy with OAuth2 + Dynamic Client Registration (DCR), JWT auth, RBAC, rate limiting, multi-server aggregation, and a monitoring/admin dashboard.
      38 PyPI
      13
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables OAuth 2.0-authenticated access to DeepBits services through an HTTP MCP endpoint, where clients can execute remote tools and upload files. It handles authorization, token, and revocation flows against DeepBits login and exposes protected-resource metadata for MCP clients.
      10 npm
      1
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.