Skip to main content
Glama
Ashishbhardwaj97

Google-MCP-Server

Google-MCP-Server

A lightweight, Python-based Model Context Protocol (MCP) server that securely integrates with Google Workspace using FastAPI and OAuth 2.0.

It uses Google OAuth 2.0 to access the user's Docs and Gmail accounts to:

  • Append text to a Google Doc.

  • Create a Gmail draft.

Prerequisites

  1. Create a project in Google Cloud Console.

  2. Enable the Google Docs API and Gmail API.

  3. Configure the OAuth consent screen and create an OAuth 2.0 Client ID for a "Desktop app".

  4. Download the JSON credentials file and save it as credentials.json in this directory.

Related MCP server: Google Docs & Gmail MCP Server

Installation

Install the required Python packages:

pip install -r requirements.txt

Running the Server

Start the FastAPI server using Uvicorn:

python server.py
# or
uvicorn server:app

The server will be available at http://localhost:8000. API documentation is available at http://localhost:8000/docs.

Approval Flow

This server includes an interactive approval step. When an endpoint is called, the server will print the action details to the terminal and wait for you to type y to approve or anything else to reject. Make sure you run the server in an interactive terminal.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

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/Ashishbhardwaj97/Google-MCP-Server'

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