Brainstack logo: a pink brain resting on a stack of booksBrainstack Back to Brainstack

For IT teams

Brainstack for IT

Brainstack runs on your own server, set up by your IT team with our install guide. We can help if you’d like. This page covers what it needs, how the install works, and how access, backups and security work.

How it runs

On your own server, run by your IT.

How Brainstack runs on your own server
Who runs itYour IT team, with our install guide. We can help if you’d like.
Where the data livesYour server, in the cloud or region you choose
Sign-inMicrosoft Entra, in your own tenant. Google Workspace and other OIDC sign-in are built in but not yet proven live.
Setup timeOn our test installs the server steps took about 20 minutes; the Microsoft Entra setup takes about 20 more (our estimate).
IT effortA small Linux server with Docker, a web address, a Microsoft Entra app registration, and one or two people to hold the backup keys
UpdatesWe send a signed release. Your IT verifies it and runs the update steps, on your schedule.
BackupsNightly, encrypted to keys only your people hold. You copy them off the server.
Who at Brainstack can see notesNobody after hand-off. If your IT runs every step, we never have a login. If we help over SSH, our access is removed at hand-off and your IT checks it’s gone.

Brainstack never calls an AI service itself. Notes reach an AI company only when a person’s own AI app asks for them, limited to what that person may see. Search uses an internal embedding model on the same server.

What runs on the server

One server, three containers.

One Linux server with Docker runs three containers.

Your teambrowser AI appsClaude, ChatGPT, Copilot Microsoft Entrasign-in Let's EncryptHTTPS certificate SharePoint, Graphonly if turned on YOUR SERVER Front doorCaddyHTTPS, 80 and 443the app's only way out Brainstack appnotes as filesaudited writesno route out PostgreSQL 17private, no route out Encrypted backupskeys held by your people out only through the front door opt-in
The violet path is the app’s only way out: back through the front door, and only to Microsoft Entra sign-in (plus SharePoint, if IT turns on linked folders). The front door also gets its HTTPS certificate from Let’s Encrypt. The dashed line is used only if your IT turns on linked SharePoint folders. If you set up backup-failure emails, they go from the server itself through your own mail relay. No telemetry, and no connection to us.

Scroll the diagram sideways to see all of it.

  • Caddy, the front door. HTTPS on your domain, the only container with public ports (80 and 443), and the app’s only way out.
  • The Brainstack app. The web app, the AI connector at /mcp, and the internal search model. Each note is a plain file on the server’s disk. It has no route to the internet of its own.
  • PostgreSQL 17. People, brains, access, the audit log and search, on a private network with no route out.

Requirements and sizing

What your server needs.

Size

Minimum2 vCPU, 4 GB of memory, 20 GB of free disk
About 12,000 to 13,000 notes4 vCPU, 8 GB of memory, 40 GB or more of disk recommended

Notes are small text (we estimate 100,000 notes in under 1 GB). Up to 2,000 brains per site. Each container has a fixed memory limit, so extra memory gives backups, bulk imports and the operating system room; leave disk for several nights of backups. The internal search model needs about 0.5 GB of memory for a moment when Brainstack starts, then the app runs at about 200 MB. After a big import, notes are prepared for meaning search in the background (our estimate is about an hour per 1,000 notes, not yet measured on a Linux server); word search works the whole time.

Requirements

SystemTested live: Ubuntu 24.04 on x86-64. Supported but not yet tested live: ARM64, Ubuntu 22.04 and Debian 12. No GPU.
DockerDocker Engine 28.1 or later, with the Compose plugin. Your IT installs it.
Ports443 and 80 inbound (the AI apps’ clouds and Microsoft call port 443 directly), plus SSH for your own administration.
DNSOne name, such as brain.yourcompany.com: an A record to the server's IPv4 address, no AAAA record.
Sign-inMicrosoft Entra in your own tenant: a certificate sign-in made on the server (no client secret), pinned to your tenant, with multi-factor sign-in through your own Conditional Access. Google Workspace and other OIDC sign-in are built in but not yet proven live.
Backup keysThe public keys of two key holders (we recommend two, so losing one doesn’t lose the backups). Their secret keys never sit on the server.
OutboundFrom the front door only: Microsoft Entra sign-in and Let’s Encrypt, plus DNS. Only if you turn on linked SharePoint folders: Microsoft Graph and your SharePoint. Backup-failure emails go from the server itself through your own mail relay. Your OS and Docker updates are up to you.

Install

