Second Brain
Star on GitHubGet started

Where is
the bearer token?

The bearer token isn't a second secret you generate later. For the owner, it's the password you chose during setup. The desktop app calls it a password. The API documentation calls it a bearer token. It's the same owner credential, stored as AUTH_TOKEN.

One memory for Claude, ChatGPT, Cursor and other MCP tools, running on your own Cloudflare account.

What is the bearer token?

If you used the desktop app, it's the password you chose in the setup walkthrough. Keep it somewhere safe. You'll use it to sign in from anywhere. You can change that password later from Connection details, under Change my password. That rotates the existing owner credential. It doesn't generate a new token.

If you used one-click deployment instead of the app, you generated a token first, for example with openssl rand -base64 32, and entered it in the Cloudflare form. That value became your AUTH_TOKEN, the owner credential for the brain.

On a team brain, members don't use the owner's password. Each member gets a separate one-time sign-in token, stored only as a hash. An admin can reset it but can never reveal it again.

There's no button in the interface that generates a new bearer token for the owner. If something asks you for a bearer token, enter the password you already set.

Where do I enter it for Claude, ChatGPT or Cursor?

Most clients open a hosted sign-in page. Enter the password you chose at setup on that page. On a team brain, enter your own member token. You shouldn't have to paste the token into a URL.

If you used the desktop app, your AI connection link (the Worker URL ending in /mcp) and your dashboard address stay available under Connection details, from the menu bar or tray. In the desktop app, Connections also appears as a button in the dashboard footer.

The connect guide has the current steps for each tool. Here's the short version:

  • For Claude on the web or Claude Desktop, add the /mcp address as a custom connector, then sign in on the hosted page. Claude Desktop's local config file, which uses mcp-remote, is an alternative, and it takes an Authorization: Bearer YOUR-TOKEN header. Treat that file as a secret.
  • On ChatGPT on the web, go to Plugins, select the plus button, then Add custom MCP server. Enter the public URL ending in /mcp. If ChatGPT opens the hosted page, complete sign-in, and read the risk warning. You don't need to turn on Developer mode first. Saving memories works from ChatGPT on the Plus plan. If ChatGPT only shows Second Brain's read tools on your account, save memories in the dashboard or in Claude, then ask ChatGPT about them.
  • Cursor: add the /mcp server, complete the hosted sign-in, and install the agent instructions. If OAuth isn't offered, use a bearer header. Never put a token in the URL.
  • Claude Code and Codex CLI: the setup script in the connect guide opens the sign-in page. You enter the token only there, not through the script or your shell history.

For other MCP tools that can connect to a remote server, use the sign-in page. Use a bearer header only if the tool can't do that.

What if I am joining a team brain, not setting one up?

Use the member token you were given, not the owner's password. Never share the owner's password, and never reuse one person's token for another.

Identity follows the token, not the client. Recall searches that person's private layer plus the shared layer, and personal captures belong only to them.

If a member token is reset, reconnect the clients that used the old one. A suspended or removed member's sessions stop authorizing. Nobody else on the team is affected.

What if the tool still says it is not connected?

First, check that you entered the owner password, or your member token, and that the URL ends in /mcp with no token appended.

A missing remember or recall entry in the tool list can be lazy loading, not a failed sign-in. Ask the tool to run recall with a real question. If you get results, or a "no memories found" reply, the connection works. Only a tool call that returns an actual error means it's down.

If the browser shows a plain error instead of the sign-in form, the client may be holding an old registration. Remove the connection, add the base /mcp URL again, and complete a fresh sign-in.

If a password was changed, or a member token was reset, reconnect the clients that used the old credential.

There are more fixes in the connect guide, including a false phishing warning some browsers show on certain Cloudflare subdomains.

Why can't I put the token in the URL?

Address-bar authentication such as /mcp?token=... was removed in v3.0.0, and that's still the case in 4.0.7. URLs leak into browser history, proxy logs and referrer headers. A client that supports neither the sign-in page nor a custom HTTP header can't connect securely. Don't work around it by putting a token in the URL.

The FAQ says the same thing in shorter form: never place either kind of token in a URL.

Go deeper: the connect guide is the step-by-step for each tool. The setup guide covers choosing the password in the first place. The FAQ and the teams guide cover member tokens.

Last checked 5 December 2026.