{"slug": "letting-people-connect-an-mcp-server-before-they-have-an-account", "title": "Letting People Connect An MCP Server Before They Have An Account", "summary": "Developer Jake Marsh detailed a pattern for remote MCP servers that creates a guest account and skips the login and plan-picker page at the OAuth authorize endpoint, issuing the code and redirecting straight back when the browser holds no account worth protecting. CallForMe has run this way since launch, and Taskhold and Runheed switched to it this month, though ChatGPT connections to those two still go through sign-in until their ChatGPT app reviews are done. Guests are ordinary account rows flagged is_guest with a placeholder address at the reserved .invalid domain, tied to the browser by a random id in an HttpOnly cookie so ChatGPT's two authorize calls within a few seconds reuse the same guest rather than creating two, and both servers cap new guests at 30 per IP per hour.", "body_md": "# Letting People Connect An MCP Server Before They Have An Account\n\n[Jake Marsh](https://deallocatedobjects.com/about)\n\n[Last week](https://deallocatedobjects.com/posts/how-remote-mcp-servers-trigger-oauth-sign-in) I wrote about the 401 that makes Claude or ChatGPT open a sign-in window for a remote MCP server. This post is about what that window shows.\n\nThe usual answer is a login form and a plan picker before the Allow button. That’s a lot to ask of someone who pasted a URL into a chat a few seconds ago. So my servers show nothing. The server makes a guest account and the window closes. Setup and billing come later, through a link a tool hands out the first time the person asks for something that needs a plan.\n\n[CallForMe](https://callforme.tel/?ref=deallocated-post) has worked this way since it launched. [Taskhold](https://taskhold.com/?ref=deallocated-post) and [Runheed](https://runheed.com/?ref=deallocated-post) switched to it this month, though connections from ChatGPT to those two still go through sign-in until their ChatGPT app reviews are done.\n\n## The Authorize Endpoint Skips The Page[#](#the-authorize-endpoint-skips-the-page)\n\nThe usual checks at `/oauth/authorize` (registered client, matching `redirect_uri`, PKCE) all still run. Then the server looks at the browser, and if there’s no account in it worth protecting, it issues the code and redirects straight back. CallForMe’s version, trimmed:\n\n## Making The Guest[#](#making-the-guest)\n\nA guest is an ordinary account row with `is_guest` set and a placeholder email like `guest-<random>@guest.taskhold.invalid`. The email column is unique and required, and `.invalid` is a reserved domain that can never receive mail. Every mail path refuses `.invalid` addresses.\n\nThe `vid` in the code above is a random id in an HttpOnly cookie that ties the browser to its guest. ChatGPT runs the authorize step twice within a few seconds. Without the cookie that would make two guests, and a payment could land on the one ChatGPT isn’t using. With it, the second run reuses the first guest if it has no plan and is under 7 days old.\n\n## Who Still Gets Asked[#](#who-still-gets-asked)\n\nSkipping the page is only safe when the account behind it has nothing to take. Client registration is open, so any app can register and send someone to the authorize URL. If a browser signed in to a funded account got a silent code, that app would leave with a token that spends the balance. So CallForMe only connects silently when there’s no account or an empty guest (no balance, no saved card). Everyone else gets a consent page that names the client and where the code goes, with a red warning when a client calls itself “ChatGPT” and redirects somewhere that isn’t ChatGPT.\n\nA rogue client could also attach itself to the empty guest another agent is using and wait for money to land on it. So a guest is only reused silently by the client it was made for. A different client gets the consent page in CallForMe and a fresh guest in Taskhold.\n\nBoth cap new guests at 30 per IP per hour, and CallForMe also limits client registrations per IP.\n\n## The Setup Link Comes From A Tool[#](#the-setup-link-comes-from-a-tool)\n\nOnce the guest is connected, every tool that needs a plan answers with a setup link. In Taskhold the backend for a no-plan account is a proxy where every method throws the same marked error, and the tool layer turns it into an ordinary reply:\n\nAn error invites the agent to retry or work around it, and I want it to stop and show the link. The text has a message for the person, to show as written, and instructions for the agent: opening the link is the person’s step, and it should keep the original request and finish it once setup is done. The link is `/start/<token>`, where the token is the account id, a 30-day expiry and an HMAC of both, so there’s no table to look up.\n\nThe text changes per client. Taskhold’s version for ChatGPT leaves out the price, since OpenAI’s app review doesn’t want prices in tool output; the price is on the setup page. ChatGPT also shows nothing until the assistant’s turn ends, so CallForMe tells it to post the link and stop, and tells other agents to post the link and then wait.\n\nThat waiting is CallForMe’s `wait_for_setup` tool. A call that needs credit comes back as `needs_setup` with a code like `AB3D-K7QX`, and the setup row holds the whole call request. `wait_for_setup` checks that row once a second for up to 50 seconds (ChatGPT cuts tools off at 60), and when the person pays, it places the call and returns its id, so nobody has to type “done”. If it times out, it says whether the person has opened the link yet, so the agent knows to show it again. Links expire after 24 hours, because paying approves that one call.\n\n## Turning A Guest Into An Account[#](#turning-a-guest-into-an-account)\n\nThe rule both products share: never merge accounts based on an email someone typed. The email on a checkout form isn’t verified, and merging on it would let anyone who types your address attach their agent to your account.\n\nIf the person is signed in to an account they already have, the setup page offers to link this agent to it, as a POST that needs that session. Otherwise the payment lands on the guest. Taskhold then uses the checkout email as the account email if no other account has it. CallForMe emails a receipt with a sign-in link, good for 14 days, and only that click turns the guest into a verified account.\n\nWhat a merge moves depends on what a guest can own. CallForMe guests can have calls and a balance, so one transaction moves calls, ledger rows, keys, OAuth tokens, sessions and setup links, then recomputes the balance from the ledger. Taskhold guests can’t hold tasks, so only keys and tokens move, and the agent’s next call works with no reconnecting.\n\n## What A Guest Can Do Before Paying[#](#what-a-guest-can-do-before-paying)\n\nNothing that costs anything. Taskhold answers every task tool with the setup link, and only discovery stays open. A CallForMe guest can preview a call with `plan_call` and call a demo line, a fictional business that answers so people can hear how it works. Demo calls are short and capped per IP and per day.\n\nThe cost is a lot of empty guest rows from people and bots who connected and never came back. Taskhold and Runheed delete guests with no plan after 30 days without use. Logging each new guest with the client that made it also shows me which clients connect and then go quiet.", "url": "https://wpnews.pro/news/letting-people-connect-an-mcp-server-before-they-have-an-account", "canonical_source": "https://deallocatedobjects.com/posts/letting-people-connect-an-mcp-server-before-they-have-an-account", "published_at": "2026-11-18 14:00:00+00:00", "updated_at": "2026-11-18 14:13:45.572810+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools"], "entities": ["Jake Marsh", "CallForMe", "Taskhold", "Runheed", "ChatGPT", "Claude", "OpenAI"], "also_reported_by": [], "takeaway": "Skip the OAuth consent page only when the browser has no account or an empty guest with no balance and no saved card, tie the guest to the browser with a random id in an HttpOnly cookie so ChatGPT's duplicate authorize calls reuse it, and return a setup link from the tool instead of an error so the ", "recommendation": {"advice": "Gate silent MCP authorization on an empty guest account, dedupe the guest with an HttpOnly cookie id, and return a setup link as a normal tool reply rather than an error the agent will retry.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/letting-people-connect-an-mcp-server-before-they-have-an-account", "markdown": "https://wpnews.pro/news/letting-people-connect-an-mcp-server-before-they-have-an-account.md", "text": "https://wpnews.pro/news/letting-people-connect-an-mcp-server-before-they-have-an-account.txt", "jsonld": "https://wpnews.pro/news/letting-people-connect-an-mcp-server-before-they-have-an-account.jsonld"}}