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 token with the right role.
- Connect each person's AI client using the instructions below.
https://mcp.sharedteambrain.com/mcpAuthentication: HTTP header
Authorization: Bearer <your token>Claude
Claude Code
claude mcp add --transport http shared-team-brain \
https://mcp.sharedteambrain.com/mcp \
--header "Authorization: Bearer stb_YOUR_TOKEN"
Claude Desktop
Add this to claude_desktop_config.json (Settings → Developer → Edit Config). It uses the mcp-remote bridge to send your token as a header:
{
"mcpServers": {
"shared-team-brain": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.sharedteambrain.com/mcp",
"--header", "Authorization: Bearer ${STB_TOKEN}"],
"env": { "STB_TOKEN": "stb_YOUR_TOKEN" }
}
}
}
Claude.ai custom connectors
Web connectors on claude.ai sign in with OAuth. OAuth sign-in for SharedTeamBrain is planned for the next release; until then, use Claude Code or Claude Desktop.
ChatGPT and the OpenAI API
With the OpenAI Responses API, pass the server as a remote MCP tool with your 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"] } }
}
Connectors inside the ChatGPT app also sign in with OAuth, which is planned for the next release.
Cursor
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" }
}
}
}
Tools
| Tool | What it does | Who can use it |
|---|---|---|
list_team_notes | Lists active notes, optionally by category. One compact line per note. | 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 | Searches titles and content across the workspace and returns short snippets. | 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. | Owner, editor |
Categories are SOPs, CLIENT-BRIEFS, and HANDOFF-LOGS. No tool deletes anything; every previous version is kept.
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
- Every request is authenticated independently with a bearer token; there are no server sessions.
- Tokens are stored 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.
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"}}}'