Google Server
FreeNot checkedA locally-hosted MCP server that integrates Gmail, Google Calendar, and Google Drive to provide AI-powered management of emails, events, and files. It enables t
About
A locally-hosted MCP server that integrates Gmail, Google Calendar, and Google Drive to provide AI-powered management of emails, events, and files. It enables tool-based interactions like sending emails, creating calendar events, and searching Drive files through clients like Cursor and Claude Desktop.
README
A locally-hosted MCP server built with FastMCP 3.x that connects to your personal Google account and exposes Gmail, Google Calendar, and Google Drive as tools.
Available Tools
| Service | Tool | Description |
|---|---|---|
| Gmail | list_emails |
List recent emails from a label |
| Gmail | read_email |
Read full content of an email |
| Gmail | send_email |
Send a new email |
| Gmail | search_emails |
Search emails with Gmail query syntax |
| Calendar | list_calendars |
List all accessible calendars |
| Calendar | list_events |
List upcoming events |
| Calendar | create_event |
Create a new calendar event |
| Drive | list_files |
List files (optionally in a folder) |
| Drive | read_file |
Read text content of a file |
| Drive | search_files |
Search for files by name or query |
Prerequisites
- Python 3.10+
- A Google account
- A Google Cloud project with OAuth 2.0 credentials
Setup
1. Install dependencies
# Using pip
pip install -e .
# Or using uv
uv pip install -e .
2. Set up Google Cloud credentials
- Go to the Google Cloud Console
- Create a new project (or select an existing one)
- Enable the following APIs:
- Configure the OAuth consent screen:
- Go to APIs & Services → OAuth consent screen
- Choose External user type
- Fill in the required fields (app name, support email)
- Add your email address as a test user
- Create OAuth 2.0 credentials:
- Go to APIs & Services → Credentials
- Click + CREATE CREDENTIALS → OAuth client ID
- Application type: Desktop app
- Download the JSON file and save it as
credentials.jsonin the project root
3. (Optional) Configure environment
Copy the example env file and adjust paths if needed:
cp .env.example .env
The defaults (credentials.json and token.json in the project root) work for most setups.
Running the Server
stdio transport (for Cursor / Claude Desktop)
python server.py
On first run, a browser window will open asking you to sign in with your Google account and grant permissions. The token is cached in token.json for subsequent runs.
HTTP transport (for remote/browser clients)
fastmcp run server.py:mcp --transport http --port 8000
The server will be available at http://localhost:8000/mcp.
Connecting to Cursor
Add this to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"google": {
"command": "python",
"args": ["server.py"],
"cwd": "/path/to/mcp-playground"
}
}
}
Connecting to Claude Desktop
Add this to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"google": {
"command": "python",
"args": ["/path/to/mcp-playground/server.py"]
}
}
}
Google API Scopes
This server requests the following OAuth scopes (narrowly scoped for safety):
| Scope | Access |
|---|---|
gmail.readonly |
Read-only access to Gmail |
gmail.send |
Send emails only |
calendar.events |
Read and write calendar events |
drive.readonly |
Read-only access to Drive files |
If you change scopes in auth/google_auth.py, delete token.json and re-authenticate.
Project Structure
mcp-playground/
├── server.py # FastMCP server entry point
├── auth/
│ └── google_auth.py # OAuth2 flow + service builders
├── tools/
│ ├── gmail.py # Gmail tools
│ ├── calendar.py # Calendar tools
│ └── drive.py # Drive tools
├── pyproject.toml # Dependencies
├── .env.example # Environment config template
└── README.md
Installing Google Server
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/alvinqle/mcp-playgroundFAQ
Is Google Server MCP free?
Yes, Google Server MCP is free — one-click install via Unyly at no cost.
Does Google Server need an API key?
No, Google Server runs without API keys or environment variables.
Is Google Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Google Server in Claude Desktop, Claude Code or Cursor?
Open Google Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Klavis AI
Open Source MCP Infra. Hosted MCP servers and MCP clients on Slack and Discord.
Work90210/APIFold
Turn any REST API into a hosted MCP server. 18 free public servers (GitHub, Stripe, Slack, OpenAI, Notion, and more) — no setup required, bring your own API key
by Work90210arikusi/deepseek-mcp-server
MCP server for DeepSeek AI with chat, reasoning, multi-turn sessions, function calling, thinking mode, and cost tracking.
by arikusihashgraph-online/hashnet-mcp-js
MCP server for the Registry Broker. Discover, register, and chat with AI agents on the Hashgraph network.
by hashgraph-onlineprofullstack/mcp-server
A comprehensive MCP server aggregating 20+ tools including SEO optimization, document conversion, domain lookup, email validation, QR generation, weather data,
by profullstackWayStation-ai/mcp
Seamlessly and securely connect Claude Desktop and other MCP hosts to your favorite apps (Notion, Slack, Monday, Airtable, etc.). Takes less than 90 secs.
by waystation-aiCompare Google Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
