productivity
Google Contacts MCP Integration for Codex
Connect Google Contacts to Codex through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Contacts to Codex
Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.
Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with
--write=deny so Codex can inspect read-capable tools without receiving write access by default.
Google Contacts MCP Config for Codex
Keep write access denied or ask-based unless the workspace is trusted.
{
"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
Expose only Google Contacts instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Google Contacts Tools Visible to Codex
Codex sees stable MCP tool names generated from the Google Contacts integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |