Roster
Officialby myroster-ai
README.md
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="assets/brand/svg/lockup-inverse.svg">
<img src="assets/brand/svg/lockup.svg" alt="Roster" width="260">
</picture>
</p>
<p align="center">
<strong>One MCP server for every account your AI assistant uses.</strong><br>
Self-hosted. Open source. Your tokens stay on your machine.
</p>
<p align="center">
<a href="https://github.com/myroster-ai/roster/actions/workflows/ci.yml"><img src="https://github.com/myroster-ai/roster/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
<a href="https://github.com/myroster-ai/roster/releases"><img src="https://img.shields.io/github/v/release/myroster-ai/roster" alt="Latest release"></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/licence-Apache--2.0-blue" alt="Licence: Apache-2.0"></a>
<a href="https://glama.ai/mcp/servers/myroster-ai/roster"><img src="https://glama.ai/mcp/servers/myroster-ai/roster/badges/score.svg" alt="myroster-ai/roster MCP server"></a>
</p>
<p align="center">
<img src="assets/demo/roster-demo.gif" alt="Roster in 24 seconds: the assistant searches the work and personal Gmail accounts by name, then drafts a reply from personal, and Roster asks for approval naming that account before anything is written." width="960">
</p>
---
Most people have more than one account in the same app: a work Linear and a
client's Linear, two Cloudflare logins, a personal and a company mailbox. An AI
assistant connects to one of each, and switching means signing out and in again.
Roster sits between your assistant and those apps. You connect each account
once and give it a name. From then on you say which one you mean:
> **You:** What is still open in the _freelance_ Linear?
>
> **You:** File that bug in _work_ instead, and draft a note about it from my
> _personal_ mailbox.
No signing in and out, and the assistant never sees a token.
## What it does
- **Several accounts per app, each with a name you choose.** Every tool takes an
`account`, so the assistant has to say which one it is acting on.
- **A vault for the tokens.** They are encrypted before they reach the database,
refreshed automatically, and never shown to the model or written to a log.
- **You approve every write.** Before anything is created, sent or changed,
Roster asks you, not the model, and names the account it is about to use.
- **One install for a few people.** Each person gets their own API token and
their own accounts, kept apart inside the database itself.
- **Nothing leaves your server** except the calls to the apps you connected.
There is no telemetry and no hosted service behind it.
## Quick start
**In one click, on Railway:**
[](https://railway.com/deploy/roster-1)
This runs Roster and its own Postgres on your Railway account, with an `https`
address, so the Claude apps and ChatGPT can sign in to it. Nothing to fill in:
the secrets are generated for you. When it is up, your token is `ROSTER_TOKEN`
in the roster service's Variables, and the address to add to your assistant is
its domain followed by `/mcp`. Railway bills you for it, not this project. See
[On Railway](docs/deployment.md#on-railway) for what the template sets up.
**On your own machine, with Docker:**
You need Docker with Compose. This runs Roster and its own Postgres on your
machine, reachable only from that machine.
**1. Get the files**
```sh
mkdir roster && cd roster
curl -fsSLO https://github.com/myroster-ai/roster/releases/latest/download/compose.yaml
```
**2. Generate the secrets**
```sh
cat > .env <<EOF
POSTGRES_PASSWORD=$(openssl rand -hex 32)
ROSTER_APP_DB_PASSWORD=$(openssl rand -hex 32)
ROSTER_REFRESHER_DB_PASSWORD=$(openssl rand -hex 32)
ROSTER_MASTER_KEY=$(openssl rand -base64 32)
ROSTER_TOKENS=
EOF
```
`ROSTER_MASTER_KEY` encrypts every stored token. Keep a copy somewhere safe:
without it, the accounts you connect cannot be read back.
**3. Create your API token**
```sh
docker run --rm ghcr.io/myroster-ai/roster token alice
```
It prints a token starting with `rst_` (shown once; copy it) and a line like
`alice:sha256:…`. Put that line after `ROSTER_TOKENS=` in `.env`.
**4. Start it**
```sh
docker compose up -d
curl http://127.0.0.1:8080/healthz # {"ok":true,"service":"roster"}
```
**5. Add Roster to your assistant**
With [Claude Code](https://code.claude.com/docs/en/mcp):
```sh
claude mcp add --transport http roster http://127.0.0.1:8080/mcp \
--header "Authorization: Bearer rst_your_token_here"
```
Other clients, including the Claude desktop and web apps and ChatGPT, are
covered in
[docs/clients.md](docs/clients.md).
**6. Connect an account**
Ask the assistant:
> Connect my Linear account and call it "work".
It gives you a link. Open it, approve access on Linear's own page, and the
account is ready: _"List my open issues in work."_ Repeat with another name for
the next account.
To use Roster from more than one machine, put it behind HTTPS:
[docs/deployment.md](docs/deployment.md).
## Connectors
| App | What the assistant can do | Setup |
| ---------- | --------------------------------------------------------------- | ---------------------------------- |
| Linear | Read issues, teams and projects; create and comment | None |
| Cloudflare | Read and change anything in the Cloudflare API; search its docs | None |
| Craft | Search and read documents; create documents, tasks and more | None |
| Notion | Search, read and query; create and edit pages, comment | None |
| Gmail | Search and read mail, create drafts. Never sends | Your own Google Cloud OAuth client |
Details, limits and step-by-step setup: [docs/connectors.md](docs/connectors.md).
## Security
Roster holds credentials, so this is the part to read before you trust it.
- Tokens are stored as envelope-encrypted ciphertext. The key that unwraps them
is never in the database: it is `ROSTER_MASTER_KEY` in the server's
environment, or a Google Cloud KMS key that never leaves KMS.
- The configuration holds only hashes of API tokens.
- The gateway connects to Postgres as a role that cannot delete rows or change
the schema, and row-level security keeps each person's accounts apart.
- Writes need a person's approval; a client that cannot ask gets a refusal.
- Secrets are stripped from logs and from everything returned to the model.
- Release images are signed, with an SBOM and build provenance.
How each of these works, and what Roster does **not** protect against:
[docs/how-it-works.md](docs/how-it-works.md). To report a vulnerability, see
[SECURITY.md](SECURITY.md).
## Documentation
- [Getting started](docs/getting-started.md): the quick start above, explained
- [Connecting your assistant](docs/clients.md)
- [Connectors](docs/connectors.md): Linear, Cloudflare, Craft, Notion, Gmail
- [Configuration](docs/configuration.md): every setting, API tokens, the master
key and Cloud KMS
- [Deployment](docs/deployment.md): HTTPS, upgrades, backups, your own Postgres
- [How it works](docs/how-it-works.md): the design and its limits
## Status and roadmap
Roster is pre-1.0 and early. Expect rough edges, and read the release notes
before you upgrade.
Planned, in no promised order:
- Single sign-on (OIDC), so that people sign in with your identity provider
instead of a token
- More connectors (Atlassian is next)
- Token refresh on a schedule, so an account you have not used for a long time
stays connected
- SQLite, for a single-file install
- Running more than one replica
Ideas and requests are welcome in
[Discussions](https://github.com/myroster-ai/roster/discussions).
## Contributing
Bug reports, fixes, documentation and new connectors are welcome. Start with
[CONTRIBUTING.md](CONTRIBUTING.md). Everyone taking part is expected to follow
the [Code of Conduct](CODE_OF_CONDUCT.md).
## Licence
[Apache License 2.0](LICENSE). Copyright 2026 The Roster Authors.
Linear, Cloudflare, Craft, Notion, Gmail and the other product names are trademarks of their
owners. Roster is an independent project and is not affiliated with or endorsed
by them.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues