How to install Gmail MCP in Windsurf
To install Gmail MCP in Windsurf, paste the "gmail-mcp" block into ~/.codeium/windsurf/mcp_config.json and refresh the MCP panel in Cascade.
Built from the published package · server updated 1 month ago
- 1
Open the MCP config
In Windsurf, open Settings, then Cascade, then MCP servers, and choose to view the raw config.
- 2
Add the server
Paste this into mcp_config.json:
{ "mcpServers": { "gmail-mcp": { "command": "npx", "args": [ "-y", "@afftar/gmail-mcp" ] } } } - 3
Refresh
Click refresh in the MCP panel. The server and its tools appear in Cascade.
Config file: ~/.codeium/windsurf/mcp_config.json
MCP servers run with your permissions. If Gmail MCP needs an API key, add it under env in the config. Check its README.
Install Gmail MCP in another app
Similar servers
Your OpenWork org's skills, plugins, workflows, and connections through one OAuth MCP URL.
Model Context Protocol for TypeScript — public Zod schemas (spec + OAuth/OpenID) (with updated dependencies)
Model Context Protocol registry, transports, and OAuth bridges for Electric Agents
Questions
Does Gmail MCP work in Windsurf?
Yes. Windsurf supports local and remote mcp servers, and Gmail MCP installs with the steps above.
Gmail MCP does not show up in Windsurf. What now?
Restart Windsurf fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is Gmail MCP safe?
It scores 54 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
