Microsoft OneNote MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Microsoft OneNote MCP or direct API to create notes, search notebooks, update pages, and organize sections through natural language.

Microsoft OneNote logoMicrosoft OneNote
Oauth2

Microsoft OneNote is a digital notebook for capturing notes, drawings, research, and web clippings. It keeps notebooks, sections, and pages organized across devices so ideas stay easy to find.

88 Tools

Try Microsoft OneNote now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Microsoft OneNote
Try asking
TOOLS

Supported Tools

Every Microsoft OneNote action and event your agent gets out of the box.

Copy notebook in group

Copies a OneNote notebook to the Notebooks folder in the destination Documents library.

Copy notebook in site

Copies a OneNote notebook within a SharePoint site.

Copy section to notebook (site context)

Copy a site-hosted OneNote section to a notebook in the same SharePoint site.

Copy section to notebook (user)

Copies a user's OneNote section to a specified notebook.

Copy group section to section group

Copies a OneNote section from a Microsoft 365 group's notebook into another section group.

Copy section to section group (user)

Copies a user's OneNote section to a specified section group.

Copy site page to section

Copy a site-hosted OneNote page to a section natively.

Copy user notebook

Start an asynchronous copy of a user OneNote notebook.

Copy user page to section

Start an asynchronous copy of a user's OneNote page to a specified section, optionally in a Microsoft 365 group.

Count user section group sections

Gets the provider-reported count of OneNote sections directly within a user's section group.

Count site section group sections

Gets the provider-reported count of sections directly within a SharePoint site's OneNote section group.

Create group nested section group

Create a section group inside another group OneNote section group.

Create group notebook

Creates a new OneNote notebook within a Microsoft 365 group.

Create group OneNote page

Creates a new OneNote page in the default section of the default notebook for a Microsoft 365 group.

Create section in section group

Creates a new OneNote section within a specified section group of a Microsoft 365 group.

Create user notebook

Creates a new OneNote notebook for the signed-in user.

Create section in user's section group

Creates a new OneNote section within a specified section group of a notebook for the signed-in user.

Create OneNote page in section

Creates a OneNote page in a specified section for the signed-in user from an HTML content fragment, with an optional title and creation timestamp.

Create section group in group notebook

Creates a new section group within a OneNote notebook that belongs to a Microsoft 365 group.

Create site nested section group

Create a section group inside another site OneNote section group.

Create site notebook

Create a OneNote notebook in a SharePoint site.

Create section in site notebook

Create a OneNote section in a specified notebook in a SharePoint site or, when no site is supplied, in the signed-in user's OneNote.

Create site section page

Create a OneNote page from HTML in a SharePoint site's section.

Create user nested section group

Create a section group inside another user OneNote section group.

Create section in user notebook

Creates a OneNote section in a specified user's notebook and returns available created-section details.

Create user OneNote page

Creates a new OneNote page in the default section of the default notebook for a specific user.

Create section in user section group

Creates a new OneNote section within a specified section group for a specific user.

Create user section page

Creates a OneNote page in a specified user's section using HTML content, with optional named binary resources.

Delete group section page

Deletes a OneNote page within a Microsoft 365 group's OneNote workspace.

Delete OneNote page from section

Delete a OneNote page by page ID within a Microsoft 365 group.

Delete OneNote page from site

Deletes a OneNote page from a SharePoint site.

Delete user OneNote page from section

Deletes a OneNote page by page ID for a specified user or the current user; OneNote retention policies may still apply.

Delete OneNote page for user

Deletes a OneNote page from a user's OneNote workspace.

Get group OneNote page content

Retrieves the raw HTML content of a OneNote page owned by a group.

Get a OneNote section from a group

Retrieves a specific OneNote section from a Microsoft 365 group.

Get OneNote resource content by ID

Retrieves the binary content of a OneNote resource by ID from the signed-in user's notebooks.

Get OneNote page content from section

Retrieves the HTML content of a specific OneNote page from a section for the signed-in user.

Get notebook from web URL

Retrieves a OneNote notebook by using its web URL path.

Get notebook section group

Retrieves a specific section group from a OneNote notebook within a Microsoft 365 group.

Get group OneNote operation status

Retrieves the status of a long-running OneNote operation for a group.

Get a OneNote page from a group

Retrieves OneNote page metadata directly by page ID in a Microsoft 365 group.

Get site OneNote operation status

Retrieves the status of a long-running OneNote operation for a SharePoint site.

Get OneNote page content for user

Gets the HTML content of a specific OneNote page for a user.

Get a OneNote page

Retrieves metadata and properties of a specific OneNote page from the authenticated user's notebooks.

Get recent notebooks

Retrieves a list of recently accessed OneNote notebooks for the signed-in user.

Get a OneNote section by ID

Retrieves a specific OneNote section by its ID from the current user's OneNote.

Get OneNote page from site

Retrieves a specific OneNote page from a SharePoint site.

Get site notebook page preview

Retrieves a text preview of a specific OneNote page from a SharePoint site or the signed-in user's OneNote.

Get a OneNote section from a site

Retrieves a specific OneNote section from a SharePoint site.

Get OneNote page from site (compatibility alias)

Compatibility alias for retrieving OneNote page metadata directly by page ID in a SharePoint site.

Get user notebook

