# Configure documentation Configure is infrastructure to connect agents, apps, and chats. It provides a Plaid-like experience directly inside AI platforms so users can connect agents they use. ## Supported agents and platforms Configure supports ChatGPT, Claude, Gemini, Grok, and other major AI platforms. Any agent that can connect to an MCP server or call an API can use Configure as well. Official OpenAI and Anthropic plugins make connecting those agents easier. ## How connections work AI platforms are disconnected. Users currently carry context between them with copy and paste, extensions, and separate apps. Platforms integrate Configure to let users connect agents and apps inside the products they already use. With user approval, an agent can inherit context from other connected agents, apps, and chats. Context it contributes can also become available to other approved agents. These connections continue across conversations: agents can retrieve updates and contribute new context through API calls, MCP tools, and platform integrations. Manual imports add existing context; an import alone does not synchronize its source. Configure handles identity, permissions, synchronization, and access across these connections. Users can also connect applications such as Gmail. They connect the app once, then approved agents can use that existing connection without asking them to authorize the app again. Connected context stays synchronized, with access governed by the user's permissions. ## Context across connections Memory is a byproduct of connecting agents: what one agent learns can become useful to another. Profiles, preferences, and saved memories are forms of context carried by the infrastructure. Configure transfers approved context between agents, apps, and chats. Platforms host the connection experience. MCP Events defines subscription-based delivery of updates from an MCP server to a connected agent. See [ongoing connections and MCP events](https://docs.configure.dev/mcp/overview.md#ongoing-connections-and-mcp-events) for the supported delivery model and Configure endpoint requirements. ## For AI agents integrating Configure - Any assistant that can send an HTTP POST request can connect itself at `https://connect.configure.dev` (the same server as `https://mcp.configure.dev`): `initialize` with a `clientInfo` naming the assistant (and its `websiteUrl`, whose favicon appears beside the name), then `configure_connect`, which returns a `connect_url` the user opens to approve. See [Any assistant can connect itself](https://docs.configure.dev/mcp/overview.md#any-assistant-can-connect-itself). - For an MCP-compatible client such as Claude, Cursor, or Codex, configure the remote server as `https://mcp.configure.dev`. The client handles OAuth discovery and PKCE. No application code or manual token entry is required. - If you are a person's own agent with no browser and no OAuth client (a server, a CLI, a scheduled job), follow [Connect a headless agent](https://docs.configure.dev/mcp/headless.md). The person approves a connection URL. Store the resulting credentials to retain access across restarts. - If you own the app and the model loop, follow the [Quickstart](https://docs.configure.dev/quickstart.md). Install `configure` and run `npx configure setup --users`. Key each user by your own stable id with `configure.profile({ externalId })`. Add a chip that links to a route on your server, which calls `profile.connect({ returnUrl })` and redirects to the `connect_url` it returns. Store the user's context when they come back, re-read it when a `profile.updated` webhook says it changed, and inject it on the first turn of every session. - An app with no accounts of its own uses [Sign in with Configure](https://docs.configure.dev/sso.md) as its account system: a `Configure {Agent}` sign-in button, the OAuth code exchanged on your backend, and the tokens stored server-side. `npx configure verify` proves the credentials work end to end, `npx configure add callback --framework next|express|vite` writes the callback and the exchange for you, and `npx configure add origin ` registers that callback on the same OAuth client before deployment. Python backends get the same commands from `configure-ai`: `configure-ai verify`, `configure-ai add-callback --framework fastapi|flask|django`, and `configure-ai add-origin `. - Select the authentication and profile-access methods required by your app. SSO provides authentication. The SDK and MCP provide profile access. See [Variations](https://docs.configure.dev/variations.md). - Give the model the `configure_*` tools through a per-user `profile.mcpSession()`, and reuse it until its `session.expires_at` ([Quickstart, step 7](https://docs.configure.dev/quickstart.md#7-give-the-model-the-configure-tools)). `profile.tools()` with `profile.executeTool()` serves only the profile tools on a profile keyed by `externalId`. Commit every turn with `profile.commit({ messages })`. The first success signal is a real turn where the assistant answers from the user's approved Configure context. - Read the profile before the first message. Use relevant context to inform tone, technology choices, preferences, and goals. Save a durable fact the moment the user states one. Delete on request. Route imports and app connections through the links Configure creates; never build those links yourself. - If you are a coding agent (Claude Code, Codex, Cursor, and the like) with `configure_*` tools available, read [Connect your coding agent](https://docs.configure.dev/mcp/coding-agents.md) and follow it: read the profile at session start, search before a preference-sensitive choice, and save durable preferences and cross-repo lessons as you learn them. ## Keys and secrets - Secret keys (`sk_`) and OAuth access and refresh tokens stay on your server. They never go into a prompt or the browser. - Publishable keys (`pk_`) are for the hosted browser UI. - For app-managed users, derive `externalId` or `X-User-Id` from your authenticated server session. These values select a profile within your developer account; they do not authenticate the user. Never let a request-body or model-supplied ID select another user. For OAuth access, Configure resolves the user from the access token. ## Reference files - The complete text of every page, in one file: https://docs.configure.dev/llms-full.txt - The OpenAPI spec: https://docs.configure.dev/openapi.yaml - Clean Markdown for any page: add `.md` to its URL. ## Docs ### Get started - [Connect agents, apps, and chats](https://docs.configure.dev/index.md): Configure is infrastructure to connect agents, apps, and chats. The user approves the connection in a flow inside the AI platform they are using, and your agent knows them from the first message. - [Connect your app to your users' context](https://docs.configure.dev/quickstart.md): Configure connects your agent to the user's other agents, apps, and chats. - [Let a coding agent add Configure](https://docs.configure.dev/skills.md): A skill is a page written for an agent. You paste its link into the agent, and the agent does the work. Nothing to install. Configure publishes two. - [Add Configure to onboarding](https://docs.configure.dev/onboarding.md): This is the [Quickstart](https://docs.configure.dev/quickstart.md) inside an onboarding step, a settings row or a first-run screen. The chip and the redirect work as in Quickstart steps 2 and 3. - [Ask existing users to connect](https://docs.configure.dev/existing-users.md): Onboarding only reaches new users. People who signed up before you added Configure, or who pressed **Not now**, need another way in. - [Personalize your app from the user's context](https://docs.configure.dev/personalization.md): Once a user connects, your server keeps a copy of their context ([Quickstart, step 6](https://docs.configure.dev/quickstart.md#6-keep-their-context-current)). This page shows what to build from it. - [Components](https://docs.configure.dev/components.md): The [Quickstart](https://docs.configure.dev/quickstart.md) uses the simplest entry point: your own chip, linked to a route on your server that sends the user to Configure's page. ### Go deeper - [Connected apps and actions](https://docs.configure.dev/connectors.md): When a user connects an app on Configure's page, its tools appear on their MCP session. You do not have to do anything. - [Sign in with Configure](https://docs.configure.dev/sso.md): **What it is.** Configure is your account system. The user signs in on Configure's hosted flow and comes back to your app with a user token instead of an externalId. You never store a password. - [Sign in with Configure over OpenID Connect](https://docs.configure.dev/oidc.md): If you already have sign-in (Auth.js, Clerk, Auth0, Better Auth or your own), add Configure as one more OpenID Connect provider. - [Hosted connection flow](https://docs.configure.dev/hosted-flow.md): The hosted flow is where a person brings in context, connects apps, and approves your agent. People can also connect an agent directly over [MCP](https://docs.configure.dev/mcp/overview.md). - [Connect over MCP](https://docs.configure.dev/mcp/overview.md): Configure is one MCP server. The same configure_* tools are at two endpoints. Which one you use depends on who the agent acts for. - [Configure Memory for Claude](https://docs.configure.dev/mcp/claude.md): Configure Memory is the Claude connector for Configure. It connects Claude to profile context you choose to share, including preferences, projects, decisions, and facts saved by other approved agents. - [Sign users in over SMS or voice](https://docs.configure.dev/message-agents.md): A text thread has no screen. There is no card to mount and no host script to load. Everything on this page is a server-side call or the text you send back. - [Variations](https://docs.configure.dev/variations.md): The [Quickstart](https://docs.configure.dev/quickstart.md) keys every user's context by your own user id. Until that user links a real Configure account, that context is **yours**. - [Hand work between agents](https://docs.configure.dev/projects.md): Without a shelf, switching agents mid-project means pasting transcripts, restating decisions, and re-explaining where you left off. - [Connect your coding agent](https://docs.configure.dev/mcp/coding-agents.md): Each coding agent learns about you from scratch. Connect them to Configure once and, with your approval, they share one context. - [Connect a headless agent](https://docs.configure.dev/mcp/headless.md): Use this page when an agent runs on a server, in a CLI, or as a scheduled job, and has no browser or OAuth client. It is written for the agent to follow. ### Reference - [API reference](https://docs.configure.dev/reference/api.md): Base URL: https://api.configure.dev. Every server-side request carries two headers: - [Troubleshooting](https://docs.configure.dev/troubleshooting.md): Each bold label below is the exact text you will see in a stack trace, a tool result, or a JSON-RPC error. - [What your users approve, and what stays where](https://docs.configure.dev/trust.md): Configure promises each user that nothing about them moves without their say. Your integration keeps that promise by respecting a few boundaries. Configure enforces every one of them. ### Not in the sidebar: legacy and invite-only pages - [Connect a user's assistants and apps from your app](https://docs.configure.dev/guides/connect-flow.md): **Invite-only** Configure enables this flow for approved partners. Keys without partner access receive 404 on session creation. Partner installations without the connect flow receive 400. - [Import user context without a Configure account](https://docs.configure.dev/guides/import-only-flow.md): **Invite-only** Configure enables this flow for approved partners. A secret key alone does not grant access. Keys without partner access receive 404 from these endpoints. - [Give a user a Configure account from inside your app](https://docs.configure.dev/guides/linked-account-flow.md): **Invite-only** Configure enables this flow for approved partners. Keys without partner access receive 404 when creating a session. Partner installations without this flow receive 400. - [Import existing context](https://docs.configure.dev/imports.md): Import transcripts from another assistant or context your app already stores. The imported context becomes available in the user profile before the first conversation with your agent. For the complete text of every page in one file, read https://docs.configure.dev/llms-full.txt