Surfski for VS Code
io.github.rayhu/surfski
Self-hosted remote MCP server: search, read and draft across many Gmail / Workspace mailboxes
client:VS Code
transport:stdio
runtime:oci
Install Surfski in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "base-url",
"description": "BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "google-client-id",
"description": "GOOGLE_CLIENT_ID",
"password": true
},
{
"type": "promptString",
"id": "google-client-secret",
"description": "GOOGLE_CLIENT_SECRET",
"password": true
},
{
"type": "promptString",
"id": "allowed-users",
"description": "ALLOWED_USERS",
"password": true
},
{
"type": "promptString",
"id": "allowed-domains",
"description": "ALLOWED_DOMAINS",
"password": true
},
{
"type": "promptString",
"id": "jwt-signing-key",
"description": "JWT_SIGNING_KEY",
"password": true
},
{
"type": "promptString",
"id": "storage-encryption-key",
"description": "STORAGE_ENCRYPTION_KEY",
"password": true
},
{
"type": "promptString",
"id": "token-encryption-key",
"description": "TOKEN_ENCRYPTION_KEY",
"password": true
},
{
"type": "promptString",
"id": "state-secret",
"description": "STATE_SECRET",
"password": true
},
{
"type": "promptString",
"id": "port",
"description": "PORT",
"password": true
}
],
"servers": {
"surfski": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/rayhu/surfski:v0.1.1"
],
"env": {
"BASE_URL": "${input:base-url}",
"GOOGLE_CLIENT_ID": "${input:google-client-id}",
"GOOGLE_CLIENT_SECRET": "${input:google-client-secret}",
"ALLOWED_USERS": "${input:allowed-users}",
"ALLOWED_DOMAINS": "${input:allowed-domains}",
"JWT_SIGNING_KEY": "${input:jwt-signing-key}",
"STORAGE_ENCRYPTION_KEY": "${input:storage-encryption-key}",
"TOKEN_ENCRYPTION_KEY": "${input:token-encryption-key}",
"STATE_SECRET": "${input:state-secret}",
"PORT": "${input:port}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs