List Mounted OneDrive Folders on Mac with AI (onedrive_root)

Let your AI assistant list every mounted OneDrive directory on your Mac locally with LMCP. No API keys, no cloud copy, no setup. Works with Claude, ChatGPT and more.

L
LMCP··5 min read

The onedrive_root tool lets your AI assistant see every OneDrive directory currently mounted on your Mac. When you have OneDrive Personal, OneDrive for Business, or several tenant accounts synced at once, the local sync folders live in different places — and remembering their exact paths is a chore. With LMCP, you just ask in plain language and the AI reads them straight from your machine.

A concrete example — you type:

"List my mounted OneDrive folders so I know where my work files are synced."

The AI calls onedrive_root and returns the real, resolved paths of each OneDrive root on your Mac, such as OneDrive-Personal and OneDrive-YourCompany. From there it can browse, open, or search inside those folders.

Which AI agents work?

LMCP exposes onedrive_root alongside 150+ tools to every major MCP-capable assistant:

  • Desktop clients (auto-configure via local stdio): Claude Desktop, Cursor, VS Code (GitHub Copilot), Windsurf and Zed. LMCP wires itself into their MCP config automatically.
  • Web AIs (connect through the LMCP Cloud Relay connector): ChatGPT, Claude.ai (web), Grok and Perplexity. You add the relay connector once and your real Mac tools become available in the browser.

The same tool behaves identically everywhere, so your prompts are portable across assistants.

Automation

onedrive_root is the discovery step that makes deeper OneDrive automation possible. Once the AI knows which roots are mounted, it can chain into other LMCP tools: list files inside a specific OneDrive folder, search for a document by name, read a synced spreadsheet, or move and organize files. A typical chain looks like: onedrive_root → browse a folder → open the latest report → summarize it. You never paste a path manually — the AI resolves it for you and keeps working.

Context

Because LMCP runs natively on your Mac, the AI works with your real data, not a stale cloud snapshot. onedrive_root reflects exactly what macOS has mounted right now, including business tenants and personal accounts. That grounding means the assistant answers about the files you actually have, instead of guessing or asking you to upload them.

Productivity

Manually hunting for the correct OneDrive sync path — especially across multiple tenants — can eat several minutes every time you switch contexts. Letting the AI list the roots and jump straight to the right folder turns a multi-step Finder dig into a single sentence. Over a workweek of repeated "where did that file sync?" moments, that adds up to real time saved and far fewer broken paths in your prompts.

Privacy & GDPR

Everything happens locally. onedrive_root reads the mount list directly on your Mac — no folder names, paths, or file contents are ever sent to a server, and nothing is stored in the cloud by LMCP. There are no API keys and no third-party data processor in the loop. This makes LMCP GDPR-compliant by architecture: your data simply never leaves the device.

Ready to try it? Download LMCP, drag it to Applications, and ask your AI to list your OneDrive folders.

Ready to try it?

Works with Claude, Cursor, VS Code, ChatGPT and any MCP client

Download LMCP (.dmg)
FreemacOS 12+ · Apple Silicon & Intel

✦ llms.txt