{
  "markdown": "# google-contacts-mcp\n\nMCP server for Google Contacts - list, search, and manage contacts.\n\n## Use Cases\n\n**Email lookup**: \"See the latest JIRA ticket that's come in. Can we email Sarah from the security team to get their input?\" → finds Sarah's email and drafts the message.\n\n**Business card capture**: After a networking event, snap photos of business cards → your assistant extracts the details and adds them as contacts with a note about where you met.\n\n**Find connections**: \"Who do I know at Google?\" or \"I'm visiting London next week - who should I catch up with?\" → search your personal network.\n\n**Call reminder**: \"Remind me to call Mike at 3pm\" → creates a calendar event with Mike's phone number attached so you can dial straight from the reminder.\n\n**Contact updates**: You receive an out-of-office saying someone left their company with a new personal email → your assistant updates their contact automatically.\n\n(These are just examples - any workflow that needs contact lookup or management can use this.)\n\n## Setup\n\n### 1. Create Google OAuth credentials\n\n1. Go to [Google Cloud Console](https://console.cloud.google.com/)\n2. Create a new project (or use existing)\n3. Enable the People API\n4. Go to **APIs & Services** → **OAuth consent screen**, set up consent screen\n5. Go to **APIs & Services** → **Credentials** → **Create Credentials** → **OAuth client ID**\n6. Choose **Web application**\n7. Add `http://localhost:3000/callback` to **Authorized redirect URIs**\n8. Note your Client ID and Client Secret\n\n### 2. Run the server\n\n```bash\nGOOGLE_CLIENT_ID='your-client-id' \\\nGOOGLE_CLIENT_SECRET='your-client-secret' \\\nMCP_TRANSPORT=http \\\nnpm start\n```\n\nThe server runs on `http://localhost:3000` by default. Change with `PORT=3001`.\n\n### 3. Add to your MCP client\n\nWith the server running, follow the instructions on [install-mcp](https://adamjones.me/install-mcp/?url=http://localhost:3000/mcp), which generates the right config for your MCP client (Claude Code, Claude Desktop, Cursor, Cline, VS Code, and more).\n\n## Architecture\n\nThis server acts as an **OAuth proxy** to Google:\n\n```mermaid\ngraph LR\n    A[MCP client] <--> B[google-contacts-mcp] <--> C[Google OAuth/API]\n```\n\n1. Server advertises itself as an OAuth authorization server via `/.well-known/oauth-authorization-server`\n2. `/register` returns the Google OAuth client credentials\n3. `/authorize` redirects to Google, encoding the client's callback URL in state\n4. `/callback` receives the code from Google and forwards to the client's callback\n5. `/token` proxies token requests to Google, injecting client credentials\n6. `/mcp` handles MCP requests, using the bearer token to call People API\n\nThe server holds no tokens or state - it just proxies OAuth to Google.\n\n## Tools\n\n| Tool | Description |\n|------|-------------|\n| `contacts_list` | List contacts with names, emails, phones, organizations, birthdays, events, URLs, addresses, nicknames, relations, IM usernames, genders, external IDs, client data, and custom fields |\n| `contacts_search` | Search contacts by name, email, or phone |\n| `directory_search` | Search organization directory for coworkers |\n| `contact_get` | Get detailed info for a single contact |\n| `contact_create` | Create a new contact |\n| `contact_update` | Update an existing contact |\n| `contact_delete` | Permanently delete a contact |\n| `contact_photo_update` | Set or replace a contact's photo |\n| `contact_photo_delete` | Remove a contact's photo |\n| `contact_groups_list` | List contact groups (labels) |\n| `contact_group_get` | Get a contact group, including its members |\n| `contact_group_create` | Create a new contact group |\n| `contact_group_update` | Rename a contact group |\n| `contact_group_delete` | Permanently delete a contact group |\n| `contact_group_members_modify` | Add or remove contacts from a contact group |\n\n## Contributing\n\nPull requests are welcomed on GitHub! To get started:\n\n1. Install Git and Node.js\n2. Clone the repository\n3. Install dependencies with `npm install`\n4. Run `npm run test` to run tests\n5. Build with `npm run build`\n\n## Releases\n\nVersions follow the [semantic versioning spec](https://semver.org/).\n\nTo release:\n\n1. Use `npm version <major | minor | patch>` to bump the version\n2. Run `git push --follow-tags` to push with tags\n3. Wait for GitHub Actions to publish to the NPM registry.\n",
  "bytes": 4349,
  "sha": "6983606bc34660b284776f9c5b516972818bb69d6fc792e7301561d9169328f6",
  "repo_slug": "domdomegg/google-contacts-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_domdomegg_google_contacts_mcp_4efd1982/readme"
}