Requires Node 18+ on your system so npx can fetch the package on first run. Claude Code persists MCP servers via its CLI — no config file to edit, just run the command below once. Paste the config below, then follow the reload step to register @danielrosehill/google-workspace-mcp.
Run the command below in your terminal — Claude Code persists it for you.claude mcp add google-workspace --env GOOGLE_CLIENT_ID=YOUR_CLIENT_ID.apps.googleusercontent.com --env GOOGLE_CLIENT_SECRET=YOUR_CLIENT_SECRET --env GOOGLE_WORKSPACE_SERVICES=drive,gmail,calendar -- npx @danielrosehill/google-workspace-mcp