assistant-mcp
Verified Safeby frnnk
Overview
An MCP (Model Context Protocol) server template providing OAuth 2.0-protected Google Calendar tools to agentic clients.
Installation
uv run python src/main.pyEnvironment Variables
- GOOGLE_SECRETS_PATH
- GOOGLE_LOCAL_TOKEN_PATH
- SERVER_HOST
- SERVER_PORT
- SERVER_ORIGIN_PROXY
Security Notes
The server's design for local development uses unencrypted file-based token storage (`GOOGLE_LOCAL_TOKEN_PATH`) and a hardcoded 'localtest' principal_id, meaning all operations share the same authentication context. This is acceptable for single-user local testing as stated in the documentation, but a critical security flaw for multi-user or production deployments. The OAuth callback handler in `google_provider.py` performs an `http` to `https` URI replacement which is a workaround for `oauthlib`'s strictness; production environments should ensure proper HTTPS termination and redirect URIs. No obvious 'eval' or malicious obfuscation found.
Similar Servers
google-calendar-streamable-mcp-server
Manages Google Calendar events, checks availability, and schedules meetings via the Model Context Protocol (MCP) using OAuth 2.1.
mcp-python-starter
A feature-complete Model Context Protocol (MCP) server template in Python for developing AI applications and agents.
gcal-mcp
Serves as a Model Context Protocol (MCP) server for Google Calendar to query upcoming, date-specific, and searchable events.
gcal-mcp-server
Provides intelligent Google Calendar integration, event management, and scheduling capabilities through a standardized Model Context Protocol (MCP) interface for AI assistants.