MCPSERV.CLUB
godwin3737

Microsoft 365 File Search (SharePoint/OneDrive)

MCP Server

Search and retrieve files from SharePoint and OneDrive quickly

Stale(50)
5stars
0views
Updated Sep 13, 2025

About

An MCP server that enables advanced file search, metadata extraction, and content retrieval within Microsoft 365 environments. It supports efficient discovery of SharePoint/OneDrive files with local caching for fast access.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Microsoft 365 File Search Demo

The Microsoft 365 File Search MCP server bridges the gap between AI assistants and the vast document repositories housed in SharePoint and OneDrive. By exposing a lightweight, Graph‑API‑backed interface, it lets Claude (or any MCP‑compliant client) locate, retrieve, and analyze files without leaving the conversational context. This eliminates the need for developers to write custom connectors or handle OAuth flows manually, streamlining integration into existing AI workflows.

At its core, the server offers two declarative tools. performs keyword or criteria‑based searches across all sites and drives accessible to the authenticated app, returning rich metadata—including drive IDs, file IDs, and content summaries—that can be passed directly to downstream tools or displayed in a UI. then pulls the raw file bytes for any identified document, leveraging a local cache to avoid repeated Graph API calls. This caching layer is especially valuable when dealing with large PDFs or Office documents, ensuring quick repeat access and reducing API rate‑limit pressure.

Key capabilities include:

  • Unified search across SharePoint sites and OneDrive personal libraries with a single query string.
  • Metadata extraction that surfaces file titles, owners, and last‑modified timestamps, enabling context‑aware reasoning by the AI.
  • Efficient content retrieval via caching, which improves latency for frequently accessed files.
  • Secure access through Azure AD app registration, with granular permissions (, ) that can be scoped to delegated or application roles.

Real‑world scenarios benefit from this server in several ways. A sales AI can quickly pull the latest proposal PDFs from a shared drive, while a compliance bot can audit documents by searching for specific keywords. Developers building knowledge‑base assistants can seamlessly integrate file discovery into chat flows, allowing users to request documents or summaries without leaving the conversation. Because the server communicates through MCP, it fits naturally into Claude Desktop’s plugin ecosystem and can be orchestrated alongside other MCP services like data‑source prompts or custom sampling strategies.

In summary, the Microsoft 365 File Search MCP server provides a plug‑and‑play bridge to SharePoint and OneDrive, turning raw cloud storage into structured, searchable knowledge that AI assistants can leverage instantly. Its emphasis on caching, secure permissions, and concise tool definitions makes it a standout component for any developer looking to enrich AI workflows with enterprise document intelligence.