Documentation
Connect any MCP-capable AI client to your team's shared workspace.
Quick start
- Go to the dashboard and create a workspace. You get an owner token. Copy it now; it is shown only once.
- Add teammates from the dashboard and give each one their own member token with the right role.
- Each person adds
https://mcp.sharedteambrain.com/mcpto their AI client. Claude and ChatGPT open a SharedTeamBrain sign-in page; paste your member token there once and choose the access level.
https://mcp.sharedteambrain.com/mcpSign-in: one-click OAuth for Claude and ChatGPT, or an
Authorization: Bearer stb_… header for other clients.Claude.ai and Claude Desktop (one click)
- In Claude, open Settings → Connectors and choose Add custom connector.
- Name it SharedTeamBrain and enter the URL
https://mcp.sharedteambrain.com/mcp. Leave the OAuth client fields empty. - Select Connect. A SharedTeamBrain page opens: paste your
stb_…member token, choose Read-only or Read/Write, and select Approve. - You're sent back to Claude and the SharedTeamBrain tools appear. Connectors you add on claude.ai are also available in Claude Desktop and the mobile apps.
On Team and Enterprise plans, an owner may need to add the connector for the organization first.
Claude Code
claude mcp add --transport http shared-team-brain https://mcp.sharedteambrain.com/mcp
Then run /mcp in Claude Code, pick shared-team-brain, and choose Authenticate. Your browser opens the same sign-in page. Prefer a static token? Add --header "Authorization: Bearer stb_YOUR_TOKEN" instead.
ChatGPT (one click)
- In ChatGPT, open Settings → Apps & Connectors. If your plan requires it, turn on Developer mode under Advanced settings.
- Choose Create and enter the name SharedTeamBrain, the MCP server URL
https://mcp.sharedteambrain.com/mcp, and authentication OAuth. - Select Create, then sign in on the SharedTeamBrain page with your member token and approve.
- Enable the connector in a chat from the + menu. ChatGPT asks before running write tools such as
upsert_team_note,archive_team_note, andupload_team_image.
OpenAI Responses API
For your own agents, pass the server as a remote MCP tool with a member token in headers:
{
"type": "mcp",
"server_label": "shared_team_brain",
"server_url": "https://mcp.sharedteambrain.com/mcp",
"headers": { "Authorization": "Bearer stb_YOUR_TOKEN" },
"require_approval": { "always": { "tool_names": ["upsert_team_note", "archive_team_note", "restore_team_note", "upload_team_image", "update_team_image_note", "upload_team_file", "create_client_space", "invite_team_member", "switch_workspace", "create_workspace"] } }
}
Cursor and other clients
Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project). Keep the token out of shared repositories.
{
"mcpServers": {
"shared-team-brain": {
"url": "https://mcp.sharedteambrain.com/mcp",
"headers": { "Authorization": "Bearer stb_YOUR_TOKEN" }
}
}
}
Any client that supports OAuth with Client ID Metadata Documents can use one-click sign-in instead. SharedTeamBrain does not offer Dynamic Client Registration.
Access levels
- Read-only (
notes:read): list, read, and search notes. - Read/Write (
notes:read notes:write): also create and update notes.
What a connection can do is the smaller of the access you approved and your workspace role, so a viewer always gets read-only. Revoking a member in the dashboard immediately disconnects every app they approved.
Auto-Pilot: make your AI use the team brain on its own
Once connected, SharedTeamBrain tells Claude, ChatGPT, and Cursor how to keep the team memory current without you naming tools:
- Session warm-up. The first time you ask about client rules, SOPs, project status, or handoffs in a conversation, the assistant quietly calls
get_handoff_digest(last 48 hours) so its answer includes your teammates' latest changes. - Decision capture. When you state a new rule, client preference, pricing change, or finished handoff, it saves or updates the right note with
upsert_team_noteand tells you in one line what it logged. It won't log small talk, undecided drafts, anything you ask it to keep out, or secrets such as passwords and API keys. - Screenshot memory. When you share a screenshot of a workflow, dashboard, error, or SOP step, it offers to save it with
upload_team_imageand a description so teammates on any AI can find it.
Assistants follow server guidance to different degrees. For the most reliable behavior, use Copy Custom Instructions in the dashboard and paste the text into ChatGPT's Custom Instructions or your Claude Project's instructions. You can always say "don't log this" and it won't.
Recovery, history, and deletion (self-serve)
- Lost owner token: on the dashboard sign-in page, use Lost owner access? Email a recovery link. The single-use link (15 minutes) gives you a new owner token and retires the old one. Claude and ChatGPT users never need a token: disconnect and reconnect the connector instead.
- Version history: History next to any note lists every saved version with author and time; Restore brings one back as a new version.
- Delete forever: archived notes can be permanently erased, with all their versions.
- Delete workspace: owners type the workspace name at the bottom of the dashboard to delete everything at once (cancel any paid plan first).
Recovery emails use the same provider as the daily digest (RESEND_API_KEY, POSTMARK_TOKEN, or DIGEST_WEBHOOK_URL); without one, no link can be sent.
Daily digest email
Workspace owners who add an email address in the dashboard get a short email each day there were updates, listing the notes and screenshots teammates changed in the last 24 hours, with a link back to the dashboard. Turn it off under Daily digest in the dashboard.
Tools
| Tool | What it does | Who can use it |
|---|---|---|
list_team_notes | Lists active notes, optionally by category or client_space. One compact line per note; notes not updated or re-verified for over 60 days are flagged [STALE >60d]. Pass include_archived: true to include archived notes. | All roles (read-only) |
read_team_note | Returns one note's full Markdown inside <untrusted_shared_note> tags with author and update time. | All roles (read-only) |
search_team_brain | Ranked full-text search over active notes (title, folder, and content; word stems match, e.g. "refunds" finds "refund"), plus reference-file names and summaries. Returns ids with highlighted snippets, the client space, and the [STALE >60d] flag. Filter with category or client_space. | All roles (read-only) |
get_handoff_digest | One compact summary (about 300 tokens at most) of notes and screenshots created or updated in the last hours (default 48), grouped by client space and folder, with ids. Saves a list-then-read loop at the start of a shift. | All roles (read-only) |
upsert_team_note | Creates a note or updates one by note_id or matching title. Bumps the version, records the author, writes the audit log. Pass expected_version to avoid overwriting a teammate's change, and client_space to save into a client space. Saving over an archived note restores it. | Owner, editor |
archive_team_note | Archives (soft-deletes) a note: it leaves lists, search, and the plan's active-note count, but its version history and audit trail stay. | Owner, editor |
restore_team_note | Restores an archived note, if the plan's active-note limit allows. | Owner, editor |
Categories are SOPs, CLIENT-BRIEFS, and HANDOFF-LOGS. Notes can be up to 32 KB of Markdown with titles up to 200 characters. No tool permanently deletes anything: archiving is reversible and every previous version is kept. The dashboard has the same Archive and Restore buttons.
Screenshots and images
| Tool | What it does | Who can use it |
|---|---|---|
list_team_images | Lists saved screenshots: id, client space, title, description, size, uploader, date. Filter with client_space. | All roles (read-only) |
read_team_image | Returns the image itself (an MCP image block) so Claude or ChatGPT can look at it, plus its metadata inside <untrusted_shared_note> tags. | All roles (read-only) |
update_team_image_note | Attaches or edits the note on a saved screenshot without re-uploading it: a new title and/or alt_text (for example "Do not edit the brand hook or phone CTA"). Pass an empty alt_text to clear the note. | Owner, editor (Read/Write connections) |
upload_team_image | Saves a PNG, JPEG, or WebP up to 1.5 MB with a title, description, and optional client_space. In ChatGPT the attached image is passed automatically; otherwise base64 works, and if the assistant can't reach the image it returns a one-time upload link. | Owner, editor (Read/Write connections) |
Reference files
| Tool | What it does | Who can use it |
|---|---|---|
upload_team_file | Saves a PDF, CSV, TXT, or Markdown file up to 10 MB with a searchable summary (auto-generated for text files). Accepts the chat attachment (file), text_content, or base64. | Owner, editor (Read/Write connections) |
list_team_files | Lists stored files: id, client space, name, type, size, uploader, date, and summary. | All roles (read-only) |
read_team_file | Returns a file's metadata and summary, the first 16 KB of text files, and a download link (an MCP resource_link) that expires after 15 minutes. | All roles (read-only) |
Attaching files in chat. In ChatGPT, attach the file and ask to save it: the connector receives the file directly. In apps that can't pass attachments to connectors, the assistant logs your summary right away and gives you a one-time upload link (https://sharedteambrain.com/upload-session/…, valid 30 minutes, no login needed). Open it, pick the file, and it's attached to the logged entry. Files and screenshots count toward your plan's storage.
Team admin from chat
| Tool | What it does | Who can use it |
|---|---|---|
list_client_spaces | Lists client spaces with slug, name, and counts of active notes, screenshots, and files, including the default space. | All roles (read-only) |
create_client_space | Creates a client space from a name and optional slug (Agency plan, up to 5). On other plans it says client spaces aren't included and points owners to the dashboard. | Owner, editor |
invite_team_member | Creates a single-use invite link (valid 7 days) for an editor or viewer. The assistant shows it once; you send it privately. The teammate opens it, enters their name, and gets their member token. Pending invites hold a seat until used or expired. | Owner |
list_my_workspaces | Lists every workspace you belong to (linked by your verified email) with id, name, plan, your role, and which one this connection is using. | All roles (read-only) |
switch_workspace | Switches this connection to another of your workspaces, by id or exact name. Later tool calls use that workspace with your role there. It also survives token refresh, so the choice sticks until you switch again. | Any member of the target workspace |
create_workspace | Creates a workspace you own, with starter notes, and switches to it. You can own 1 workspace on Free, 2 if any workspace you own is on Team, and 5 on Agency; workspaces you were invited to don't count. | Anyone with a verified email (Read/Write connections) |
Multiple workspaces
One person can belong to several workspaces: ones they own and ones they were invited to. Workspaces are linked to you only through a verified email. In the dashboard, open Email digest, save your email, and click Verify email; open the link in the same browser while signed in. Each membership is verified on its own, so typing someone else's address never gives access to their workspaces. Using an owner recovery link also verifies that owner's email. Changing your email removes the verification until you confirm the new address.
Ask your assistant "which workspaces do I have?" or "switch to Acme Marketing". The choice applies to that connection (one Claude or ChatGPT connector, or one member token) and stays until you switch again. In the dashboard, use the workspace menu next to the title; + New workspace creates one you own. If you're removed from a workspace you switched into, the connection quietly goes back to its own workspace.
Prompts
Clients that support MCP prompts (for example as slash commands) offer three templates: morning-handoff-brief (a short catch-up from the handoff digest), log-client-sop (turns a rule you describe into a versioned SOP), and ingest-document-to-playbook (stores an attached document and distills it into notes). Two read-only guide resources are also listed: stb://guide/auto-pilot and stb://guide/folders.
You can also paste a screenshot straight into the dashboard with Ctrl+V (⌘V on Mac), or drag and drop a file. Each screenshot card shows its note under the title; owners and editors can change the title and note with Edit note, or delete the screenshot.
Plans and limits
| Free | Team ($19/mo) | Agency ($39/mo) | |
|---|---|---|---|
| Active members | 2 | 5 | 15 |
| Active (non-archived) notes | 10 | 500 | Unlimited |
| Screenshots | 5 | 100 | 500 |
| Workspaces you can own | 1 | 2 | 5 |
| Isolated client spaces | None | None | Up to 5 |
| File and screenshot storage | 50 MB | 2 GB | 10 GB |
When a workspace reaches a limit, the dashboard and your AI assistant say so plainly and point the owner to the dashboard to manage the plan. Existing notes can always be updated, and archiving a note frees its slot right away, so a full Free workspace is never stuck. New workspaces start with three short starter notes (an onboarding checklist, sample client rules, and a daily handoff template) that you can edit or archive.
On Agency, an owner can create up to five client spaces in the dashboard. Notes and screenshots saved with client_space are kept apart from other clients' and every tool can filter by space. Everyone in the workspace can see every space; spaces organize work, they are not separate permissions. Owners upgrade, change plans, or cancel from Plan in the dashboard; billing is handled by Stripe.
Roles
- Owner: everything an editor can do, plus adding and revoking members and viewing the audit log.
- Editor: read, search, create, and update notes.
- Viewer: read and search only. Write attempts are refused.
Security model
- Workspace sign-ups are limited to 5 per IP address per hour, and sign-in endpoints to 30 requests per IP per minute. IP addresses are stored only as one-way hashes, for at most two hours.
- Uploaded images are checked by their actual file signature (PNG, JPEG, or WebP), stored privately, and only served to members of the same workspace with headers that stop browsers from running them as anything else.
- Every request is authenticated independently with a bearer token; there are no server sessions.
- One-click sign-in is OAuth 2.1 with PKCE (
S256) only. Apps identify themselves with a Client ID Metadata Document, and SharedTeamBrain only redirects to a callback that document lists: an HTTPS callback on the app's own domain (such ashttps://claude.ai/api/mcp/auth_callback) or alocalhost/127.0.0.1loopback port for desktop and CLI apps. - OAuth access tokens are bound to
https://mcp.sharedteambrain.com/mcp(RFC 8707), expire after one hour, and refresh tokens rotate on every use. Replaying a used code or refresh token revokes the whole connection. - Member tokens and OAuth tokens are stored only as SHA-256 hashes. A revoked token stops working on the next request.
- Note contents are always returned as untrusted reference data. A note that tries to close its own tag or impersonate system text is escaped.
- Browser requests from unknown
Origins are rejected to prevent DNS-rebinding attacks.
OAuth endpoints
| Protected resource metadata | https://mcp.sharedteambrain.com/.well-known/oauth-protected-resource |
| Authorization server metadata | https://mcp.sharedteambrain.com/.well-known/oauth-authorization-server |
| Authorize | https://mcp.sharedteambrain.com/oauth/authorize |
| Token | https://mcp.sharedteambrain.com/oauth/token |
An unauthenticated request to /mcp gets 401 with WWW-Authenticate: Bearer resource_metadata="https://mcp.sharedteambrain.com/.well-known/oauth-protected-resource", which is how clients discover sign-in.
Protocol details
The server implements the stateless Streamable HTTP transport from MCP 2026-07-28: send POST /mcp with MCP-Protocol-Version: 2026-07-28, Mcp-Method, and, for tools/call, Mcp-Name. Headers must match the JSON-RPC body. Clients on 2025-11-25, 2025-06-18, and 2025-03-26 can still initialize; no session id is issued. Responses are plain JSON; the server does not open SSE streams.
curl https://mcp.sharedteambrain.com/mcp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer stb_YOUR_TOKEN" \
-H "MCP-Protocol-Version: 2026-07-28" \
-H "Mcp-Method: tools/call" -H "Mcp-Name: search_team_brain" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"search_team_brain","arguments":{"query":"onboarding"}}}'