Self-hosted Claude Code server for teams
Trina AX runs Claude Code on one server for your company, as the engine of a team app: a server you run yourself, free under AGPL-3.0, or one Trina hosts. Everyone uses it from a browser or the desktop and phone apps, on shared folders where each file is checked against the access of the person asking, and nobody else installs Claude Code. [1][2][3][7]
Create your team All downloads →
What a team gets
| Trina AX | |
|---|---|
| Engine | Claude Code, or Codex (not on an office Mac), with almost all of the engines’ own tools turned off [1][2][7][26] |
| Where it runs | A Linux server you run, an office Mac, a Windows PC through WSL2, or Trina hosting [7][15] |
| Who uses it | Everyone on the team, from a browser, the desktop apps for Mac, Windows and Linux, or the iPhone and Android apps [1] |
| Files | One team folder with shared, group, project and personal folders; owners and admins share folders with groups or people as Viewer or Editor, and a file you can’t open is invisible to you and your AI [2][3] |
| AI account | A Claude or ChatGPT account or an API key that the team connects; AI use is paid to that provider, not to Trina [4] |
| Sign-in | A password or Google; two-step sign-in for owners and admins once the owner requires it (off by default), none for members; no SAML or SCIM [5][6][30] |
| Developers | Their own Claude Code can add the team server as an MCP connector, with their own permissions [10] |
| License | AGPL-3.0 for the software; Trina’s hosting control plane stays in a private repository; Claude Code and Codex under their own terms [9][1] |
How it works
- One engine, checked per person. The engine has no shell or file tools of its own. It reaches files only through Trina’s tools, and every file it opens through them is checked against the access of the person who asked. [1][8]
- A sandboxed dev environment. On a self-installed Debian 13 or Ubuntu 24.04 server, a new team gets a dev environment by default, where the AI’s commands run in a sandbox with only the folders the chat’s owner may open; admins can turn it off. An office Mac runs only document commands. [11][19]
- On a person’s own computer. In their own private chat, the desktop app (not the store builds) lets the AI read that chat’s terminal tabs and run command lines they approve; on a Mac or Linux computer, a short list of read-only commands in the chat’s project folder and commands matching the person’s Always allow rules (unless an admin turned Always allow off for the team) run with no question, and what they print goes to the AI provider. [12][31]
- Developers keep their own Claude Code. With the connector on (it needs a public HTTPS address), each person adds the team server to their own Claude Code from Settings › Trina AX MCP. [10]
Set it up
- Install on Debian or Ubuntu with systemd; the installer sets up service accounts, a sandbox and a firewall, and
you register an HTTPS address with
--public-host. Teams without IT use Trina hosting. [7] - Connect the AI: a Claude API key in Admin › AI providers, with a monthly limit set at Anthropic. [13][4]
- Share folders with groups or people as Viewer or Editor (how). [3]
- Invite people with the ready-made message. [13]
Before you choose
- Claude Code is the engine, not the whole tool. Almost all of Claude Code’s own tools and every built-in plugin
are off, and the AI works through Trina’s tools; the engine’s Claude Code doesn’t update itself (on a Linux server,
running the installer again with
--engine claudeupdates it). [26][1][18] - Where it runs. The Linux install needs Debian 12 or 13 or Ubuntu 24.04, with systemd and cgroup v2, so a server or VM rather than a plain Docker container; a separate Docker setup is newer and less tested. An office Mac runs the engine as the signed-in user, without the Linux server’s sandbox. A Windows PC runs it only while the Windows account that installed it is signed in, and only that PC reaches it unless you connect a domain through a tunnel. [7][1][27][15]
- Sign-in is a password or Google, with no SAML or SCIM; an office, LAN or Tailscale address keeps the password. The owner, or whoever runs the server, can require two-step sign-in with an authenticator app of every owner and admin (off by default), and one already set up stays in use until the owner resets it; members and guests can’t use it. Suspending someone in Google Workspace doesn’t sign them out of Trina AX. [5][6][18][30]
- Who can read. The owner and admins can open team folders, except projects they aren’t members of. Server operators, including Trina on a hosted plan, can read stored files and chats, and Trina AX has no security certification. Removing someone’s folder access doesn’t erase answers they already got. [3][8][14][1]
- It is not offline. What the AI reads goes to the AI provider you connect, and other things can leave the server too, among them web searches and the pages the AI opens, the services you connect, the dev environment’s commands, voice sent to a speech provider, phone notifications through Trina’s push service, and calls to Trina’s own services for address and update checks and for Google sign-in; the security page and the changelog have the current list. [8][14][16][11][7][5][20]
- One AI account for a team. Anthropic’s Consumer Terms don’t let a Free, Pro, Max or Ultra account be made available to anyone else, so for a team an API key is the safer choice. On a new team, one company connection, a subscription included, can answer for everyone by default (a person’s own connection comes first), and that setting doesn’t grant permission under Anthropic’s or OpenAI’s terms. [17][29][1][16]
- It is new. The first public release was 0.2.2, on 2026-10-28, and it changes almost every day. [18]
Other ways to run Claude Code for a team
- A plain Linux server over SSH — each developer signs in with their own Linux account and Claude account, and runs unmodified Claude Code with all of its tools; best when your developers live in the terminal. [21]
- Coder — a self-hosted platform, AGPL-3.0 apart from its enterprise part, that runs Claude Code and other agents in isolated per-person workspaces, with single sign-on; it suits a team with a platform engineer. [22]
- code-server or VS Code over SSH — Claude Code inside an editor. [23]
- Anthropic’s Remote Control — one person drives Claude Code on their own always-on machine from a phone or a browser, signed in with their own Claude plan (not an API key); it isn’t a shared team server. [28]
- Anthropic’s cloud sessions — no server to run, on Pro, Max, Ultra, Team and certain Enterprise seats; on Team and Enterprise, self-hosted environments (public beta) run them on your own runners. [25][24]
The full comparison, with sign-in, sharing and licenses side by side, is Best self-hosted Claude Code team server in 2026.
Questions people ask
Can several people share one Claude Code server?
Yes. A plain Linux server gives each person a Linux account and their own Claude sign-in; Coder gives each developer their own workspaces; a team app such as Trina AX runs one engine for everyone and checks each file against the person asking. [21][22][2][3]
Does each person need a Claude subscription?
Not with Trina AX: the server answers with the account or API key the team connects. Anthropic’s Consumer Terms, which cover Free, Pro, Max and Ultra, say “You also may not make your Account available to anyone else”, and its Claude Code legal page says its sign-in rules don’t restrict a company from provisioning its own API keys for its own authorized users, provided the usage is billed to the key owner and isn’t resold or intermediated. [4][17]
Can people who don’t use a terminal use it?
Yes. They use the browser or the desktop and phone apps; the engine’s own shell is off. [1][8]
Get started
Download the apps · Plans and prices · Prepare for Trina hosting · Source: github.com/trina-app/trina-ax
Claude is a trademark of Anthropic. Trina AX is made by Trina Inc. and is not affiliated with Anthropic.
Sources
- [1] README (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/README.md · read 2026-12-02
- [2] Key concepts (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/site/get-started/key-concepts.md · read 2026-12-02
- [3] Files and permissions (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/site/use/files-and-permissions.md · read 2026-12-02
- [4] AI providers (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/site/use/ai-accounts.md · read 2026-12-02
- [5] Sign in with Google (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/site/use/sign-in-with-google.md · read 2026-12-02
- [6] Google login (plan, v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/AGENTS/plan/20261122-0454-google-login.md · read 2026-12-02
- [7] Install (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/site/operate/install.md · read 2026-12-02
- [8] Security and data flows (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/site/operate/security.md · read 2026-12-02
- [9] LICENSE and NOTICE (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/NOTICE · read 2026-12-02
- [10] Trina AX MCP connector (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/site/agents/mcp-connector.md · read 2026-12-02
- [11] Trina AX source: server/src/devenv/setting.ts (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/server/src/devenv/setting.ts; Trina AX source: scripts/install-linux.sh (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/scripts/install-linux.sh · read 2026-12-02
- [12] The AI reads the person's terminal freely, runs one approved line in its own tab, and stops only its own tabs (decision, v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/decisions/20261130-desktop-terminal-ai.md · read 2026-12-02
- [13] Set up your team (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/site/get-started/team-setup.md · read 2026-12-02
- [14] Trina AX llms.txt · ax.trina.app/llms.txt · read 2026-12-02
- [15] Run Trina AX on a Windows PC (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/site/operate/windows-pc.md · read 2026-12-02
- [16] Security and permissions (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/security-and-permissions.md · read 2026-12-02
- [17] Consumer Terms of Service · www.anthropic.com/legal/consumer-terms; Legal and compliance · code.claude.com/docs/en/legal-and-compliance · read 2026-12-02
- [18] Tag v0.2.2: trina-app/trina-ax · github.com/trina-app/trina-ax/tree/v0.2.2; Changelog (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/CHANGELOG.md · read 2026-12-02
- [19] Office Mac (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/OFFICE.en.md · read 2026-12-02
- [20] push-gateway README (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/push-gateway/README.md · read 2026-12-02
- [21] Authentication · code.claude.com/docs/en/authentication; Advanced setup · code.claude.com/docs/en/setup · read 2026-12-02
- [22] Coder: README · github.com/coder/coder; Coder: Users · github.com/coder/coder/blob/056043b306feca64f48351d47637ad8e1e8f004e/docs/admin/users/index.md; Coder: LICENSE · github.com/coder/coder/blob/056043b306feca64f48351d47637ad8e1e8f004e/LICENSE · read 2026-12-02
- [23] code-server: FAQ · github.com/coder/code-server/blob/c094099c1516e578cb3b0976175e4e75a552e6d1/docs/FAQ.md; Visual Studio Code: Remote Development using SSH · code.visualstudio.com/docs/remote/ssh; Use Claude Code in VS Code · code.claude.com/docs/en/vs-code · read 2026-12-02
- [24] Self-hosted environments · code.claude.com/docs/en/self-hosted-environments · read 2026-12-02
- [25] Use Claude Code in the cloud · code.claude.com/docs/en/claude-code-on-the-web · read 2026-12-02
- [26] Trina AX source: server/src/engine/claude.ts (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/server/src/engine/claude.ts · read 2026-12-02
- [27] Self-host with Docker (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/docs/INSTALL-DOCKER.md · read 2026-12-02
- [28] Continue local sessions from any device with Remote Control · code.claude.com/docs/en/remote-control · read 2026-12-02
- [29] Trina AX source: shared/src/product.ts (v0.33.1) · github.com/trina-app/trina-ax/blob/v0.33.1/shared/src/product.ts · read 2026-12-02
- [30] Two-step sign-in for owners and admins is opt-in (decision, v0.36.0) · github.com/trina-app/trina-ax/blob/v0.36.0/docs/decisions/20261202-admin-mfa-opt-in.md · read 2026-12-02
- [31] The desktop terminal's runs get "Always allow" (decision, v0.36.0) · github.com/trina-app/trina-ax/blob/v0.36.0/docs/decisions/20261201-terminal-always-allow.md · read 2026-12-02