
roster
io.github.myroster-ai/roster
One self-hosted MCP server for many named accounts per app, with approval before every write.
Documentation
One MCP server for every account your AI assistant uses.
Self-hosted. Open source. Your tokens stay on your machine.
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:
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 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
mkdir roster && cd roster
curl -fsSLO https://github.com/myroster-ai/roster/releases/latest/download/compose.yaml
2. Generate the secrets
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
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
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:
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.
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.
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.
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_KEYin 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. To report a vulnerability, see SECURITY.md.
Documentation
- Getting started: the quick start above, explained
- Connecting your assistant
- Connectors: Linear, Cloudflare, Craft, Notion, Gmail
- Configuration: every setting, API tokens, the master key and Cloud KMS
- Deployment: HTTPS, upgrades, backups, your own Postgres
- How it works: 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.
Contributing
Bug reports, fixes, documentation and new connectors are welcome. Start with CONTRIBUTING.md. Everyone taking part is expected to follow the Code of Conduct.
Licence
Apache License 2.0. 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.
ghcr.io/myroster-ai/roster:0.2.1docker pull ghcr.io/myroster-ai/roster:0.2.1:undefined