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

# Set up OneNote in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/microsoft-onenote
Last updated: 2026-11-24

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

---

To give your team OneNote in Claude, ChatGPT, Cursor and other AI clients, an admin shares the OneNote integration in a Metorial portal, and each person signs in to OneNote with their own account. Agents can create, read, update, and organize OneNote notebooks, sections, section groups, and pages. The integration has 14 tools, 7 read-only, 6 write and 1 destructive, plus 1 trigger.

**What you will learn**

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

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with OneNote 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 methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **Work Only** (default) | OAuth | Signs in to OneNote |
| **Work & Personal** | OAuth | Signs in to OneNote |

The portal and `metorial setup` use **Work Only** unless someone picks another method.

### Work Only

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

| Scope | Name | What it allows |
| --- | --- | --- |
| `Notes.Read` | Read Notes | Read-only access to all OneNote notebooks owned by or shared with you. |
| `Notes.ReadWrite` | Read & Write Notes | Read and modify OneNote content. |
| `Notes.Create` | Create Notes | Create new OneNote notebooks, sections, and pages. |
| `Notes.Read.All` | Read All Notes | Read all OneNote notebooks you have access to in the organization. |
| `Notes.ReadWrite.All` | Read & Write All Notes | Read, share, and modify all OneNote notebooks you have access to in the organization. |
| `offline_access` | Offline Access | Obtain a refresh token for persistent access. |
| `User.Read` | User Profile | Read your basic profile information. |

### Work & Personal

It requests the same scopes as **Work Only**.

## Use your own OneNote OAuth app

With your own OAuth app, people see your company's name on the OneNote 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 OneNote and copy the **Redirect URI**.

2. **Register the app**

   In the Microsoft Entra admin center, go to **Entra ID**, **App registrations** and select **New registration**. Under **Authentication**, add a redirect URI on the **Web** platform and paste the one from Metorial. Create a client secret under **Certificates & secrets** and copy its **Value**, which Microsoft shows only once.

   The [Microsoft 365 guide](https://metorial.com/docs/platform/integrations/microsoft-365) covers the app registration, client secret and admin consent in Microsoft Entra 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 OneNote integration.

## Admin: share OneNote 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 OneNote. Under **Auth Method**, keep **Work Only** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to OneNote as themselves.

3. **Limit the tools**

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

4. **Choose who gets it**

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

```bash
metorial-admin portals access list <portal-id> --type provider_template --search onenote
```

## Employee: connect OneNote

### In the portal

1. **Open OneNote in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A OneNote 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 onenote
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **Work Only**. To connect with **Work & Personal** 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 OneNote 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 onenote
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_page` and `list_pages`, and lose the 6 write tools, such as `create_page` or `copy_content`, and the destructive tool `delete_page`.

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 onenote
metorial tools <integration-id>
metorial call <integration-id> list_notebooks -d '{}'
```

`metorial tools` lists the 14 tools, minus any you rejected. `list_notebooks` takes no input. It lists all OneNote notebooks accessible by the authenticated user.

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

## Tools

### Read-only tools (7)

- `list_notebooks`: List all OneNote notebooks accessible by the authenticated user.
- `search_pages`: Search OneNote pages accessible by the authenticated user. Needs `query`.
- `list_pages`: List all pages within a OneNote section. Needs `sectionId`.
- `list_section_groups`: List all section groups within a OneNote notebook. Needs `notebookId`.
- `list_sections`: List all sections within a OneNote notebook. Needs `notebookId`.
- `get_notebook`: Retrieve details of a specific OneNote notebook by its ID, including creation date, sharing status, and modification metadata. Needs `notebookId`.
- `get_page`: Retrieve a OneNote page's metadata and optionally its HTML content or a short text preview. Needs `pageId`.

### Write tools (6)

- `copy_content`: Copy a OneNote notebook, section, or page to another location. Needs `resourceType` and `resourceId`.
- `create_page`: Create a new OneNote page in a section. Needs `sectionId` and `htmlContent`.
- `create_section_group`: Create a new section group for organizing sections. Needs `displayName`.
- `update_page_content`: Update the content of an existing OneNote page using PATCH operations. Needs `pageId` and `operations`.
- `create_notebook`: Create a new OneNote notebook with the specified name. Needs `displayName`.
- `create_section`: Create a new section inside a OneNote notebook or section group. Needs `displayName`.

### Destructive tools (1)

- `delete_page`: Permanently delete a OneNote page. Needs `pageId`.

## Triggers

OneNote has 1 trigger, which fire on events in OneNote:

- `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 OneNote 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
- [Microsoft 365 guide](https://metorial.com/docs/platform/integrations/microsoft-365): the app registration, client secret and admin consent in Microsoft Entra
- [OneNote on metorial.com](https://metorial.com/integrations/microsoft-onenote): the integration overview