Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-ahmad-codex-workstream-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"WORKSTREAM_DB_CONNECTION=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_PUBLIC_BASE_URL=<YOUR_VALUE>",
"-e",
"WORKSTREAM_USER_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DEMO=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ROLE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_TRANSPORT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_OTEL_ENDPOINT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_KEY_PATH=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DB_PASSWORD_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_WEBHOOK_SECRET=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_INSTALLATION_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_SLACK_SIGNING_SECRET=<YOUR_VALUE>",
"ghcr.io/ahmad-codex/workstream-mcp:0.3.1"
]
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-ahmad-codex-workstream-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"WORKSTREAM_DB_CONNECTION=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_PUBLIC_BASE_URL=<YOUR_VALUE>",
"-e",
"WORKSTREAM_USER_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DEMO=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ROLE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_TRANSPORT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_OTEL_ENDPOINT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_KEY_PATH=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DB_PASSWORD_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_WEBHOOK_SECRET=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_INSTALLATION_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_SLACK_SIGNING_SECRET=<YOUR_VALUE>",
"ghcr.io/ahmad-codex/workstream-mcp:0.3.1"
]
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-ahmad-codex-workstream-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"WORKSTREAM_DB_CONNECTION=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_PUBLIC_BASE_URL=<YOUR_VALUE>",
"-e",
"WORKSTREAM_USER_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DEMO=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ROLE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_TRANSPORT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_OTEL_ENDPOINT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_KEY_PATH=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DB_PASSWORD_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_WEBHOOK_SECRET=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_INSTALLATION_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_SLACK_SIGNING_SECRET=<YOUR_VALUE>",
"ghcr.io/ahmad-codex/workstream-mcp:0.3.1"
]
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-ahmad-codex-workstream-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"WORKSTREAM_DB_CONNECTION=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_PUBLIC_BASE_URL=<YOUR_VALUE>",
"-e",
"WORKSTREAM_USER_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DEMO=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ROLE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_TRANSPORT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_OTEL_ENDPOINT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_KEY_PATH=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DB_PASSWORD_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_WEBHOOK_SECRET=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_INSTALLATION_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_SLACK_SIGNING_SECRET=<YOUR_VALUE>",
"ghcr.io/ahmad-codex/workstream-mcp:0.3.1"
]
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-ahmad-codex-workstream-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"WORKSTREAM_DB_CONNECTION=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_PUBLIC_BASE_URL=<YOUR_VALUE>",
"-e",
"WORKSTREAM_USER_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DEMO=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ROLE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_TRANSPORT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_OTEL_ENDPOINT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_KEY_PATH=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DB_PASSWORD_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_WEBHOOK_SECRET=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_INSTALLATION_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_SLACK_SIGNING_SECRET=<YOUR_VALUE>",
"ghcr.io/ahmad-codex/workstream-mcp:0.3.1"
]
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-ahmad-codex-workstream-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"WORKSTREAM_DB_CONNECTION=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_PUBLIC_BASE_URL=<YOUR_VALUE>",
"-e",
"WORKSTREAM_USER_TOKEN=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DEMO=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ROLE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_TRANSPORT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_OTEL_ENDPOINT=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_APP_KEY_PATH=<YOUR_VALUE>",
"-e",
"WORKSTREAM_ADMIN_TOKEN_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_DB_PASSWORD_FILE=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_WEBHOOK_SECRET=<YOUR_VALUE>",
"-e",
"WORKSTREAM_GH_INSTALLATION_ID=<YOUR_VALUE>",
"-e",
"WORKSTREAM_SLACK_SIGNING_SECRET=<YOUR_VALUE>",
"ghcr.io/ahmad-codex/workstream-mcp:0.3.1"
]
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| WORKSTREAM_DB_CONNECTION secret | Yes | Npgsql connection string. Without it the stdio server runs in discovery mode: tools can be listed but not called. |
| WORKSTREAM_ADMIN_TOKEN secret | Yes | Bearer token for /admin/* (HTTP server). |
| WORKSTREAM_PUBLIC_BASE_URL | No | Base used when returning user URLs. Defaults to the request host. Default: http://localhost:8080 |
| WORKSTREAM_USER_TOKEN secret | Yes | The user the stdio server acts as. Required when WORKSTREAM_DB_CONNECTION is set. |
| WORKSTREAM_DEMO | No | true seeds demo data and accepts the public demo token. Local trials only. |
| WORKSTREAM_ROLE | No | api (default) or dispatcher. Default: api |
| WORKSTREAM_GH_APP_ID | No | GitHub App id. |
| WORKSTREAM_TRANSPORT | No | stdio to serve MCP over stdin/stdout (same as --stdio). |
| WORKSTREAM_OTEL_ENDPOINT | No | OTLP endpoint for traces and metrics. Unset means telemetry is off. |
| WORKSTREAM_GH_APP_KEY_PATH | No | Path to the App private key (PEM). |
| WORKSTREAM_ADMIN_TOKEN_FILE | No | File holding the admin bearer token. |
| WORKSTREAM_DB_PASSWORD_FILE | No | File holding the database password. |
| WORKSTREAM_GH_WEBHOOK_SECRET | No | Webhook HMAC secret. |
| WORKSTREAM_GH_INSTALLATION_ID | No | App installation id. |
| WORKSTREAM_SLACK_SIGNING_SECRET | No | Slack signing secret. |