From a new server to your team using it, in nine steps.

Your IT team runs every step with our install guide. We never need a login on your server.

  1. Get a server IT teamLinux with Docker Engine 28.1 or later, in your cloud account or on-premises, with a public IPv4 address.
  2. Point a web address at it IT teamOne DNS A record, such as brain.yourcompany.com.
  3. Check the release is ours IT teamVerify the signed image bundle against the fingerprint we give you separately, on a call, never with the files.
  4. Load it and start it IT teamLoad the images, create the secrets and settings, add the required firewall rule, start it and run the health check (doctor).
  5. Register it in Microsoft Entra IT teamAbout 20 minutes for your Entra admin (our estimate): an app registration that signs in with a certificate made on the server, no client secret.
  6. Turn on HTTPS and backups IT teamThe real HTTPS certificate, nightly backups encrypted to your key holders, and an email to IT if a backup fails.
  7. Claim the site Your adminYour first admin enters a one-time setup code and signs in with Microsoft.
  8. Invite people and set up brains Your adminEach person gets a single-use invitation link. A brain for each team or client, with Read or Write for each person.
  9. Connect their AI EveryoneAdd brain.yourcompany.com/mcp as a connector and sign in. “Get set up, step by step” under the “?” in Brainstack walks them through it.

Would you rather we help? We can do it together. On our test installs the server steps took about 20 minutes. If we ever have access to your server while helping, your IT removes it at hand-off with a scripted, checked step.

Watch the install (about 1.5 min)

The nine steps, played as simplified screens. Use Back, Pause and Next to move through them. Open full screen

Connecting AI apps

Connecting their AI.

Connector addressYour Brainstack address plus /mcp, such as brain.yourcompany.com/mcp
  • Each person connects once. They add the address as a connector in Claude or ChatGPT, sign in with their work account and approve on Brainstack’s own page. “Get set up, step by step” under the “?” next to the bell gives them the address and shows how to check it worked.
  • Microsoft Copilot (through a Copilot Studio agent your IT sets up), tested end to end. Each person signs in with their own account. Publishing the agent to Teams or Microsoft 365 Copilot is not yet tested.
  • Each person’s own access. AI apps connect over MCP with standard OAuth, so an AI app only gets the notes that person may see. Updates to your server don’t disconnect anyone.
  • What we’ve tested. claude.ai, ChatGPT Plus and a Copilot Studio agent. ChatGPT Business and Enterprise workspaces are not yet tested.

Brains and access

Who can read what.

Each team or client gets a brain, and each person in it has Read or Write.

ReadSearch and read every note in the brain.
WriteAlso save notes into it.
  • Only admins manage brains. They create brains, add people (choosing Read or Write first), switch anyone between Read and Write, and invite people (each person gets a single-use invitation link).
  • Admins joining are announced. An admin can add themselves to any brain, and everyone in it gets a notice in Brainstack.
  • Everyone has a private brain. Only they can see it, admins included. They can still share a single note from it when they choose.
  • The AI follows the same rules. It searches only the brains the person is in, and cites the brain, person and date. Before anything is saved where others can see it, Brainstack asks first, for example “Saving to Sales: 8 people can see this (…). Save it?”, and saves only after a yes. That question is on by default, and an admin can require it for everyone. Every save comes back with a receipt, and access changes are read back first.
  • A sensitivity check runs on the server, not in the AI. Recognisable keys, tokens and config-style secret settings are stripped from every save. A typed password: … line makes Brainstack ask before sharing; a password buried in a sentence may not be caught, so don’t save passwords. Before anything is shared, fixed rules look for ID numbers (such as SSNs and card numbers), pay details, HR and health language and confidentiality markings, plus your company's own list of words, like client names or project code names (there’s no screen for it yet: it’s kept on the server with one command). If anything matches, nothing is shared until the person confirms. No AI is involved and the matched text is never logged, only the kind of match.

For admins

What admins get.

  • Gold standard notes An admin marks the notes to trust; they show a badge and rank higher in search.
  • Confirm before shared saves On by default. People can turn it off for themselves, unless an admin turns on “Require it”.
  • Guided setup and a tour “Get set up, step by step” walks each person through connecting their AI and checks it worked.
  • Bulk import Markdown and text files, one note per section. IT runs it during a short maintenance window. Same sensitivity checks as a shared save.
  • Admin file upload Word, PDF, text and Markdown files, up to 25 MB each; each file becomes a note. It asks who will see them before saving to a shared brain. On unless IT turns it off.
  • Linked SharePoint folders Off until IT turns it on. Link a folder or a single file to a brain; each note is shown only to people on that brain who can open the original file, re-checked about every 15 minutes. Admins can see the file names in the sites IT grants, never the content.
  • Guests Off until an admin turns it on (IT adds one Entra setting). People outside your company can only read the brains you choose, until their access expires.
  • Backup-failure email An email to your IT, through your own mail relay, if a nightly backup fails.

