mcp-server-microsoft365-filesearch
1
The project is an MCP server that enhances Microsoft 365 with advanced file search capabilities in SharePoint and OneDrive. It offers tools for searching and retrieving file content, includes caching for improved performance, and requires Microsoft Graph app registration.
Overview
- A Model Context Protocol (MCP) server implementation that provides advanced file search capabilities within Microsoft 365.
- Enables efficient file discovery, metadata analysis, and integration with business workflows using SharePoint/OneDrive.
Components
Tools
- search_m365_files: Performs a file search within the M365 environment, returning an array of file metadata objects.
- get_file_content: Retrieves content from a specific file using drive and file identifiers, with caching to speed up repeat access.
Caching
- Improves performance by locally caching downloaded files, reducing redundant API calls and ensuring faster response times.
Microsoft Graph App Registration
- Register an application in the Azure Portal with details such as Client ID, Tenant ID, Client Secret, and necessary API permissions to use the server.
License
- Licensed under the MIT License, allowing use, modification, and distribution with proper attribution.