Prerequisites
- A TrueFoundry account with permission to add MCP servers.
- Google Workspace super admin access.
- A Google Cloud project where you can create OAuth credentials.
Create a Google OAuth Client
In Google Cloud Console, configure the OAuth consent screen for your organization and create a Web application OAuth client. Add this authorized redirect URI:Common Google Scopes
| Server | Common scopes |
|---|---|
| Docs | https://www.googleapis.com/auth/documents, https://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/drive.readonly |
| Sheets | https://www.googleapis.com/auth/spreadsheets, https://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/drive.readonly |
| Slides | https://www.googleapis.com/auth/presentations, https://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/drive.readonly |
| Drive | https://www.googleapis.com/auth/drive.readonly, https://www.googleapis.com/auth/drive.file |
| Gmail and Calendar | https://www.googleapis.com/auth/gmail.readonly, https://www.googleapis.com/auth/gmail.compose, https://www.googleapis.com/auth/calendar.readonly, https://www.googleapis.com/auth/calendar.events |
openid, userinfo.email, and userinfo.profile.
Register in TrueFoundry
Add a Google MCP server
In TrueFoundry, open MCP Gateway, click Add MCP Server, and select Connect any Remote MCP Server. Repeat this for each Google MCP server you are deploying, such as Docs, Sheets, Slides, Drive, Gmail, or Calendar.
Configure the server
Use the server URL from the Google MCP implementation you are deploying and set Authentication to
OAuth2. Turn on Auth Data, select the OAuth2 tab, and paste the Google OAuth Client ID and Client Secret from the previous section. Add the scopes required by the server you are registering.Add collaborators
Add the users or teams that should use Google Workspace tools. Assign MCP Server Manager to administrators and MCP Server User to consumers.