Retrieves the properties and relationships of a OneNote notebook by ID for a specific user.

Get user OneNote operation

Poll the status of a user's asynchronous OneNote operation.

Get a OneNote page from user

Retrieves metadata for a specific OneNote page by user and page ID, with optional property selection, parent relationship expansion, and page level information.

Get parent section group from user section

Retrieves the parent section group of a OneNote section in a user's notebook.

List group notebooks

List OneNote notebooks owned by a Microsoft 365 group or Teams team.

List notebook section groups

Retrieves a list of section groups from the specified notebook within a Microsoft 365 group.

List pages from a group notebook section

Compatibility alias for listing a page of OneNote pages from a specific section within a notebook in a Microsoft 365 group.

List group notebook sections

List one result page of sections directly contained in a specified Microsoft 365 group OneNote notebook; while has_more is true, pass next_cursor back as cursor to continue.

List group root section groups

List section groups at the root of a Microsoft 365 group's OneNote hierarchy.

List group root sections

List sections at the root of a Microsoft 365 group's OneNote hierarchy.

List section group sections

Lists a paginated collection of OneNote sections from a section group within a Microsoft 365 group's OneNote.

List joined teams

List Microsoft Teams that a user is a direct member of.

List pages in section

Retrieves a list of OneNote pages from a specific section for the current user.

List group OneNote pages

Lists a paginated collection of OneNote pages from a Microsoft 365 group.

List group section group section groups

Lists a paginated collection of nested section groups from a specified parent section group within a Microsoft 365 group's OneNote notebook.

List pages from a group section

Canonical action for listing a paginated collection of OneNote pages from a specific section in a Microsoft 365 group.

List site notebooks

List OneNote notebooks stored in a SharePoint site.

List site notebook section groups

Retrieves a list of section groups from the specified notebook within a SharePoint site.

Get OneNote page content from SharePoint site

Retrieves the HTML content of a specific OneNote page within a SharePoint site.

List site root section groups

List section groups at the root of a SharePoint site's OneNote hierarchy.

List site section pages

List one result page of OneNote pages in a known SharePoint site section; pass next_cursor back as cursor to continue.

List site sections

List a page of OneNote sections across a SharePoint site.

List user notebooks

Lists a paginated collection of OneNote notebooks accessible by a specific user.

List user notebook sections

Lists a paginated collection of OneNote sections from a specified user notebook.

List user pages

List OneNote pages owned by a user, defaulting to the signed-in user.

List user root section groups

List root OneNote section groups for a user, defaulting to the signed-in user.

List user section group children

Return one independent result page each of direct sections and nested section groups beneath a personal OneNote section group.

List user sections

List root OneNote sections for a user, defaulting to the signed-in user.

Resolve SharePoint site by URL

Resolve a SharePoint site URL or hostname and path to a Microsoft Graph site resource.

Search SharePoint sites

Search SharePoint sites available through Microsoft Graph.

Update my OneNote page content

Update the content of a OneNote page for the signed-in user.

Update my OneNote section

Updates the navigation property sections in me.

Update OneNote page content

Update the content of a OneNote page in a Microsoft 365 group using one or more HTML patch commands.

Update section in site notebook

Canonical action for updating a OneNote section in a SharePoint site.

Update site OneNote page content

Update the content of a OneNote page within a SharePoint site.

Update site section group section

Compatibility alias for updating a OneNote section in a SharePoint site.

Update section in user notebook

Updates a OneNote section within a user's notebook.

Validate OneNote credentials

Validates OneNote API credentials by attempting to access the user's notebooks.

SETUP GUIDE

Connect Microsoft OneNote MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["onenote"],
  mcp: true,
});
Create a session scoped to Microsoft OneNote and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Create a new OneNote page in my Work notebook titled Standup Notes with today's action items.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Microsoft OneNote request
SETUP GUIDE

Connect Microsoft OneNote API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["onenote"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Microsoft OneNote
3

Run Microsoft OneNote tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Create a new OneNote page in my Work notebook titled Standup Notes with today's action items." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Microsoft OneNote tool calls through the session, and print the final answer

Why Use Composio?

AI Native Microsoft OneNote Integration

  • Supports both Microsoft OneNote MCP and direct API based integrations, so your agent can work the way your stack already works
  • Structured, LLM-friendly schemas for reliable tool execution across notebooks, sections, and pages
  • Rich coverage for reading, writing, and querying your Microsoft OneNote workspace without bespoke integration code

Managed Auth

  • Bring your Microsoft OAuth credentials, then let Composio handle token storage, refresh, and lifecycle management
  • Central place to manage, scope, and revoke Microsoft OneNote access for users and agents
  • Per user and per environment credentials instead of hard-coded secrets sitting in your app

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what OneNote action ran, when, and on whose behalf
  • Built for natural language workflows like finding project notes, creating meeting summaries, and updating research pages

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Microsoft OneNote
  • Scoped, least privilege access to Microsoft OneNote notebooks, sections, and pages
  • Full audit trail of agent actions to support review, debugging, and compliance
FRAMEWORKS

Use Microsoft OneNote with any AI Agent Framework

Choose a Framework you want to connect Microsoft OneNote with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Microsoft OneNote.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Microsoft OneNote tool your agent needs.Free to start.

Start building