Skip to main content
Glama
README.md
# gg-workspace-mcp πŸΆπŸš€

The **fastest**, most lightweight **Google Workspace MCP Server** powered by [Bun](https://bun.sh/). ⚑️

Manage your entire Google Workspace (Gmail, Calendar, Drive, Docs, Sheets, Slides) directly through natural language with AI assistants like Claude, Cursor, and more.

> **πŸ“š Documentation**
> - **[Installation & User Guide](GUIDE.md)** - Full setup instructions, authentication, and troubleshooting.
> - **[Client Configuration](MCP_CLIENTS.md)** - Ready-to-use configs for Claude, Cursor, VS Code, JetBrains, and 20+ other clients.

---

## 🌟 Features

- **⚑ Blazing Fast:** Built with Bun for near-instant execution and low overhead.
- **πŸ” 1-Click Auth:** Built-in Auth Portal for effortless Google Account connection.
- **πŸ› οΈ Comprehensive:** 20+ tools covering the essential Google Workspace ecosystem.
- **πŸ›‘οΈ Secure:** Pure TypeScript implementation with official Google SDKs.

---

## πŸš€ Quick Start

**Prerequisite:** [Bun](https://bun.sh) installed.

1. **Clone & Install**
   ```bash
   git clone https://github.com/tannht/gg-workspace-mcp.git
   cd gg-workspace-mcp
   bun install
   ```

2. **Set Credentials**
   ```bash
   cp .env.example .env
   # Edit .env and update GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET
   ```
   *(See [GUIDE.md](GUIDE.md) for how to get these credentials)*

3. **Run Server**
   ```bash
   bun run src/index.ts
   ```

---

## πŸ€– MCP Client Integration

We support **25+ clients** including Claude Desktop, Cursor, VS Code, JetBrains, and more.

πŸ‘‰ **[Click here to view the full Client Configuration Guide (MCP_CLIENTS.md)](MCP_CLIENTS.md)**

**Quick Example (Claude Desktop):**

Using **Bun** (recommended, faster):
```json
{
  "mcpServers": {
    "gg-workspace-mcp": {
      "command": "bunx",
      "args": ["gg-workspace-mcp"],
      "env": {
        "GOOGLE_CLIENT_ID": "...",
        "GOOGLE_CLIENT_SECRET": "..."
      }
    }
  }
}
```

Using **npm/npx**:
```json
{
  "mcpServers": {
    "gg-workspace-mcp": {
      "command": "npx",
      "args": ["gg-workspace-mcp"],
      "env": {
        "GOOGLE_CLIENT_ID": "...",
        "GOOGLE_CLIENT_SECRET": "..."
      }
    }
  }
}
```

---

## 🧰 Available Tools

| Category | Available Tools |
| :--- | :--- |
| **πŸ“§ Gmail** | `get_account_info`, `send_email` |
| **πŸ“… Calendar** | `list_calendar_events`, `create_calendar_event` |
| **πŸ“ Drive** | `list_drive_folders`, `search_drive` |
| **πŸ“ Docs** | `create_document`, `get_document`, `append_to_document` |
| **πŸ“Š Sheets** | `create_spreadsheet`, `read_spreadsheet`, `update_spreadsheet`, `append_to_spreadsheet` |
| **πŸ–ΌοΈ Slides** | `create_presentation`, `get_presentation`, `add_slide` |

---

## πŸ› οΈ Local Development

```bash
# Run locally
bun run src/index.ts

# Run tests (if added)
bun test
```

For detailed troubleshooting and development setup, see [GUIDE.md](GUIDE.md).

---

## πŸ“„ License
MIT Β© [Hoang Tan](https://github.com/tannht)

Built with 🦴 by **PubPug AI**. GΓ’u gΓ’u! πŸΆπŸš€