bd01010/chatgpt-mcp-connector
If you are the rightful owner of chatgpt-mcp-connector and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The ChatGPT Google Workspace MCP Connector is a comprehensive OAuth-enabled server that facilitates seamless integration with Google Workspace services, allowing users to access and manage Google Drive, Docs, Sheets, and Slides through ChatGPT.
ChatGPT Google Workspace MCP Connector
A full OAuth-enabled MCP (Model Context Protocol) server for ChatGPT that provides access to Google Workspace (Drive, Docs, Sheets, Slides).
Features
ā Full OAuth 2.0 authentication flow ā Real Google Workspace access (not mock data) ā Multiple Google services:
- Google Drive (list, create, read, update, delete files)
- Google Docs (create documents)
- Google Sheets (create spreadsheets)
- Google Slides (create presentations)
Setup Instructions
1. Google Cloud Console Setup
CRITICAL: You must add the authorized redirect URI to Google Cloud Console:
- Go to Google Cloud Console
- Select your project or create a new one
- Go to APIs & Services ā Credentials
- Find your OAuth 2.0 Client ID (the one with ID ending in
...mm7s.apps.googleusercontent.com
) - Click on it to edit
- Under Authorized redirect URIs, add:
https://chatgpt-mcp-connector.vercel.app/oauth/callback
- Click Save
2. Deployment Status
This project is deployed at:
- URL:
https://chatgpt-mcp-connector.vercel.app
- OAuth Callback:
https://chatgpt-mcp-connector.vercel.app/oauth/callback
3. Add to ChatGPT
- Go to ChatGPT ā Settings ā Connectors ā Add Connector
- Fill in:
- Name: Google Workspace
- Server URL:
https://chatgpt-mcp-connector.vercel.app/sse
- Description: Access Google Drive, Docs, Sheets, and Slides
- Authentication: OAuth
- Click Create
- You'll be redirected to Google to authorize access
OAuth Flow
The connector implements the full OAuth 2.0 flow:
- Authorization endpoint:
/oauth/authorize
- Token endpoint:
/oauth/token
- Callback endpoint:
/oauth/callback
- Discovery endpoint:
/.well-known/oauth-authorization-server
Available Tools
drive_list
- List files in Google Drivedrive_create_folder
- Create a new folderdrive_create_file
- Create a new file with contentdrive_read_file
- Read file contentdrive_update_file
- Update file contentdrive_delete_file
- Delete a filedocs_create
- Create a new Google Docsheets_create
- Create a new Google Sheetslides_create
- Create a new Google Slides presentation
Security Notes
- OAuth tokens are stored in secure session storage
- All API calls require valid authentication
- Implements proper CORS headers for ChatGPT integration
- Uses Google's official OAuth 2.0 flow
Troubleshooting
If you get "Error fetching OAuth configuration":
- Verify the redirect URI is added in Google Cloud Console
- Make sure you saved the changes in Google Cloud Console
- Try removing and re-adding the connector in ChatGPT
If authentication fails:
- Make sure you're using the correct Google account
- Verify all required scopes are authorized
- Check that the OAuth client is not in test mode (should be in production)