communication
Google Contacts MCP Integration for Vercel AI SDK
Connect Google Contacts to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Google Contacts to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Google Contacts MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI SDK 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. |