productivity
Google Contacts MCP Integration for OpenAI Agents SDK
Connect Google Contacts to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Contacts to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Google Contacts MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |