Google Contacts MCP
A local MCP server that enables managing Google Contacts via the People API through tools for listing, searching, getting, creating, updating, deleting, and counting contacts. It requires an externally stored OAuth token and confirms all write operations.
README
Google Contacts MCP
A small, local Model Context Protocol server for Google Contacts (Google People API).
Security model
This repository intentionally contains no credentials and does not implement OAuth login or redirects.
- Set
GOOGLE_CONTACTS_TOKEN_PATHto an absolute path for an OAuth authorized-user token stored outside this repository. - The server never falls back to a default token path, so it cannot accidentally select a different Google account.
.gitignorerejects token, secret and credential JSON files.- On each refresh, the token file is written with Unix permission
0600. - Write operations require
confirm: truein the tool input.
Do not commit your OAuth token or client-secret JSON. If a credential is ever committed, revoke it immediately in Google Cloud and remove it from Git history.
Tools
| Tool | Purpose |
|---|---|
list_contacts |
List one page of contacts. |
search_contacts |
Search all contacts locally by all words across name, email and phone. |
get_contact |
Fetch a contact by People API resource name. |
create_contact |
Create a contact; requires confirm: true. |
update_contact |
Update supplied fields; requires confirm: true. |
delete_contact |
Permanently delete a contact; requires confirm: true. |
contacts_stats |
Count all contacts. |
Requirements
- Node.js 18 or newer.
- An OAuth refresh token authorized for
https://www.googleapis.com/auth/contacts. - Google People API enabled in the token's Google Cloud project.
Install
npm install
export GOOGLE_CONTACTS_TOKEN_PATH=/absolute/path/outside-this-repo/google_token.json
node index.js
For a Hermes stdio MCP configuration, point the command at node, pass the absolute index.js path in args, and pass only the external token path in env:
mcp_servers:
google-contacts:
command: node
args: [/absolute/path/to/google-contacts-mcp/index.js]
env:
GOOGLE_CONTACTS_TOKEN_PATH: /absolute/path/outside-this-repo/google_token.json
Restart Hermes after adding the server so it can discover the tools.
Development
npm test
The tests never contact Google and do not require a token.
License
MIT.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.