google-contacts-mcp
Verified Safeby domdomegg
Overview
The server enables AI systems to interact with Google Contacts for listing, searching, creating, updating, and deleting contact information.
Installation
GOOGLE_CLIENT_ID='your-client-id' GOOGLE_CLIENT_SECRET='your-client-secret' MCP_TRANSPORT=http npm startEnvironment Variables
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- MCP_TRANSPORT
Security Notes
The code implements a robust OAuth proxy to Google, handling token validation and avoiding persistent storage of sensitive user tokens. Credentials (Client ID, Client Secret, Access Token) are correctly read from environment variables, preventing hardcoding. The `token-cache` mechanism mitigates repeated calls to Google's `tokeninfo` endpoint for validity checks, enhancing efficiency and preventing unnecessary network traffic for already known invalid tokens. The use of Zod for schema validation adds a layer of input sanitization and type safety for tool inputs and outputs.
Similar Servers
google-docs-mcp
Allows AI assistants to programmatically interact with Google Docs, Sheets, and Drive for document management, editing, formatting, and file organization.
google-drive-mcp
Provides an MCP server for secure integration and file management with Google Drive, Docs, Sheets, and Slides for AI clients.
gmail-mcp
Manages Gmail emails programmatically, enabling AI systems to read, send, archive, and perform other email operations on behalf of a user.
stateful-auth-for-mcp-servers
Integrates Google Gmail and Calendar APIs to enable an AI agent to read emails and manage calendar events with stateful authorization for event deletions.