{"product_id":"oauth2-authorization-code-collector","title":"OAuth2 Authorization Code Collector","description":"\u003cdiv\u003e\n\u003cp\u003eOAuth2 assumes a browser. Your agent has a tool call and a patron on a phone, so the authorization code lands nowhere. The collector catches that redirect on a serverless endpoint and hands the code to the agent still waiting on it.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eIt catches the code and waits with it.\u003c\/strong\u003e\u003c\/p\u003e\n\u003c!--split--\u003e\n\u003cp\u003eA community utility that solves one narrow, genuinely irritating problem. OAuth2 was designed for browsers, and an agent authorizing against a third-party service has a tool call where the provider expects a redirect handler. The collector supplies the missing piece: a serverless callback receives the redirect from the OAuth provider, stores the code, and an MCP tool retrieves it so the agent can complete the exchange.\u003c\/p\u003e\n\u003cp\u003eTwo halves, one job. A callback endpoint that catches the browser redirect, and an MCP interface that hands the code to whoever was waiting for it. Free, shared, and used across the fleet wherever a patron has to authorize an Operator against an account of their own.\u003c\/p\u003e\n\u003cp\u003eIt pairs naturally with Tollbooth Shortlinks, since an OAuth redirect URL is exactly the sort of unreadable string a patron should never have to retype on a phone.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eAt a glance\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e🔓 Apache 2.0, every line of it\u003cbr\u003e🔌 Built on FastMCP 3.4.7 — any compliant MCP client connects\u003cbr\u003e🤝 Honors the DPYC Social Contract\u003cbr\u003e🆓 Free. Codes are held only long enough for the agent to collect them\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eLinks\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0635\/4737\/5683\/files\/GitHub-Mark.png?v=1787792523\" alt=\"GitHub\" width=\"15\" height=\"15\" style=\"vertical-align:text-bottom\"\u003e GitHub: \u003ca href=\"https:\/\/github.com\/lonniev\/tollbooth-oauth2-collector\"\u003elonniev\/tollbooth-oauth2-collector\u003c\/a\u003e\u003cbr\u003e🔌 Connect: \u003ca href=\"https:\/\/tollbooth-oauth2-collector.fastmcp.app\"\u003etollbooth-oauth2-collector.fastmcp.app\u003c\/a\u003e\u003cbr\u003e↩ Callback: \u003ca href=\"https:\/\/oauth.tollbooth-dpyc.com\"\u003eoauth.tollbooth-dpyc.com\u003c\/a\u003e\u003c\/p\u003e\n\u003c\/div\u003e","brand":"Tollbooth DPYC","offers":[{"title":"Default Title","offer_id":43716978245699,"sku":null,"price":0.0,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0635\/4737\/5683\/files\/Authorization-Code_Received.png?v=1788056797","url":"https:\/\/cafe.tollbooth-dpyc.com\/fr\/products\/oauth2-authorization-code-collector","provider":"Good Brew","version":"1.0","type":"link"}