TRL-Agency/MCP_server_google
3.1
If you are the rightful owner of MCP_server_google 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 Google Services MCP Server integrates Google Drive, Sheets, Slides, Docs, and Forms APIs for seamless use with AgenticFlow and Claude.
Tools
5
Resources
0
Prompts
0
Google Services MCP Server
A Model Context Protocol (MCP) server that provides integration with Google Drive, Sheets, Slides, Docs, and Forms APIs for use with AgenticFlow and Claude.
🚀 Quick Deploy to Vercel
Features
Google Services Integration (20 Tools)
- Google Drive (4 tools): Create folders, list files, move files, delete files
- Google Sheets (4 tools): Create spreadsheets, read/write data, append data
- Google Slides (4 tools): Create presentations, add slides/text/images
- Google Docs (4 tools): Create documents, read/write/replace text
- Google Forms (4 tools): Create forms, add questions, get responses
Setup Instructions
1. Google Cloud Console Setup
- Go to Google Cloud Console
- Create a new project
- Enable these APIs:
- Google Drive API
- Google Sheets API
- Google Slides API
- Google Docs API
- Google Forms API
- Create OAuth 2.0 credentials (Desktop Application)
- Download the credentials JSON
2. Local Development
git clone https://github.com/TRL-Agency/MCP_server_google.git
cd MCP_server_google
npm install
cp .env.example .env
# Add your Google credentials to .env
npm run setup-auth # Run OAuth flow
npm run dev
3. Deploy to Vercel
npm install -g vercel
vercel --prod
Or connect via GitHub in Vercel dashboard.
4. Environment Variables in Vercel
Add these in Vercel dashboard:
GOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRETGOOGLE_ACCESS_TOKENGOOGLE_REFRESH_TOKEN
Usage
With AgenticFlow
- Add MCP server:
https://your-app.vercel.app/mcp - All 20 Google tools will be available
With Claude Desktop
Add to your MCP configuration:
{
"mcpServers": {
"google-services": {
"command": "curl",
"args": [
"-X", "POST",
"-H", "Content-Type: application/json",
"https://your-app.vercel.app/mcp"
]
}
}
}
API Endpoints
GET /- Server info and available toolsPOST /mcp- MCP protocol endpointGET /health- Health check
Educational Use Case
Perfect for automating curriculum creation:
- Generate Google Slides presentations with AI
- Create Google Forms for assessments
- Organize lesson plans in Google Drive folders
- Build data dashboards in Google Sheets
- Create collaborative documents for projects
Available Tools
Google Drive
drive_create_folder- Create foldersdrive_list_files- List and search filesdrive_move_file- Move files between foldersdrive_delete_file- Delete files
Google Sheets
sheets_create- Create new spreadsheetssheets_read- Read data from specific rangessheets_write- Write data to cellssheets_append- Append data to sheets
Google Slides
slides_create- Create presentationsslides_add_slide- Add new slidesslides_add_text- Add text boxes to slidesslides_add_image- Add images to slides
Google Docs
docs_create- Create new documentsdocs_read- Read document contentdocs_write- Insert text into documentsdocs_replace_text- Find and replace text
Google Forms
forms_create- Create new formsforms_add_question- Add questions to formsforms_get_responses- Get form responsesforms_get_form- Get form structure
Development
Project Structure
src/
├── index.ts # Standalone MCP server
├── mcp-server.ts # Core MCP server logic
├── vercel-adapter.ts # Vercel serverless adapter
└── setup-auth.ts # OAuth setup script
Local Testing
# Build the project
npm run build
# Run OAuth setup (one time)
npm run setup-auth
# Start the server
npm start
License
MIT License - see LICENSE file for details.
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
For support, open an issue or contact TRL Agency.