Surfski

Registre officiel Recherche et web

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 »).

OCI package ghcr.io/rayhu/surfski:v0.1.1
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
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "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_URL obligatoire Public HTTPS URL the server is reached at, behind a TLS reverse proxy (e.g. https://mcp.example.com)
  • GOOGLE_CLIENT_ID obligatoire OAuth client ID of your own Google Cloud project
  • GOOGLE_CLIENT_SECRET obligatoire secret OAuth client secret of your own Google Cloud project
  • ALLOWED_USERS Comma-separated Google primary addresses allowed to sign in (or set ALLOWED_DOMAINS)
  • ALLOWED_DOMAINS Comma-separated Workspace domains allowed to sign in (or set ALLOWED_USERS)
  • JWT_SIGNING_KEY obligatoire secret Generate with scripts/gen_secrets.py
  • STORAGE_ENCRYPTION_KEY obligatoire secret Generate with scripts/gen_secrets.py
  • TOKEN_ENCRYPTION_KEY obligatoire secret Generate with scripts/gen_secrets.py
  • STATE_SECRET obligatoire secret Generate with scripts/gen_secrets.py
  • PORT Port 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.