Back to Home
iceener icon

google-calendar-streamable-mcp-server

by iceener

Overview

Manages Google Calendar events, checks availability, and schedules meetings via the Model Context Protocol (MCP) using OAuth 2.1.

Installation

Run Command
bun dev

Environment Variables

  • PROVIDER_CLIENT_ID
  • PROVIDER_CLIENT_SECRET
  • OAUTH_SCOPES
  • OAUTH_REDIRECT_URI
  • RS_TOKENS_ENC_KEY

Security Notes

The server explicitly states that its HTTP/OAuth layer is for development convenience and not production-grade security. Critical security gaps include: 1) The `isAllowedOrigin` function (for origin validation) is a placeholder returning `true` in production, making it vulnerable to CSRF/SSRF unless manually implemented. 2) The `wrangler.toml` defaults `OAUTH_REDIRECT_ALLOW_ALL` to `true`, a severe OAuth vulnerability if not set to `false` in production. 3) While token encryption is available via `RS_TOKENS_ENC_KEY` or `TOKENS_ENC_KEY`, it's optional, and skipping it results in plaintext storage of OAuth tokens, a major security risk. The server uses Zod for input validation and PKCE for OAuth, which are good practices, but the mentioned issues require immediate attention for any remote deployment.

Similar Servers

Stats

Interest Score90
Security Score4
Cost ClassMedium
Avg Tokens1500
Stars42
Forks1
Last Update2025-12-09

Tags

Google CalendarMCP ServerOAuth 2.1Cloudflare WorkerNode.js