Google Workspace MCP Server - No Calendar DeletionServer

erickva
GitHub
GmailCalendarAPI Management

Loading subscription status...

💡 Description

A Model Context Protocol (MCP) server that provides tools for interacting with Gmail and Google Calendar APIs, allowing programmatic management of emails and calendar events while preventing the deletion of calendar events for security reasons.

📝 JSON Entries

{
  "mcpServers": [
    {
      "google-workspace": {
        "env": {
          "GOOGLE_CLIENT_ID": "YOUR_CLIENT_ID",
          "GOOGLE_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
          "GOOGLE_REFRESH_TOKEN": "YOUR_REFRESH_TOKEN"
        },
        "args": [
          "/path/to/google-workspace-server/build/index.js"
        ],
        "command": "node"
      }
    }
  ]
}

🛠️ Tools

list_emailssearch_emailssend_emailmodify_emaillist_eventscreate_event

Features

  • List recent emails with optional filtering
  • Advanced email searching using Gmail query syntax
  • Send emails with CC and BCC support
  • List upcoming calendar events with date filtering
  • Create new calendar events with attendees

💬 Example Queries

  • { 'maxResults': 5, 'query': 'is:unread' }
  • { 'query': 'from:example@gmail.com has:attachment', 'maxResults': 10 }
  • { 'to': 'recipient@example.com', 'subject': 'Hello', 'body': 'Message content', 'cc': 'cc@example.com', 'bcc': 'bcc@example.com' }
  • { 'maxResults': 10, 'timeMin': '2024-01-01T00:00:00Z', 'timeMax': '2024-12-31T23:59:59Z' }
  • { 'summary': 'Team Meeting', 'location': 'Conference Room', 'description': 'Weekly sync-up', 'start': '2024-01-24T10:00:00Z', 'end': '2024-01-24T11:00:00Z', 'attendees': ['colleague@example.com'] }