Backups and updates

Looking after it.

Backups
Nightly, of the notes and the database, encrypted to your key holders’ keys and signed on the server. The server can write backups but can’t read them. Copy them off the server, and set up the email alert in case one fails.
Restores
Proven on both of our test installs: a backup, erasing the install’s data, secrets and settings, then a restore, with every count matching. Not yet rehearsed: a restore onto a separate new server, under a different hostname, with the second key holder’s key, or on this exact release.
Updates
We send a signed release. Your IT verifies it, loads it beside the running one, takes a backup and applies it. In our five rehearsals the switch-over took the site down for 9 to 23 seconds each time, plus about 10 seconds for the backup taken first, and nobody had to reconnect their AI. Operating system updates are up to your IT.

Security and privacy

What we built in.

  • No outside AI. Brainstack never calls an AI service itself. Notes reach an AI company only when a person’s own AI app asks for them, limited to what that person may see. Search uses an internal embedding model on the same server. The app refuses to start if an AI service key is configured.
  • Only what people choose to keep. Brainstack keeps what people ask their AI to save, plus what an admin chooses to bring in: uploaded files and, only if IT turns it on, linked SharePoint folders or files. It never reads anyone’s email or chats.
  • Locked-down server. Only the front door has public ports (80 and 443). The database sits on a private network with no route out, and the app’s database role can only read and write rows. A required host firewall rule keeps the front door away from the host and your private networks. Every container drops Linux capabilities and runs with no-new-privileges.
  • Audited. Sign-ins, invitations, role changes, AI connections, every save, edit, share and delete, brain and settings changes, and searches and reads through AI apps are recorded with who, when and the result. Records never hold note text. Search terms are kept (after removing secrets), and a note’s path can show its title.
  • Clean logs. Note text stays out of the logs.
  • Leaving ends access. Removing someone ends their web sessions and AI connections at once, on their next request.
  • We have no access after hand-off. If your IT runs every step, we never have a login. If we help over SSH, our access is removed at hand-off and your IT checks it’s gone.
  • Signed releases. The images come as one offline bundle signed with our Ed25519 release key. Your IT checks it against a fingerprint we give separately, and every image is pinned by digest. The server never pulls software from us.
  • Reviewed before release. Every release passes our automated tests and code reviews by separate AI models (not the model that wrote the code), focused on leaks across people and brains. No third party has reviewed it yet.
  • Pinned, re-checked images. Every container image is pinned by its digest, and before every update we re-check the third-party ones (the database and the front door) for newer official builds and scanner findings.

Our full security overview, including what we haven’t done yet (such as an independent penetration test and a SOC 2 report of our own), is available on request.

Questions

What IT usually asks.

How does search work?
It matches meaning, not just the same words, using an internal embedding model (an open model, bge-small) that runs inside Brainstack on the same server with no internet access. Notes are never sent to an outside service to be searched. If it's ever unavailable, search falls back to matching words. The only AI that sees a note is the one the person is using, when they ask it to.
Do I need IT help to set it up?
Yes: your IT team runs the nine steps with our install guide. If you’d rather, we can do it together.
How big can it get?
Notes are small text: roughly 100,000 notes fit in under 1 GB (an estimate). Up to 2,000 brains per site. See the sizes.
How do people connect their AI?
With “Get set up, step by step” under the “?” next to the bell in Brainstack: it gives them the address and shows how to check it worked. For Microsoft Copilot (through a Copilot Studio agent your IT sets up, tested end to end), each person signs in with their own account.
Where is the data stored?
On your own server, in the cloud or region you choose.
Can we get our data out?
It's already yours: notes are plain files on your server, and backups are encrypted to your keys.
What if the server dies?
Restore the latest nightly backup onto a fresh machine with the runbook. We’ve proven backup and restore on our test servers; a restore onto a separate new server, under a different hostname, with the second key holder’s key, or on this exact release, isn’t rehearsed yet.
How are updates delivered?
A signed release your IT verifies and applies with the documented steps, on your schedule.