Roster
io.github.myroster-ai/roster
v0.2.1Updated Dec 1, 2026local · Docker
One self-hosted MCP server for many named accounts per app, with approval before every write.
Install
Needs 2 secrets. Replace 3 placeholders with your own values.
Run in your terminal. Replace 3 placeholders.
claude mcp add roster -e 'DATABASE_URL=<your-database-url>' -e 'ROSTER_MASTER_KEY=<your-roster-master-key>' -e 'ROSTER_TOKENS=<your-roster-tokens>' -- docker run -i --rm -e DATABASE_URL -e ROSTER_MASTER_KEY -e ROSTER_TOKENS ghcr.io/myroster-ai/roster:0.2.1The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.
Configuration
6 settings, 2 required secrets. Snippets use placeholders; keep real values out of shared config.
DATABASE_URLEnv var· required· secretPostgres connection for the gateway, as the roster_app role. The image refuses to start without it. Run migrate first, as the database owner (ROSTER_MIGRATE_DATABASE_URL); the running gateway is never given that login. See docs/deployment.md.ROSTER_MASTER_KEYEnv var· required· secretBase64 32-byte key that encrypts every stored OAuth token (openssl rand -base64 32). The gateway requires this or ROSTER_KMS_KEY, and refuses to start if both are set.ROSTER_TOKENSEnv var· requiredWho may sign in. Comma-separated name:sha256:<hash> lines, as printed by the token command. Hashes only, so this is not the API token. The gateway requires this or ROSTER_TOKEN.-pArgument· requiredPublish port 8080 on this machine only. The image listens on 8080 and speaks plain HTTP; docs/deployment.md binds the same way.ROSTER_REFRESHER_DATABASE_URLEnv var· optional· secretPostgres connection as the roster_refresher role. Required with a roster_app DATABASE_URL: that role cannot refresh tokens, and the gateway then refuses to start. A role that can already read across owners may omit it.ROSTER_TOKENEnv var· optional· secretOne API token in plain form (rst_...), for a host that cannot run the token command. Optional. It can stand in for ROSTER_TOKENS, or sit beside it under another name (ROSTER_TOKEN_NAME, default me). The same token must not appear in both.
Links
Listed in the official MCP Registry since Dec 1, 2026. Mirrored daily; last checked Dec 1, 2026.