100+ integrations are ready to connect to your AI.Connect your first MCP

OneDrive MCP server for your AI

Find the latest budget sheet and sum it up, save meeting notes into a client folder, share a report with a colleague, and roll a proposal back to yesterday's version.

PopMCPOneDrive

Find the latest budget spreadsheet in my OneDrive and tell me what it shows

Supported OneDrive tools

All of OneDrive in Microsoft Graph for a signed-in account, from files, folders and uploads to sharing links, permissions, versions and change tracking, plus the drive events PopMCP can watch.

75 tools in the full catalog: 41 read and 34 write. 28 load by default, and the rest are found with tool search.

onedrive_copy_item

Copy a file or folder (with everything in it) into a folder, optionally under a new name.

onedrive_create_folder

Create a folder inside a folder.

onedrive_delete_item

Delete a file or folder (with everything in it).

onedrive_ensure_folder

Make sure a folder path exists, creating each missing level: path /Clients/Acme/2026 gives that folder (with its id) whether it was there or not.

onedrive_get_item

One file or folder's details: name, size, file type, folder childCount, created and modified (when and by whom), parentReference (folder and path), webUrl.

onedrive_get_special_folder

A special folder by its name: documents, photos, cameraroll, approot (this app's own folder), music or recordings.

onedrive_list_children

List the files and folders inside a folder.

onedrive_move_item

Move a file or folder into another folder, optionally renaming it.

onedrive_restore_item

Restore a deleted file or folder from the recycle bin of a personal OneDrive.

onedrive_update_item

Rename a file or folder, move it to another folder, or change its description.

onedrive_create_sharing_link

Create a link to a file or folder that people can open.

onedrive_delete_permission

Stop sharing: remove a person's access or delete a sharing link.

onedrive_list_permissions

Who can open a file or folder: each permission's id, roles (read, write, owner), the people or group it was granted to, and sharing links (link.webUrl, type, scope).

onedrive_open_sharing_link

Open a OneDrive or SharePoint sharing link (shareId is the link itself, e.g. https://1drv.ms/w/s!...): returns the shared file or folder with its id, name, size and parentReference.driveId.

onedrive_share_with_people

Share a file or folder with specific people by email: recipients ("ada@example.com, bob@example.com" or a list), roles read (default) or write, an optional message.

onedrive_update_permission

Change what a permission allows: roles ["read"] or ["write"], or a link's expirationDateTime.

onedrive_get_file_content

Download a file.

onedrive_read_file

Read a file's contents: plain text, CSV, JSON, Markdown, HTML and code as text; Word (.docx), PowerPoint (.pptx) and Excel (.xlsx) as their text; PNG, JPEG, GIF and WebP as the image.

onedrive_replace_file_content

Replace an existing file's contents.

onedrive_upload_file

Create a file in OneDrive, or replace one, from text or base64 bytes.

onedrive_get_drive

The signed-in user's OneDrive: id, driveType (personal or business), owner, quota (total, used, remaining and deleted bytes, state) and webUrl.

onedrive_list_changes

Track changes in the whole drive: the first call lists every item; keep the @odata.deltaLink (deltaCursor) from the last page and pass it as cursor later to get only what changed since (deleted items carry deleted).

onedrive_list_drives

List the drives the signed-in user has (their OneDrive, and on work accounts any other drives offered to them).

onedrive_list_versions

A file's earlier versions, newest first: id, lastModifiedDateTime, lastModifiedBy, size.

onedrive_restore_version

Make an earlier version the current one (a new version is added with its contents; nothing is lost).

onedrive_search_files

Search the drive for files and folders whose name, content or metadata match the words in q.

onedrive_search_including_shared

Search the signed-in user's OneDrive AND the files shared with them, by name, content and metadata.

onedrive_get_thumbnail_content

See a file's thumbnail image (photos, videos, Office documents and PDFs have one): returns the image.

onedrive_get_root_folder

The top folder of the drive: id, childCount, size, webUrl.

onedrive_list_special_folder_children

List the files and folders inside a special folder by name (documents, photos, cameraroll, approot, music, recordings).

onedrive_permanently_delete_item

Delete a file or folder permanently, skipping the recycle bin: it cannot be restored.

onedrive_create_permission

Add a permission object directly.

onedrive_get_permission

One permission on a file or folder: roles, who it was granted to, and its sharing link if it is one.

onedrive_get_shared_file_content

Download the file a sharing link points to, read like onedrive_read_file (text, Office text, or the image).

onedrive_get_shared_folder_item

One item inside a folder that a sharing link shares.

onedrive_get_shared_folder_item_content

Download a file inside a shared folder, read like onedrive_read_file.

onedrive_get_shared_item

What a sharing link points to, in brief: name and owner.

onedrive_get_shared_root

The top item of what a sharing link shares (the shared folder itself, or the file).

onedrive_get_sharing_link_permission

The permission behind a sharing link: its type (view or edit), scope and roles.

onedrive_grant_sharing_link_access

Give specific people access through an existing sharing link (work or school).

onedrive_revoke_link_grants

Remove specific people from a sharing link (OneDrive for work or school) without deleting the link.

onedrive_check_in_file

Check in a checked-out file so others see the new version (document libraries that require check-out).

onedrive_check_out_file

Check out a file so others cannot edit it until it is checked in again.

onedrive_create_subscription

Get a webhook call when files change: resource me/drive/root (a personal OneDrive also allows any folder), changeType updated, notificationUrl (https, must answer Microsoft's validation request), optional clientState.

onedrive_delete_subscription

Stop a change-notification subscription.

onedrive_discard_checkout

Undo a check-out: changes made since are discarded.

onedrive_follow_item

Follow (favorite) a file or folder so it shows in the user's followed list.

onedrive_get_preview_url

A short-lived URL that shows a preview of the file in a browser (getUrl), without changing anything.

onedrive_get_subscription

One change-notification subscription and when it expires.

onedrive_list_subscriptions

List this app's active change-notification subscriptions for the signed-in user (resource, changeType, notificationUrl, expirationDateTime).

onedrive_reauthorize_subscription

Reauthorize a subscription after Microsoft sent a reauthorizationRequired lifecycle notification.

onedrive_renew_subscription

Renew a subscription before it expires: body expirationDateTime (ISO, at most 42,300 minutes ahead).

onedrive_unfollow_item

Stop following a file or folder.

onedrive_add_item_to_bundle

Add a file to a bundle or album of a personal OneDrive.

onedrive_create_bundle

Create a bundle (an album, or a set of files to share together) in a personal OneDrive.

onedrive_create_upload_session

Start a resumable upload that replaces an existing file's contents in parts (for programs that upload the bytes themselves: PUT ranges of 320 KiB multiples to the returned uploadUrl, without an Authorization header).

onedrive_get_activities_by_interval

View and edit counts of a file per day, week or month between two dates (startDateTime, endDateTime as ISO dates; interval day, week or month).

onedrive_get_bundle

One bundle of a personal OneDrive with its details.

onedrive_get_item_analytics_all_time

How often a file was viewed, and by how many people, since it was created.

onedrive_get_item_analytics_last_seven_days

How often a file was viewed, and by how many people, in the last seven days.

onedrive_list_bundles

List bundles (photo albums and multi-file shares) in a personal OneDrive.

onedrive_list_drive_activities

Recent activity in the drive (who created, edited, renamed, moved, shared or deleted what, and when).

onedrive_list_item_activities

Recent activity on one file or folder (and inside a folder): who edited, renamed, moved, shared or commented, and when.

onedrive_remove_item_from_bundle

Take a file out of a bundle or album of a personal OneDrive (the file itself stays in the drive).

onedrive_extract_sensitivity_labels

Read the sensitivity labels applied to a file and refresh the file's label details.

onedrive_get_group_drive

The document library of a Microsoft 365 group or team (its Files tab), by group id: returns the drive's id.

onedrive_get_retention_label

The retention label on a file or folder (name, whether it is a record and locked, retention settings).

onedrive_get_user_drive

Another person's OneDrive in the same organization, by their email or user id: returns the drive's id and owner.

onedrive_get_version

One version of a file: when and by whom it was saved, and its size.

onedrive_get_version_content

The contents of an earlier version of a file, read like onedrive_read_file (text, Office text, or the image).

onedrive_list_followed_items

List files and folders the signed-in user follows (the Favorites list in OneDrive for work or school).

onedrive_remove_retention_label

Remove the retention label from a file or folder.

onedrive_set_retention_label

Apply a retention label (body: name of a label published to the user), or lock or unlock a record (body: retentionSettings: { isRecordLocked: true }).

onedrive_get_thumbnail_set

One thumbnail set of a file (thumbnailSetId 0 is the file's own): small, medium and large with url, width and height.

onedrive_list_thumbnails

Thumbnail images of a file (small, medium, large), each with a short-lived url, width and height.

Connect OneDrive to Claude, ChatGPT and Claude Code

Authorize once, then an endpoint your client signs into. Nothing to deploy, and nothing to install on the OneDrive side.

Register an app in the Microsoft Entra admin center with Any Entra ID Tenant + Personal Microsoft accounts, add PopMCP's Redirect URI under Authentication as a Web platform, copy the Application (client) ID and a client secret Value into PopMCP, then click Sign in with Microsoft and approve access on Microsoft's own page.

Application (client) ID00001111-aaaa-2222-bbbb-3333cccc4444
Client secret Value••••••••••••3f7a
Directory (tenant) IDLeave empty unless your app is single tenant
Authorize PopMCP on OneDriveAuthorize

Then just ask for the work

  • “Find the latest budget spreadsheet in my OneDrive and tell me what it shows”

    • search_files
    • read_file
  • “Save these meeting notes as a Markdown file in Clients/Acme/Meetings”

    • upload_file
  • “Share the Q3 report with priya@contoso.com so she can edit it”

    • search_files
    • share_with_people
  • “Move every invoice PDF from Downloads into Archive/Invoices”

    • list_children
    • ensure_folder
    • move_item
  • “Who can open the pricing deck, and remove the link that anyone can use?”

    • search_files
    • list_permissions
    • delete_permission
  • “Roll the proposal back to the version from before yesterday's edits”

    • list_versions
    • restore_version

Use OneDrive from the assistant you already open

One hosted endpoint, registered once per client. The same tools and the same permissions, whichever window the request comes from.

Claude DesktopCustom connector

Add the PopMCP URL under Customize → Connectors and the tools appear in every chat.

Claude WebCustom connector

The same endpoint, registered in the browser. Nothing to install on the machine you are working from.

ChatGPTCustom connector

Register PopMCP as a custom connector, then let ChatGPT read and update the account.

CodexDesktop & CLI

Wire the endpoint into Codex or the Codex CLI when a task needs live business context, not a fixture.

OpenCodeCoding agent

Register the remote MCP server in OpenCode's config for terminal-first and scripted agent runs.

ZCodeDesktop app

Add PopMCP as an MCP server in Z.ai's desktop app and work the account from the same window.

OneDrive MCP server questions

What teams ask before putting OneDrive behind an AI client.

How do I connect OneDrive to PopMCP?

Sign in with Microsoft and approve access on Microsoft's own page, so your password never reaches PopMCP. Today that sign-in runs through an app you register once in the Microsoft Entra admin center: pick Any Entra ID Tenant + Personal Microsoft accounts, add PopMCP's Redirect URI under Authentication as a Web platform, then copy the Application (client) ID and a client secret Value into the connect form. Tokens renew on their own after that, and every Microsoft connector uses the same Redirect URI.

Does it work with personal OneDrive and OneDrive for work or school?

Both. Personal Microsoft accounts (OneDrive, Outlook.com, Hotmail) and work or school accounts on Microsoft 365 connect the same way. A few tools exist on one side only: albums and recycle bin restore are personal OneDrive features, while check in and check out, followed files, activity and retention labels are work or school ones. The connector says so instead of failing halfway.

Can the AI open files other people shared with me?

Yes, through the link: give the AI a OneDrive or SharePoint sharing link and open_sharing_link or read_file opens the file it points to. To browse other people's files without a link, such as a colleague's OneDrive or a team's files, tick Files shared with me under More options when you connect. In most organizations an administrator approves that permission once, which is why it is not asked for by default.

Can it read Word, Excel and PDF files?

read_file returns the text of Word, PowerPoint and Excel files, plain text, CSV, JSON, Markdown and HTML, and shows pictures as images, for files up to 10 MB. Long documents come back in parts. PDF text cannot be extracted yet, so a PDF is described with its link instead. get_thumbnail_content shows a preview image of most documents and photos.

How big a file can the AI upload?

upload_file takes text or base64 content up to 25 MB per call. Files up to 4 MB go up in one request and larger ones through Microsoft's upload sessions, in parts. Missing folders in the path are created on the way, and an existing file is never overwritten unless the AI asks for replace or rename.

Can the AI delete my files for good?

delete_item moves a file or folder to the OneDrive recycle bin, where you can restore it. permanently_delete_item skips the recycle bin and cannot be undone, and both run as soon as the AI calls them. Keep a connection read-only for clients that should only search and read, and tick OneDrive on the PopMCP consent screen only for clients that should change files.

Do I have to run or host the OneDrive MCP server myself?

No. PopMCP hosts it and gives you a Streamable HTTP MCP URL. There is nothing to deploy, no callback URL to register, and no infrastructure to keep running or patch.

Which AI clients can use this MCP server?

Any client that supports a remote Streamable HTTP MCP server: Claude Desktop, Claude Web, Claude Code, ChatGPT custom connectors, Codex and the Codex CLI, OpenCode and Z.ai's ZCode, as well as editors such as Cursor, Windsurf and Zed. Your client signs in to PopMCP with OAuth; the provider credential never leaves the server.

How do I connect OneDrive to Claude Code?

Connect OneDrive in PopMCP first, then run claude mcp add --transport http popmcp https://app.popmcp.com/mcp in a terminal. Inside Claude Code, run /mcp and sign in to PopMCP in the browser window it opens, ticking OneDrive on the consent screen. The OneDrive tools are then available in that session, and no OneDrive credential is stored on your machine.

Why do only 28 of the 75 tools load by default?

Loading 75 tool definitions into every conversation burns context before the work starts. PopMCP loads a curated 28-tool set covering the everyday workflows and keeps the rest searchable, so your AI pulls a specialist tool only when a task needs it. Every tool stays searchable, and on Scale the owner can load the full catalog for a teammate's connection.

What is the difference between a tool and a trigger?

A tool is something your AI calls, and there are 75 here. A trigger is something PopMCP watches for you: 10 OneDrive events that can start work on the PopMCP side. Triggers never enter your AI client's context, and none of them ask you to paste a callback URL into OneDrive.

Connect OneDrive to your AI in minutes

Launch a hosted MCP endpoint for OneDrive, keep tool access under control, and start testing real workflow prompts right away.

Connect your first MCP