MCP server that seamlessly interacts with your Google Calendar, Gmail, Drive and so on.
A Model Context Protocol (MCP) server that acts as a secure bridge between your personal Google Workspace account (Gmail, Calendar, etc.) and any MCP-compatible AI client, such as Claude Desktop.
Follow these steps to set up the server and run the example AI agent.
uv
(or pip
).You need to authorize this application to access your Google data. This is a one-time setup.
client_secrets.json
and place it in the root directory of this project.Clone this repository and install the required Python packages for both the server and the client.
git clone <your-repo-url>
cd <your-repo-name>
uv venv # Create a virtual environment
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install server dependencies
uv install -r requirements.txt
Before you can run the server, you need to authorize it with your Google account. Run the get_credentials.py
script from your terminal:
python get_credentials.py
token.json
file in the project directory. This file stores your authorization tokens so you don't have to log in every time.As an example, I'll show you how to configure Claude Desktop as an MCP Client. However, you can use whatever MCP Client available on Internet.
Configure Claude Desktop:
(Windows) Open C:\Users\<user>\AppData\Roaming\Claude\claude_desktop_config.json
and add
{
"mcpServers": {
"GsuiteMCPServer": {
"command": "absolute-path-to-your-python-executable-in-virtual-environment",
"args": [
"<mcp_server.py-abs-path>"
]
}
}
}
Use the available tools: Ask Claude something like:
Create a Google Calendar Event based on the content of the last mail being sent to my inbox. If you cannot create an event, create a sort of 'reminder event' in order to remind me to check that email.
Create a Google Docs drafting a trip plan in San Francisco.
Check what are my availabilities next week for a two-hours call with a customer.
Edit the start time of the meeting with the VCs to 10 A.M.
Search for new e-mails in my inbox talking about AI news.
Send an email to my supplier telling him he's late and I need the next lot as soon as possible.
Much more.
This server is the foundation for a much larger vision. The goal is to provide a comprehensive MCP server for the entire Google Workspace suite. Future additions will include tools for:
Contributions are welcome!
If you'd like to contribute, please feel free to fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License. See the LICENSE
file for details.