Gmail MCP Server for VS Code
io.github.neutral-stage/gmail-mcp-server
Local Gmail MCP server with 22 tools to search, read, draft, send, label, and organize Gmail.
client:VS Code
transport:stdio
runtime:npm
Install Gmail MCP Server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "gmail-credentials-path",
"description": "GMAIL_CREDENTIALS_PATH",
"password": true
},
{
"type": "promptString",
"id": "gmail-mcp-dir",
"description": "GMAIL_MCP_DIR",
"password": true
}
],
"servers": {
"gmail-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sar333/gmail-mcp-server"
],
"env": {
"GMAIL_CREDENTIALS_PATH": "${input:gmail-credentials-path}",
"GMAIL_MCP_DIR": "${input:gmail-mcp-dir}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs