Back to Home
iceener icon

google-calendar-streamable-mcp-server

by iceener

Overview

Manage Google Calendar events (search, create, update, delete, respond, check availability) via a Model Context Protocol (MCP) server.

Installation

Run Command
bun dev

Environment Variables

  • PROVIDER_CLIENT_ID
  • PROVIDER_CLIENT_SECRET
  • OAUTH_SCOPES
  • OAUTH_REDIRECT_URI
  • OAUTH_REDIRECT_ALLOWLIST
  • RS_TOKENS_ENC_KEY

Security Notes

The server implements robust security mechanisms for OAuth 2.1 (PKCE, token encryption at rest if configured) and extensive input validation (Zod). However, a critical vulnerability exists in `src/shared/mcp/security.ts` where the `isAllowedOrigin` function, used for origin validation in production, defaults to always returning `true`. This means any origin can connect to the server, making it highly insecure for remote production deployment without modification. The server explicitly warns in the README and code that `RS_TOKENS_ENC_KEY` (Node.js) or `TOKENS_ENC_KEY` (Cloudflare Workers) is highly recommended for encrypting tokens at rest, otherwise, they are stored unencrypted.

Similar Servers

Stats

Interest Score89
Security Score6
Cost ClassMedium
Avg Tokens3000
Stars29
Forks1
Last Update2025-12-04

Tags

Google CalendarMCP ServerEventsOAuth 2.1Cloudflare Worker