Skip to main content
Glama
yv12

Google Docs and Gmail MCP Server

by yv12

Google Docs and Gmail MCP Server

This is a Model Context Protocol (MCP) server that exposes Google Docs and Gmail capabilities to LLMs via the official mcp SDK using an SSE transport over FastAPI.

Setup Instructions

1. Google Cloud Setup

  1. Go to the Google Cloud Console.

  2. Create a new project.

  3. Enable the Google Docs API and Gmail API.

  4. Go to APIs & Services > Credentials and create an OAuth client ID (Desktop app).

  5. Download the JSON file and save it as credentials.json in the root of this project.

2. Installation

Install the dependencies:

pip install -r requirements.txt

3. Authentication

Before running the server in a cloud environment, you must run it locally once to authenticate and generate the token.json file. The server will print an authorization URL if token.json is missing. Complete the OAuth flow to generate token.json.

4. Running the Server

Start the server using uvicorn:

uvicorn server:app --host 0.0.0.0 --port 8000

The MCP SSE endpoints will be available at:

  • /sse (for connecting)

  • /messages/ (for posting messages)

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yv12/MCP-Server-Gmail-GoogleDocs-'

If you have feedback or need assistance with the MCP directory API, please join our Discord server