Back to Home
frnnk icon

assistant-mcp

Verified Safe

by frnnk

Overview

An MCP (Model Context Protocol) server template providing OAuth 2.0-protected Google Calendar tools to agentic clients.

Installation

Run Command
uv run python src/main.py

Environment 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

Stats

Interest Score0
Security Score7
Cost ClassLow
Stars0
Forks0
Last Update2026-01-19

Tags

MCPOAuthGoogle APIsAgentic ClientsFastMCP