onedrive_copy_ itemCopy a file or folder (with everything in it) into a folder, optionally under a new name.
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
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_ itemCopy a file or folder (with everything in it) into a folder, optionally under a new name.
onedrive_create_ folderCreate a folder inside a folder.
onedrive_delete_ itemDelete a file or folder (with everything in it).
onedrive_ensure_ folderMake 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_ itemOne 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_ folderA special folder by its name: documents, photos, cameraroll, approot (this app's own folder), music or recordings.
onedrive_list_ childrenList the files and folders inside a folder.
onedrive_move_ itemMove a file or folder into another folder, optionally renaming it.
onedrive_restore_ itemRestore a deleted file or folder from the recycle bin of a personal OneDrive.
onedrive_update_ itemRename a file or folder, move it to another folder, or change its description.
onedrive_create_ sharing_ linkCreate a link to a file or folder that people can open.
onedrive_delete_ permissionStop sharing: remove a person's access or delete a sharing link.
onedrive_list_ permissionsWho 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_ linkOpen 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_ peopleShare 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_ permissionChange what a permission allows: roles ["read"] or ["write"], or a link's expirationDateTime.
onedrive_get_ file_ contentDownload a file.
onedrive_read_ fileRead 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_ contentReplace an existing file's contents.
onedrive_upload_ fileCreate a file in OneDrive, or replace one, from text or base64 bytes.
onedrive_get_ driveThe signed-in user's OneDrive: id, driveType (personal or business), owner, quota (total, used, remaining and deleted bytes, state) and webUrl.
onedrive_list_ changesTrack 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_ drivesList the drives the signed-in user has (their OneDrive, and on work accounts any other drives offered to them).
onedrive_list_ versionsA file's earlier versions, newest first: id, lastModifiedDateTime, lastModifiedBy, size.
onedrive_restore_ versionMake an earlier version the current one (a new version is added with its contents; nothing is lost).
onedrive_search_ filesSearch the drive for files and folders whose name, content or metadata match the words in q.
onedrive_search_ including_ sharedSearch the signed-in user's OneDrive AND the files shared with them, by name, content and metadata.
onedrive_get_ thumbnail_ contentSee a file's thumbnail image (photos, videos, Office documents and PDFs have one): returns the image.
onedrive_get_ root_ folderThe top folder of the drive: id, childCount, size, webUrl.
onedrive_list_ special_ folder_ childrenList the files and folders inside a special folder by name (documents, photos, cameraroll, approot, music, recordings).
onedrive_permanently_ delete_ itemDelete a file or folder permanently, skipping the recycle bin: it cannot be restored.
onedrive_create_ permissionAdd a permission object directly.
onedrive_get_ permissionOne permission on a file or folder: roles, who it was granted to, and its sharing link if it is one.
onedrive_get_ shared_ file_ contentDownload the file a sharing link points to, read like onedrive_read_file (text, Office text, or the image).
onedrive_get_ shared_ folder_ itemOne item inside a folder that a sharing link shares.
onedrive_get_ shared_ folder_ item_ contentDownload a file inside a shared folder, read like onedrive_read_file.
onedrive_get_ shared_ itemWhat a sharing link points to, in brief: name and owner.
onedrive_get_ shared_ rootThe top item of what a sharing link shares (the shared folder itself, or the file).
onedrive_get_ sharing_ link_ permissionThe permission behind a sharing link: its type (view or edit), scope and roles.
onedrive_grant_ sharing_ link_ accessGive specific people access through an existing sharing link (work or school).
onedrive_revoke_ link_ grantsRemove specific people from a sharing link (OneDrive for work or school) without deleting the link.
onedrive_check_ in_ fileCheck in a checked-out file so others see the new version (document libraries that require check-out).
onedrive_check_ out_ fileCheck out a file so others cannot edit it until it is checked in again.
onedrive_create_ subscriptionGet 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_ subscriptionStop a change-notification subscription.
onedrive_discard_ checkoutUndo a check-out: changes made since are discarded.
onedrive_follow_ itemFollow (favorite) a file or folder so it shows in the user's followed list.
onedrive_get_ preview_ urlA short-lived URL that shows a preview of the file in a browser (getUrl), without changing anything.
onedrive_get_ subscriptionOne change-notification subscription and when it expires.
onedrive_list_ subscriptionsList this app's active change-notification subscriptions for the signed-in user (resource, changeType, notificationUrl, expirationDateTime).
onedrive_reauthorize_ subscriptionReauthorize a subscription after Microsoft sent a reauthorizationRequired lifecycle notification.
onedrive_renew_ subscriptionRenew a subscription before it expires: body expirationDateTime (ISO, at most 42,300 minutes ahead).
onedrive_unfollow_ itemStop following a file or folder.
onedrive_add_ item_ to_ bundleAdd a file to a bundle or album of a personal OneDrive.
onedrive_create_ bundleCreate a bundle (an album, or a set of files to share together) in a personal OneDrive.
onedrive_create_ upload_ sessionStart 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_ intervalView 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_ bundleOne bundle of a personal OneDrive with its details.
onedrive_get_ item_ analytics_ all_ timeHow often a file was viewed, and by how many people, since it was created.
onedrive_get_ item_ analytics_ last_ seven_ daysHow often a file was viewed, and by how many people, in the last seven days.
onedrive_list_ bundlesList bundles (photo albums and multi-file shares) in a personal OneDrive.
onedrive_list_ drive_ activitiesRecent activity in the drive (who created, edited, renamed, moved, shared or deleted what, and when).
onedrive_list_ item_ activitiesRecent activity on one file or folder (and inside a folder): who edited, renamed, moved, shared or commented, and when.
onedrive_remove_ item_ from_ bundleTake a file out of a bundle or album of a personal OneDrive (the file itself stays in the drive).
onedrive_extract_ sensitivity_ labelsRead the sensitivity labels applied to a file and refresh the file's label details.
onedrive_get_ group_ driveThe document library of a Microsoft 365 group or team (its Files tab), by group id: returns the drive's id.
onedrive_get_ retention_ labelThe retention label on a file or folder (name, whether it is a record and locked, retention settings).
onedrive_get_ user_ driveAnother person's OneDrive in the same organization, by their email or user id: returns the drive's id and owner.
onedrive_get_ versionOne version of a file: when and by whom it was saved, and its size.
onedrive_get_ version_ contentThe contents of an earlier version of a file, read like onedrive_read_file (text, Office text, or the image).
onedrive_list_ followed_ itemsList files and folders the signed-in user follows (the Favorites list in OneDrive for work or school).
onedrive_remove_ retention_ labelRemove the retention label from a file or folder.
onedrive_set_ retention_ labelApply 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_ setOne thumbnail set of a file (thumbnailSetId 0 is the file's own): small, medium and large with url, width and height.
onedrive_list_ thumbnailsThumbnail images of a file (small, medium, large), each with a short-lived url, width and height.
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.
00001111-aaaa-2222-bbbb-3333cccc4444••••••••••••3f7aLeave empty unless your app is single tenantupload_file, move_item, delete_item, share_with_people and create_sharing_link act the moment the AI calls them, and deleted files go to the OneDrive recycle bin. New connections start read-only, only clients ticked on the PopMCP consent screen reach your files, and other people's files stay out of reach unless you allow Files shared with me.
Drop the PopMCP URL into Claude, ChatGPT, Claude Code, Codex or any other supported client. It signs in through PopMCP with OAuth, so your OneDrive credential never leaves the server.
app.popmcp.com/mcpAsk for something harmless before the agent changes anything. Writes run as soon as it calls them, so confirm it reads the right account first.
Find the latest budget spreadsheet in my OneDrive and tell me what it shows
onedrive_search_filesok
Then just ask for the work
“Find the latest budget spreadsheet in my OneDrive and tell me what it shows”
“Save these meeting notes as a Markdown file in Clients/Acme/Meetings”
“Share the Q3 report with priya@contoso.com so she can edit it”
“Move every invoice PDF from Downloads into Archive/Invoices”
“Who can open the pricing deck, and remove the link that anyone can use?”
“Roll the proposal back to the version from before yesterday's edits”
One hosted endpoint, registered once per client. The same tools and the same permissions, whichever window the request comes from.
Add the PopMCP URL under Customize → Connectors and the tools appear in every chat.
The same endpoint, registered in the browser. Nothing to install on the machine you are working from.
Register PopMCP as a custom connector, then let ChatGPT read and update the account.
Wire the endpoint into Codex or the Codex CLI when a task needs live business context, not a fixture.
Register the remote MCP server in OpenCode's config for terminal-first and scripted agent runs.
Add PopMCP as an MCP server in Z.ai's desktop app and work the account from the same window.
FAQ
What teams ask before putting OneDrive behind an AI client.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Launch a hosted MCP endpoint for OneDrive, keep tool access under control, and start testing real workflow prompts right away.