MetorialDocs

Set up Google Contacts in Metorial for Claude, ChatGPT and Cursor

Share Google Contacts with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API key sign-in, 19 tools (9 read-only).

To give your team Google Contacts in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Google Contacts integration in a Metorial portal, and each person signs in to Google Contacts with their own account. Agents can create, read, update, and delete contacts with rich data fields including names, emails, phone numbers, addresses, organizations, birthdays, and notes. The integration has 19 tools, 9 read-only, 6 write and 4 destructive, plus 1 trigger.

What you'll learn

  • How an admin shares Google Contacts in a portal and how each person connects
  • The 5 OAuth scopes Google Contacts can request, and what each one allows
  • How to keep the 9 read-only tools and reject the other 10

Before you start

Sign-in methods

MethodTypeWhat a person provides
API KeyAPI tokenapiKey
Google OAuth (default)OAuthSigns in to Google Contacts

The portal and metorial setup use Google OAuth unless someone picks another method.

API Key

To connect, a person enters:

  • apiKey: Google API Key for accessing public profile data

Google OAuth

People sign in to Google Contacts and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
https://www.googleapis.com/auth/contactsContactsSee, edit, download, and permanently delete your contacts.
https://www.googleapis.com/auth/contacts.readonlyContacts (Read-only)See and download your contacts.
https://www.googleapis.com/auth/contacts.other.readonlyOther Contacts (Read-only)See and download contact info automatically saved in "Other contacts".
https://www.googleapis.com/auth/directory.readonlyDirectory (Read-only)See and download your organization's Google Workspace directory.
https://www.googleapis.com/auth/userinfo.profileUser ProfileSee your personal info, including any personal info you've made publicly available.

Use your own Google Contacts OAuth app

With your own OAuth app, people see your company's name on the Google Contacts consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Google Contacts and copy the Redirect URI.

Register the app

In the Google Cloud console, enable the API behind Google Contacts under APIs & Services, Library. Then go to Google Auth platform, Clients, click Create Client, choose Web application, and paste the redirect URI from Metorial under Authorized redirect URIs. Google shows the client secret only when you create the client.

The Google Workspace guide covers the consent screen and the OAuth client in Google Cloud step by step.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Google Contacts integration.

Admin: share Google Contacts in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Google Contacts. Under Auth Method, keep Google OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to Google Contacts as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Google Contacts.

Choose who gets it

Add the access groups that should see Google Contacts. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Google Contacts integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "google contacts"

Employee: connect Google Contacts

In the portal

Open Google Contacts in the catalog

Sign in to your portal and open Google Contacts. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Google Contacts sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search "google contacts"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses Google OAuth. To connect with API Key instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Google Contacts connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list "google contacts"
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 9 read-only tools, such as get_contact and list_contacts, and lose the 6 write tools, such as create_contact or update_contact, and the 4 destructive tools, such as delete_contact or delete_contact_group.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list "google contacts"
metorial tools <integration-id>
metorial call <integration-id> list_contact_groups -d '{}'

metorial tools lists the 19 tools, minus any you rejected. list_contact_groups takes no input.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (9)

  • list_contact_groups: Lists all contact groups (labels) owned by the authenticated user, including both user-defined and system groups (like "My Contacts" and "Starred").
  • search_other_contacts: Searches "Other contacts" by name, email, or phone number using prefix matching. Needs query.
  • list_other_contacts: Lists contacts automatically saved in "Other contacts" by Google from interactions.
  • get_contact: Retrieves detailed information about a specific contact by their resource name.
  • get_contact_group: Retrieves details about a specific contact group including its name, type, member count, and member resource names. Needs resourceName.
  • search_directory: Searches the Google Workspace domain directory for profiles and contacts matching a query. Needs query.
  • list_contacts: Lists the authenticated user's contacts with pagination support.
  • search_contacts: Searches the authenticated user's contacts by name, email address, phone number, or other fields.
  • get_my_profile: Retrieves the authenticated Google user's People profile.

Write tools (6)

  • update_contact: Updates an existing contact's data. Needs resourceName and etag.
  • copy_other_contact: Copies an "Other contact" to the user's "My Contacts" group, making it a regular editable contact. Needs resourceName.
  • create_contact: Creates a new contact in the authenticated user's Google Contacts.
  • modify_group_members: Add or remove contacts from a contact group. Needs groupResourceName.
  • create_contact_group: Creates a new contact group (label) for the authenticated user. Needs name.
  • update_contact_group: Updates the name or client data of an existing user-defined contact group. Needs resourceName and name.

Destructive tools (4)

  • delete_contact_group: Deletes a user-defined contact group. Needs resourceName.
  • delete_contact: Permanently deletes a contact from the authenticated user's Google Contacts. Needs resourceName.
  • batch_modify_contacts: Creates, updates, deletes, or gets multiple Google contacts in one People API request.
  • manage_contact_photo: Updates or deletes the photo for a contact in the authenticated user's Google Contacts.

Triggers

Google Contacts has 1 trigger, which fire on events in Google Contacts:

  • contact_changed: Emits a contact snapshot when its contact-source revision is observed, including newly created contacts.

Next steps