Connect an AI assistant to Configure
An assistant connects its user to Configure by replying with one sign-in link, and nothing else. Below is how each kind of assistant gets that link.
Which path fits
- A browser agent working for another assistant: it cannot send the requests, so it hands the 3 steps below, curl commands included, to that assistant, which sends them and passes the user the link.
- Can only fetch pages, with no assistant behind it (like a chat app’s fetch tool): it tells the user to add
https://connect.configure.devas a connector in an app that runs OAuth, like Claude or ChatGPT. - Can send HTTP requests, even if it also browses (headless: a server, a CLI, a chat assistant with an HTTP tool): the 3 steps below.
- An MCP client that can open a browser and receive a redirect: the OAuth path after the steps. Its sign-in page is the link.
- A client with no OAuth that wants a credential lasting a year: the 3 steps, then a connection token.
Headless, no OAuth: any assistant that can send an HTTP request
Sign a user in to Configure: an AI assistant gets them a sign-in link in 3 steps
- Start a session. The assistant POSTs an initialize request to
https://connect.configure.devand keeps theMcp-Session-Idheader from the response. Every request carriesContent-Type: application/jsonandAccept: application/json, text/event-stream; without the Content-Type the server reads no request and answers 401. ItsclientInfo.nameis the assistant sending it, the one the user is talking to, in place of Your product name below, and the approval screen shows that name;websiteUrlis optional. Nonotifications/initializedis needed.curl -i https://connect.configure.dev -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"Your product name"}}}' - Get the sign-in link. It POSTs a
configure_connectcall with thatMcp-Session-Id. Theconnect_urlin the result (structuredContent.connect_url) is the user’s sign-in link.curl https://connect.configure.dev -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'Mcp-Session-Id: SESSION_ID' -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"configure_connect","arguments":{}}}' - Send the link to the user. The reply is the link alone, with no explanation. They open it within 30 minutes to sign in to configure.dev and approve. A profile tool on the same session answers 401 until they do, and works once they have.
Staying connected. The approval belongs to that Mcp-Session-Id. Stored as a secret and sent on later requests, it keeps working with no new initialize, and each tool call renews it for 30 days. A sign-in link lasts 30 minutes; configure_connect on the same session returns a fresh one. A later tool result with a connect_url is Configure asking for a missing permission, and it goes to the user the same way.
MCP clients that can open a browser and receive a redirect, like Claude, ChatGPT, Cursor, Codex and Claude Code
OAuth: the client’s sign-in page is the link
- Start a session. An initialize request to
https://connect.configure.devwith no token answers 200 with anMcp-Session-Id. - Find the authorization server. A profile tool call with no token answers 401. Its
WWW-Authenticateheader points tohttps://connect.configure.dev/.well-known/oauth-protected-resource, which nameshttps://connect.configure.devas the authorization server. - Open the sign-in page for the user. The client registers at
https://connect.configure.dev/oauth/registerwith itsredirect_uris(https, or http on 127.0.0.1 or localhost),token_endpoint_auth_methodnoneandgrant_typesauthorization_codeandrefresh_token. It openshttps://connect.configure.dev/oauth/authorizewith PKCE (S256),scopeprofile.read profile.search profile.remember profile.commitandresourceset tohttps://connect.configure.dev. The user signs in to configure.dev and approves there.POST https://connect.configure.dev/oauth/register {"client_name":"CLIENT_NAME","redirect_uris":["http://127.0.0.1:PORT/callback"],"token_endpoint_auth_method":"none","grant_types":["authorization_code","refresh_token"],"response_types":["code"]} https://connect.configure.dev/oauth/authorize?response_type=code&client_id=CLIENT_ID&redirect_uri=REDIRECT_URI&scope=profile.read%20profile.search%20profile.remember%20profile.commit&state=STATE&code_challenge=CHALLENGE&code_challenge_method=S256&resource=https%3A%2F%2Fconnect.configure.dev - Use the token. The code goes to
https://connect.configure.dev/oauth/token. The access token rides on every request asAuthorization: Bearer, and the refresh token renews it.
A client with no browser or redirect URI of its own gets the user the same sign-in through the 3 steps above: configure_connect works on the same session with no OAuth.
No OAuth, and a credential that lasts a year: an app with only a server setting, or an assistant that goes more than 30 days between calls
No OAuth: a connection token from the same link
- Get the user the sign-in link. The 3 steps above return a
connect_urlfor the user to open. - The user mints a token. After they approve, the same page offers a connection token. It lasts a year and covers the profile tools.
- The client uses it. As an
Authorization: Bearer <token>header onhttps://connect.configure.dev, or as the server URLhttps://connect.configure.dev/u/<token>when the client takes only a URL. Anyone holding the token has the connection, so it is kept like a password.
Here for your own account?
Open my Configure accountCame here from an AI app? Ask it to connect Configure. It sends you a link to approve.