MCP directory
S

Surfski

by github.com/rayhu · v0.1.1 · updated Dec 3, 2026

Self-hosted remote MCP server: search, read and draft across many Gmail / Workspace mailboxes

Docker

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm ghcr.io/rayhu/surfski:v0.1.1

Environment variables

  • BASE_URLrequired

    Public HTTPS URL the server is reached at, behind a TLS reverse proxy (e.g. https://mcp.example.com)

  • GOOGLE_CLIENT_IDrequired

    OAuth client ID of your own Google Cloud project

  • GOOGLE_CLIENT_SECRETrequiredsecret

    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_KEYrequiredsecret

    Generate with scripts/gen_secrets.py

  • STORAGE_ENCRYPTION_KEYrequiredsecret

    Generate with scripts/gen_secrets.py

  • TOKEN_ENCRYPTION_KEYrequiredsecret

    Generate with scripts/gen_secrets.py

  • STATE_SECRETrequiredsecret

    Generate with scripts/gen_secrets.py

  • PORT

    Port the server listens on inside the container

More MCP servers