communication
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_create | google_contacts.google_contacts_create | Read | Create a new Google Contact with name, email, phone, company, title, address, and notes. |
integration__google_contacts__google_contacts_delete | google_contacts.google_contacts_delete | Read | Permanently delete a Google Contact by resource name. |
integration__google_contacts__google_contacts_get | google_contacts.google_contacts_get | Read | Get full details of a single Google Contact including notes, websites, and group memberships. |
integration__google_contacts__google_contacts_list | google_contacts.google_contacts_list | Read | List all Google Contacts sorted by first name with pagination. |
integration__google_contacts__google_contacts_list_groups | google_contacts.google_contacts_list_groups | Read | List all Google Contact groups/labels (e.g., Friends, Family, custom groups) with member counts. |
integration__google_contacts__google_contacts_search_contacts | google_contacts.google_contacts_search_contacts | Read | Fuzzy search Google Contacts by name, email, or phone. Matches partial strings (e.g., "john", "acme.com", "555"). Use this to look up contacts before sending emails with gmail_send. |
integration__google_contacts__google_contacts_update | google_contacts.google_contacts_update | Read | Update an existing Google Contact. Unspecified fields are preserved. Email, phone, and address are added alongside existing values; name, company, title, and notes are replaced. |