MCP Server Microsoft365 Filesearch
M

MCP Server Microsoft365 Filesearch

A server implementation based on the MCP protocol that provides file search functionality for Microsoft 365 (SharePoint/OneDrive), supporting efficient file discovery, metadata analysis, and business process integration.
2 points
5.4K

What is the Microsoft 365 File Search Server?

This is a server based on the Model Context Protocol (MCP) that allows you to quickly search for files in Microsoft 365, such as finding specific content in SharePoint and OneDrive. It can help you analyze file metadata and easily integrate it into your workflow.

How to use the Microsoft 365 File Search Server?

Simply enter search keywords to find the required files. The server will return the file metadata and content summary, and you can further obtain the specific content of the file.

Applicable Scenarios

This server is very suitable for scenarios where enterprise users need to quickly retrieve files, analyze file content, or integrate file management functions.

Main Features

Advanced File Search
Search for files in Microsoft 365 based on keywords and return the file metadata and content summary.
Local Cache Mechanism
Downloaded files will be stored in the local cache for quick subsequent access, improving efficiency.
Seamless Workflow Integration
Integrate file search results directly into existing business processes to improve work efficiency.
Advantages
Quickly retrieve files, saving time.
Support local cache to reduce repeated API calls.
Easy to use without complex configuration.
Support various file formats and content analysis.
Limitations
Requires permissions for an Azure - registered application.
May take longer to process large files.
Depends on the Microsoft Graph API and requires a stable network connection.

How to Use

Install and Run the Server
Ensure that the Python environment is installed and clone the GitHub repository locally.
Configure Environment Variables
Set the necessary environment variables, including the client ID, client secret, and tenant ID.
Start the Server
Run the server script in the project directory.
Use the Search Function
Enter keywords to search for files and obtain file metadata.

Usage Examples

Case Title: Search for Annual Reports
Enter the keyword 'Annual Report' to obtain a list of eligible files.
Case Title: Get Specific File Content
Get the specific content of a file through the file ID and drive ID.

Frequently Asked Questions

How to register an Azure application?
What if the search speed is slow?
Where is the file cache stored?

Related Resources

GitHub Project Address
View the project source code and documentation.
Microsoft Graph API Documentation
Understand the relevant functions of the Microsoft Graph API.
Azure Registration Tutorial
Quickly get started with Azure application registration.

Installation

Copy the following command to your Client for configuration
"mcpServers": {
  "M365 File Search (SharePoint/OneDrive)": {
    "command": "uv",
    "args": [
      "--directory",
      "full_path_to_parent_directory",
      "run",
      ".\\src\\mcp_m365_filesearch\\server.py"
    ],
    "env": {
      "CLIENT_ID": "MSGraph Client ID",
      "CLIENT_SECRET": "MS Graph Client Secret",
      "TENANT_ID": "TENANT ID",
      "REGION": "SEARCH REGION"
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
10.0K
5 points
A
Annas MCP
The MCP server and CLI tool of Anna's Archive are used to search for and download documents on the platform and support access through an API key.
Go
5.7K
4.5 points
S
Search1api
The Search1API MCP Server is a server based on the Model Context Protocol (MCP), providing search and crawling functions, and supporting multiple search services and tools.
TypeScript
14.6K
4 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.1K
4.3 points
B
Bing Search MCP
An MCP server for integrating Microsoft Bing Search API, supporting web page, news, and image search functions, providing network search capabilities for AI assistants.
Python
15.2K
4 points
M
Modelcontextprotocol
Certified
This project is an implementation of an MCP server integrated with the Sonar API, providing real-time web search capabilities for Claude. It includes guides on system architecture, tool configuration, Docker deployment, and multi-platform integration.
TypeScript
13.6K
5 points
B
Bilibili MCP Js
Certified
A Bilibili video search server based on the Model Context Protocol (MCP), providing API interfaces to support video content search, paginated queries, and video information return, including LangChain call examples and test scripts.
TypeScript
15.6K
4.2 points
P
Perplexity MCP
Certified
An MCP server based on the Perplexity AI API, providing web search functionality for the Claude desktop client.
Python
15.7K
4.1 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.6K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
14.8K
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.1K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
23.7K
5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
19.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
44.6K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.0K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
29.4K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase