MCP Server Microsoft365 Filesearch
M

MCP Server Microsoft365 Filesearch

A server implementation based on the MCP protocol, providing advanced search functions for files in Microsoft 365 (SharePoint/OneDrive), supporting file content retrieval, metadata analysis, and business workflow integration.
2 points
10.4K

What is MCP Server - Microsoft 365 File Search?

MCP Server allows you to easily search for files in the Microsoft 365 environment, analyze file metadata, and integrate it into your business processes. Whether you're looking for shared documents or personal files, you can quickly locate the content you need.

How to use MCP Server - Microsoft 365 File Search?

You can start using this tool in just a few simple steps. First, register an Azure application and obtain the necessary credentials, then install and run the server according to the guide.

Applicable Scenarios

Suitable for scenarios where enterprises need efficient file management and collaboration, such as team project management, knowledge base construction, and daily office document retrieval.

Main Features

File Search
Enter keywords or conditions for advanced search, and return a list of matching files and their metadata.
Get File Content
Download the specific file content based on the specified drive ID and file ID.
Local Cache Support
Reduce the number of repeated requests and speed up file access.
Advantages
Efficient file search experience.
Support for multiple file types and metadata analysis.
Reduce API call frequency and save resource costs.
Easy to integrate into existing workflows.
Limitations
Need to register an Azure application and authorize it in advance.
Dependent on the availability of the Microsoft Graph API.
It may still take some time to load very large files.

How to Use

Register an Azure Application
Log in to the Azure portal, create a new application, and record the Client ID, Tenant ID, and Client Secret.
Configure Environment Variables
Set the necessary environment variables such as Client ID, Client Secret, Tenant ID, etc.
Start MCP Server
Run the script to start the server, ensuring that all dependencies are correctly installed.

Usage Examples

Find the Annual Report
Find the latest annual financial report through keyword search.
Get Specific Document Content
Get the specific content of an important contract from the specified location.

Frequently Asked Questions

How to register an Azure application?
What will happen if I forget to set the environment variables?
How does the caching mechanism work?

Related Resources

MCP Server GitHub Repository
Project source code and documentation.
Microsoft Graph API Official Documentation
Learn more about the Microsoft Graph API.
Azure Application Registration Tutorial
Quick start the Azure application registration process.

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

A
Airweave
Airweave is an open - source context retrieval layer for AI agents and RAG systems. It connects and synchronizes data from various applications, tools, and databases, and provides relevant, real - time, multi - source contextual information to AI agents through a unified search interface.
Python
6.1K
5 points
B
Better Icons
An MCP server and CLI tool that provides search and retrieval of over 200,000 icons, supports more than 150 icon libraries, and helps AI assistants and developers quickly obtain and use icons.
TypeScript
5.7K
4.5 points
H
Haiku.rag
Haiku RAG is an intelligent retrieval - augmented generation system built on LanceDB, Pydantic AI, and Docling. It supports hybrid search, re - ranking, Q&A agents, multi - agent research processes, and provides local - first document processing and MCP server integration.
Python
10.2K
5 points
C
Claude Context
Claude Context is an MCP plugin that provides in - depth context of the entire codebase for AI programming assistants through semantic code search. It supports multiple embedding models and vector databases to achieve efficient code retrieval.
TypeScript
16.6K
5 points
A
Acemcp
Acemcp is an MCP server for codebase indexing and semantic search, supporting automatic incremental indexing, multi-encoding file processing, .gitignore integration, and a Web management interface, helping developers quickly search for and understand code context.
Python
17.0K
5 points
M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
15.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
11.9K
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
16.9K
4 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
24.4K
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
20.4K
4.5 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
34.3K
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
72.7K
4.3 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#
31.1K
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
65.4K
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
21.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
48.6K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase