-
Purpose mcp-google-contacts is an MCP (Model Context Protocol) server that connects the Google People API behind Google Contacts to AI applications, letting users manage their Google address book in natural language: find a contact, create or modify contacts, organize contacts with labels (groups), bulk import and clean up, and convert Google's auto-saved "other contacts" into regular entries in "My Contacts".
-
Main capabilities
-
25 tools in total, covering: listing, searching, and reading contacts; creating, updating, and deleting contacts individually or in bulk; managing contact groups and their members; accessing "other contacts".
-
Query capabilities: find contacts by criteria such as company and display email and phone; list members under a label; list contacts that have changed since the last sync (list_contacts supports a sync token).
-
Maintenance capabilities: create a contact for someone with email, phone, and company; modify a phone number or job title; bulk import about fifty people at once, or delete outdated contacts in a single call.
-
Label management: create labels such as "Clients" and add contacts to them, rename labels, move contacts between labels, delete labels (optionally deleting the contacts along with them, and only when explicitly requested).
-
"Other contacts": view addresses that Google auto-saved but that are not in the address book, and copy one of them as a regular contact.
-
Concurrency protection: every update carries an etag check; if the contact has been modified elsewhere since it was read, the write fails instead of silently overwriting.
-
Destructive operation warnings: the People API has no trash, so deleting contacts or groups is permanent and irreversible; the server marks these tools as destructive so AI clients can confirm with the user first.
-
Lean reads: reads return only the fields listed in the field mask, which by default includes names, emails, phone numbers, organizations, and group membership; a missing field may simply not be in the mask rather than being empty.
-
Records are addressed by full resource name (people/c..., contactGroups/..., otherContacts/...), consistent with what the API returns.
-
Usage
-
Prerequisites: Node.js 20+ and a Google account. No credentials are needed during installation, the server can complete the connection within the conversation.
-
Add the server in an AI app: open Settings → MCP servers, choose Add server, set the transport to STDIO, and enter the command:
npx -y mcp-google-contacts@latest
Save and restart. The command-line approach uses the same command. 3. Connect within the conversation (recommended): say "connect Google Contacts". The server has a built-in OAuth client, so there is no need to create your own Google Cloud project or OAuth client: start_login returns a Google authorization link; open it on this machine and consent; the authorization code is returned through a one-time listener on 127.0.0.1 (PKCE) and does not pass through the chat window; finish_login exchanges the authorization code, saves the token to ~/.config/mcp-google-contacts/credentials.json (permissions 0600), and verifies it with a real People API call, so a disabled API is detected immediately. The token is re-read on every call, so no restart of the AI app is needed after connecting; auth_status shows the connection status, and logout revokes and deletes it. 4. Bring your own OAuth client: the built-in client and its Google API quota are shared by all users; use this option if you need an independent quota or if a Workspace administrator prohibits third-party apps. setup_instructions prints a checklist: create or select a Google Cloud project, enable the Google People API, configure the consent screen, and create an OAuth client of type Desktop app; download that client's JSON, give the path to the assistant, and set_client saves it in a way accessible only to the owner, with the secret never passing through the conversation; it then takes precedence over the built-in client, and you just run start_login and finish_login again. 5. Environment variable approach (CI, unattended installs): create or select a Google Cloud project and enable the People API, configure the consent screen and create a Desktop app OAuth client, and authorize it for the Google account to be managed; with "Use your own OAuth credentials" enabled, you can obtain a refresh token using the OAuth 2.0 Playground. All variables are optional; if no credentials are provided at all, the server still starts and completes the MCP handshake, and the first tool call indicates which variables need to be set. Without in-conversation login, you must provide the OAuth triple or an access token. 6. Configuration locations for each client: older Claude Desktop builds can fall back to a JSON stdio configuration, saved on macOS to ~/Library/Application Support/Claude/claude_desktop_config.json and on Windows to %APPDATA%\Claude\claude_desktop_config.json (the current official path is Settings → Extensions; custom desktop extensions can be installed via Advanced settings → Extension Developer → Install Extension… by selecting an .mcpb file, but this repository currently publishes only the npm stdio package and does not include an .mcpb package). For Cursor, add it to ~/.cursor/mcp.json (macOS/Linux) or %USERPROFILE%.cursor\mcp.json (Windows). In VS Code, run MCP: Open User Configuration to add it, and check with MCP: List Servers. For Codex and Claude Code, see their respective MCP documentation. 7. Permission scopes: contacts is used to read and write contacts and groups; read-only scenarios need only contacts.readonly; tools related to "other contacts" additionally require contacts.other.readonly, and broad account permissions are not used. A 403 from a single tool usually means the refresh token lacks the scope required by that tool; re-authorize after adding it. 8. Getting-started example: first ask a read-only question, such as "Find everyone in my contacts from Acme and show their email and phone". Then you can say"Change her phone number to +1 415 555 0100 and add the Clients label" — the assistant will first show the contact and the proposed changes and request confirmation, then perform the etag-protected update and label operation.
IV. Use cases Suitable for workflows that require an AI assistant to read and write Google Contacts directly: searching contact details by company or label, bulk importing lists, cleaning up outdated contacts, periodically syncing incremental changes (in conjunction with an AI application that supports scheduled tasks), and organizing automatically saved "Other contacts" into the formal contacts list. Because the client can distinguish between read, write, and destructive tools, it is also suitable for cautious scenarios that require human confirmation before committing to storage.
V. Limitations and notes
- Search is cache-based, may lag a few seconds behind the most recent writes, and returns at most 30 results.
- "Other contacts" can only be read or copied into "My Contacts" and cannot be edited in place.
- There is no dedicated tool for contact photos; the corresponding API must be accessed via raw_request.
- Deletion is permanent; the People API has no trash or undo.
- Confirmation prompts are controlled by the AI client; the server is only responsible for marking the tool type.
- Google quotas are calculated per user and are relatively low: by default about 90 reads and 90 writes per user per minute; batch tools are preferable to looping single calls; batch calls for write operations must be executed one by one. On 429, the server backs off and retries; reads are also retried after network errors and 5xx, and writes are not replayed when the outcome of a failure is uncertain.
- There is no background polling; the server runs only when invoked; sync tokens expire after about seven days, after which a full re-list is required.
- In test mode, OAuth refresh tokens may expire after seven days; for long-term access, publish the OAuth app, or use an Internal app within a Workspace domain. Client secrets and refresh tokens should be treated as passwords.
- Requests are sent to Google: the local server refreshes the Google OAuth token and calls people.googleapis.com. Anonymous telemetry includes the installation ID, package version, AI client and platform version, and tool names, but does not include OAuth tokens, contact data, tool parameters, or prompts; each tool call also sends the result, and on failure sends a piece of error text in which email addresses, addresses, tokens, numbers of 4 or more digits, and text within quotation marks are replaced with #, if the error text contains a value from the request, that value may appear in it. Set ASKADS_TELEMETRY=0 to opt out of telemetry.
- The repository provides English and Russian documentation; license, fee standards, and specific pricing information are not yet available.