> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Google Photos in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/google-photos
Last updated: 2026-11-24

Share Google Photos with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 15 tools (7 read-only).

---

To give your team Google Photos in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Google Photos integration in a Metorial portal, and each person signs in to Google Photos with their own account. Agents can upload, manage, and organize photos and videos in users' Google Photos libraries. The integration has 15 tools, 7 read-only, 7 write and 1 destructive, plus 1 trigger.

**What you will learn**

- How an admin shares Google Photos in a portal and how each person connects
- The 6 OAuth scopes Google Photos can request, and what each one allows
- How to keep the 7 read-only tools and reject the other 8

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Google Photos for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **Google OAuth** | OAuth | Signs in to Google Photos |

### Google OAuth

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

| Scope | Name | What it allows |
| --- | --- | --- |
| `https://www.googleapis.com/auth/photospicker.mediaitems.readonly` | Picker Read | Create, get, and delete picker sessions, and list media items for sessions. |
| `https://www.googleapis.com/auth/photoslibrary.appendonly` | Library Upload | Upload media items and create albums. Only allows new media to be created in the user's library and in albums created by the app. |
| `https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata` | Library Read | Read access to media items and albums created by the app. |
| `https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata` | Library Edit | Edit albums and media items created by the app, including organizing items, changing album titles/cover photos, and media descriptions. |
| `https://www.googleapis.com/auth/userinfo.profile` | User Profile | View basic profile information. |
| `https://www.googleapis.com/auth/userinfo.email` | User Email | View email address. |

## Use your own Google Photos OAuth app

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

1. **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 Photos and copy the **Redirect URI**.

2. **Register the app**

   In the Google Cloud console, enable the API behind Google Photos 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](https://metorial.com/docs/platform/integrations/google-workspace) covers the consent screen and the OAuth client in Google Cloud step by step.

3. **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 Photos integration.

## Admin: share Google Photos in a portal

### In the dashboard

1. **Open Shared Resources**

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

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Google Photos. For how members connect, choose **Each person connects**, so everyone signs in to Google Photos as themselves.

3. **Limit the tools**

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

4. **Choose who gets it**

   Add the access groups that should see Google Photos. 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 Photos integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search "google photos"
```

## Employee: connect Google Photos

### In the portal

1. **Open Google Photos in the catalog**

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

2. **Authenticate**

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

3. **Confirm**

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

### With the CLI

```bash
metorial catalog search "google photos"
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Google Photos 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.

```bash
metorial list "google photos"
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 7 read-only tools, such as `get_album` and `list_albums`, and lose the 7 write tools, such as `create_album` or `update_album`, and the destructive tool `delete_picker_session`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list "google photos"
metorial tools <integration-id>
metorial call <integration-id> list_albums -d '{}'
```

`metorial tools` lists the 15 tools, minus any you rejected. `list_albums` takes no input. It lists albums created by your app in the user's Google Photos library.

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

## Tools

### Read-only tools (7)

- `list_albums`: List albums created by your app in the user's Google Photos library.
- `search_media_items`: Search and list media items created by your app.
- `get_media_item`: Retrieve detailed information about one or more media items by their IDs. Needs `mediaItemIds`.
- `get_album`: Retrieve detailed information about a specific album by its ID, including title, media item count, cover photo, and writeability status. Needs `albumId`.
- `get_picker_session`: Retrieve the current status of a Google Photos Picker session. Needs `sessionId`.
- `list_picked_media`: Retrieve media items that the user selected during a Picker session. Needs `sessionId`.
- `download_media_item`: Download one app-created Google Photos Library API media item as a downloadable file.

### Write tools (7)

- `update_media_item`: Update the description of a media item created by your app. Needs `mediaItemId` and `description`.
- `upload_media`: Create media items in the user's Google Photos library from previously obtained upload tokens. Needs `items`.
- `update_album`: Update the title or cover photo of an album created by your app. Needs `albumId`.
- `create_album`: Create a new album in the user's Google Photos library. Needs `title`.
- `manage_album_media`: Add or remove media items from an album. Needs `albumId`, `action` and `mediaItemIds`.
- `create_picker_session`: Create a new Google Photos Picker session that generates a URI where the user can select photos and videos from their library.
- `add_album_enrichment`: Add a text, location, or map enrichment to an album. Needs `albumId`.

### Destructive tools (1)

- `delete_picker_session`: Delete a Google Photos Picker session. Needs `sessionId`.

## Triggers

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

- `inbound_webhook`

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Google Photos there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Google Workspace guide](https://metorial.com/docs/platform/integrations/google-workspace): the consent screen and the OAuth client in Google Cloud
- [Google Photos on metorial.com](https://metorial.com/integrations/google-photos): the integration overview