Surfski
Self-hosted remote MCP server: search, read and draft across many Gmail / Workspace mailboxes
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
ghcr.io/rayhu/surfski:v0.1.1claude mcp add surfski -e 'BASE_URL=<BASE_URL>' -e 'GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>' -e 'GOOGLE_CLIENT_SECRET=<your google_client_secret>' -e 'ALLOWED_USERS=<ALLOWED_USERS>' -e 'ALLOWED_DOMAINS=<ALLOWED_DOMAINS>' -e 'JWT_SIGNING_KEY=<your jwt_signing_key>' -e 'STORAGE_ENCRYPTION_KEY=<your storage_encryption_key>' -e 'TOKEN_ENCRYPTION_KEY=<your token_encryption_key>' -e 'STATE_SECRET=<your state_secret>' -e 'PORT=8000' -- docker run -i --rm ghcr.io/rayhu/surfski:v0.1.1
{
"mcpServers": {
"surfski": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/rayhu/surfski:v0.1.1"
],
"env": {
"BASE_URL": "<BASE_URL>",
"GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
"GOOGLE_CLIENT_SECRET": "<your google_client_secret>",
"ALLOWED_USERS": "<ALLOWED_USERS>",
"ALLOWED_DOMAINS": "<ALLOWED_DOMAINS>",
"JWT_SIGNING_KEY": "<your jwt_signing_key>",
"STORAGE_ENCRYPTION_KEY": "<your storage_encryption_key>",
"TOKEN_ENCRYPTION_KEY": "<your token_encryption_key>",
"STATE_SECRET": "<your state_secret>",
"PORT": "8000"
}
}
}
}
Variables d'environnement
BASE_URLobligatoire Public HTTPS URL the server is reached at, behind a TLS reverse proxy (e.g. https://mcp.example.com)GOOGLE_CLIENT_IDobligatoire OAuth client ID of your own Google Cloud projectGOOGLE_CLIENT_SECRETobligatoire secret OAuth client secret of your own Google Cloud projectALLOWED_USERSComma-separated Google primary addresses allowed to sign in (or set ALLOWED_DOMAINS)ALLOWED_DOMAINSComma-separated Workspace domains allowed to sign in (or set ALLOWED_USERS)JWT_SIGNING_KEYobligatoire secret Generate with scripts/gen_secrets.pySTORAGE_ENCRYPTION_KEYobligatoire secret Generate with scripts/gen_secrets.pyTOKEN_ENCRYPTION_KEYobligatoire secret Generate with scripts/gen_secrets.pySTATE_SECRETobligatoire secret Generate with scripts/gen_secrets.pyPORTPort the server listens on inside the container
Questions fréquentes
Qu'est-ce que Surfski ?
Self-hosted remote MCP server: search, read and draft across many Gmail / Workspace mailboxes
Comment installer Surfski ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add surfski -e 'BASE_URL=<BASE_URL>' -e 'GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID>' -e 'GOOGLE_CLIENT_SECRET=<your google_client_secret>' -e 'ALLOWED_USERS=<ALLOWED_USERS>' -e 'ALLOWED_DOMAINS=<ALLOWED_DOMAINS>' -e 'JWT_SIGNING_KEY=<your jwt_signing_key>' -e 'STORAGE_ENCRYPTION_KEY=<your storage_encryption_key>' -e 'TOKEN_ENCRYPTION_KEY=<your token_encryption_key>' -e 'STATE_SECRET=<your state_secret>' -e 'PORT=8000' -- docker run -i --rm ghcr.io/rayhu/surfski:v0.1.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Surfski ?
Oui. Il attend BASE_URL, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, JWT_SIGNING_KEY, STORAGE_ENCRYPTION_KEY, TOKEN_ENCRYPTION_KEY, STATE_SECRET, à renseigner dans sa configuration.
Surfski est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient Surfski ?
Il est publié par rayhu. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.