Workspace MCP
Enables LLM agents to list Google Drive files, read/write Google Sheets, and query external REST APIs through MCP tools.
README
Workspace MCP
A FastMCP server that exposes Google Drive, Google Sheets, and external REST API operations as tools that any MCP-compatible LLM agent (e.g. Claude Desktop) can call.
Architecture
Claude / MCP Client
│
│ MCP protocol
▼
FastMCP Server (main.py)
│
├── Google Drive API (google_tools.py)
├── Google Sheets API (google_tools.py)
└── External REST API (rest_tools.py)
Features
- List files in a Google Drive
- Read data from a Google Sheet
- Append rows to a Google Sheet
- Search records via a external REST API
- All functionality exposed as MCP tools consumable by LLM agents
Project Structure
mcp_workspace/
│
├── main.py # MCP server entrypoint, registers all tools
├── config.py # Loads environment variables / settings
├── google_tools.py # Google Drive & Sheets integration
├── rest_tools.py # Generic external REST API integration
├── requirements.txt
├── .env.example
├── README.md
└── .gitignore
Setup
-
Clone the repo and install dependencies:
python -m venv venv source venv/bin/activate # or venv\Scripts\activate on Windows pip install -r requirements.txt -
Copy
.env.exampleto.envand fill in your own values:cp .env.example .env -
Add your Google service account credentials as
credentials.jsonin the project root -
Run the server:
Option 1: Using Claude Desktop (Recommended)
Add the server to your
claude_desktop_config.json:{ "mcpServers": { "google-workspace-server": { "command": "python", "args": [ "/path/to/main.py" ] } } }Replace
/path/to/main.pywith the absolute path to your project. Restart Claude Desktop, and the MCP server will be launched automatically.
Option 2: Using MCP Inspector (For Development & Testing)
Run the server with the MCP Inspector:
npx @modelcontextprotocol/inspector python main.pyOpen the Inspector URL displayed in the terminal to view and test all available MCP tools.
Notes
- This project was generalized from an internal automation tool. The REST API integration
(
rest_tools.py) is written generically — swap in your own endpoint and payload shape viaconfig.py/.env.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.