Skip to content
Zed

Surfski for Zed

io.github.rayhu/surfski

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

client:Zed transport:stdio runtime:oci

Install Surfski in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "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": "<GOOGLE_CLIENT_SECRET>",
        "ALLOWED_USERS": "<ALLOWED_USERS>",
        "ALLOWED_DOMAINS": "<ALLOWED_DOMAINS>",
        "JWT_SIGNING_KEY": "<JWT_SIGNING_KEY>",
        "STORAGE_ENCRYPTION_KEY": "<STORAGE_ENCRYPTION_KEY>",
        "TOKEN_ENCRYPTION_KEY": "<TOKEN_ENCRYPTION_KEY>",
        "STATE_SECRET": "<STATE_SECRET>",
        "PORT": "<PORT>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Surfski in other clients