Microsoft Onenote

v0.2.1
io.github.pipeworx-io/microsoft-onenote Checked 1 day ago Published 1 month ago

Microsoft OneNote (Microsoft 365) MCP Pack

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_notebooks

List the OneNote notebooks in the signed-in user's Microsoft 365 / OneNote account. Returns each notebook's id, display name, created/last-modified times, and whether it is the default notebook. Use to discover a user's OneNote notebooks before browsing sections or pages.

list_sections

List the sections in a OneNote notebook (Microsoft 365). Pass a notebook_id to list that notebook's sections, or omit it to list all sections across every notebook. Returns each section's id, display name, and created/last-modified times. Use to navigate a user's OneNote notes before listing pages.

ParameterTypeDescription
notebook_idstringOptional OneNote notebook ID (from list_notebooks). If omitted, returns sections across all notebooks.

list_pages

List OneNote pages (Microsoft 365 notes). Pass a section_id to list pages in that section, or omit it to list recent pages across all notebooks (newest first). Optionally filter with a free-text search query. Returns each page's id, title, and created/last-modified times. Use to find a user's OneNote notes/pages before reading their content.

ParameterTypeDescription
searchstringOptional free-text search query across OneNote pages (matches title and content).
section_idstringOptional OneNote section ID (from list_sections). If omitted, returns recent pages across all notebooks.
topnumberMaximum number of pages to return (default 50, max 100).

get_page_content

Get the full HTML content of a single OneNote page (Microsoft 365 note) by its ID. Returns the page body as HTML. Use after list_pages to read a user's OneNote note in full.

ParameterTypeDescription
page_id *stringThe ID of the OneNote page to retrieve (from list_pages).