mcp google analytics for Windsurf
io.github.leonardosepulvedat/mcp-google-analytics
GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.
client:Windsurf
transport:stdio
runtime:npm
Install mcp google analytics in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"mcp-google-analytics": {
"command": "npx",
"args": [
"-y",
"mcp-google-analytics"
],
"env": {
"GA_SERVICE_ACCOUNT_JSON": "<GA_SERVICE_ACCOUNT_JSON>",
"GA_PROPERTY_ID": "<GA_PROPERTY_ID>",
"GA_MEASUREMENT_ID": "<GA_MEASUREMENT_ID>",
"GA_API_SECRET": "<GA_API_SECRET>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs