Set up OneNote in Metorial for Claude, ChatGPT and Cursor
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'll 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 with at least one access group
- An account with OneNote for each person who connects
- For the CLI steps: the Metorial 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.
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.
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 covers the app registration, client secret and admin consent in Microsoft Entra 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 OneNote integration.
Admin: share OneNote 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 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.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from OneNote.
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:
Employee: connect OneNote
In the portal
Open OneNote in the catalog
Sign in to your portal and open OneNote. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A OneNote 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
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.
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.
Check it worked
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. Needsquery.list_pages: List all pages within a OneNote section. NeedssectionId.list_section_groups: List all section groups within a OneNote notebook. NeedsnotebookId.list_sections: List all sections within a OneNote notebook. NeedsnotebookId.get_notebook: Retrieve details of a specific OneNote notebook by its ID, including creation date, sharing status, and modification metadata. NeedsnotebookId.get_page: Retrieve a OneNote page's metadata and optionally its HTML content or a short text preview. NeedspageId.
Write tools (6)
copy_content: Copy a OneNote notebook, section, or page to another location. NeedsresourceTypeandresourceId.create_page: Create a new OneNote page in a section. NeedssectionIdandhtmlContent.create_section_group: Create a new section group for organizing sections. NeedsdisplayName.update_page_content: Update the content of an existing OneNote page using PATCH operations. NeedspageIdandoperations.create_notebook: Create a new OneNote notebook with the specified name. NeedsdisplayName.create_section: Create a new section inside a OneNote notebook or section group. NeedsdisplayName.
Destructive tools (1)
delete_page: Permanently delete a OneNote page. NeedspageId.
Triggers
OneNote has 1 trigger, which fire on events in OneNote:
inbound_webhook
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use OneNote there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Microsoft 365 guide: the app registration, client secret and admin consent in Microsoft Entra
- OneNote on metorial.com: the integration overview