KosmoKrator

productivity

Google Contacts MCP Integration for Claude Code

Connect Google Contacts to Claude Code through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write OAuth browser flow auth

Connect Google Contacts to Claude Code

Connect local KosmoKrator integrations to Claude Code through one scoped MCP gateway entry.

Add KosmoKrator as a stdio MCP server in the Claude Code project config and select the integrations that should be visible. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Code can inspect read-capable tools without receiving write access by default.

Google Contacts MCP Config for Claude Code

Claude Code can launch the local kosmo binary directly from the project MCP config.

{
  "mcpServers": {
    "kosmokrator-google_contacts": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=google_contacts",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=google_contacts --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Google Contacts instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Google Contacts Tools Visible to Claude Code

Claude Code sees stable MCP tool names generated from the Google Contacts integration catalog.

MCP toolSource functionTypeDescription
integration__google_contacts__google_contacts_list_connections google_contacts.google_contacts_list_connections Read List contacts (connections) from the authenticated user's Google Contacts. Returns names, emails, phone numbers, biographies, organizations, and photos. Supports pagination and incremental sync.
integration__google_contacts__google_contacts_get_connection google_contacts.google_contacts_get_connection Read Get detailed information about a specific contact by resource name (e.g., "people/c123456789"). Returns names, emails, phone numbers, biographies, organizations, and photos.
integration__google_contacts__google_contacts_create_contact google_contacts.google_contacts_create_contact Write Create a new contact in Google Contacts. Provide at least a name. You can also add email addresses, phone numbers, and a biography (notes).
integration__google_contacts__google_contacts_list_contact_groups google_contacts.google_contacts_list_contact_groups Read List all contact groups in the user's Google Contacts. Includes system groups (e.g., "My Contacts", "Starred") and user-created groups. Returns group name, type, and member count.
integration__google_contacts__google_contacts_get_contact_group google_contacts.google_contacts_get_contact_group Read Get details of a specific contact group by resource name (e.g., "contactGroups/myContacts"). Returns the group name, type, member count, and member resource names.
integration__google_contacts__google_contacts_list_other_contacts google_contacts.google_contacts_list_other_contacts Read List "Other Contacts" — people the user has interacted with (e.g., via email) but hasn't added to their contacts. Returns names, email addresses, and phone numbers.
integration__google_contacts__google_contacts_get_current_user google_contacts.google_contacts_get_current_user Read Get the authenticated user's own Google profile information — display name, email addresses, and profile photo.

Related Google Contacts Pages