Microsoft 365 File Search Server
БесплатноНе проверенEnables searching and retrieving files from SharePoint and OneDrive within Microsoft 365, with local caching for efficiency.
Описание
Enables searching and retrieving files from SharePoint and OneDrive within Microsoft 365, with local caching for efficiency.
README
Overview
A Model Context Protocol (MCP) server implementation that provides advanced file search capabilities within Microsoft 365. This server enables efficient file discovery, metadata analysis, and integration with business workflows by making available the content from SharePoint/OneDrive.
https://github.com/user-attachments/assets/bbe63c02-f6d9-4c9b-8f98-36fc22a081cc
Components
Tools
The server offers 2 core tools:
search_m365_files
Perform a file search within the M365 environment.
Input:query(string): The search term or criteria.
Returns: Array of file metadata objects. Metadata includes the file content summary, drive ID, and file ID, among other details.
get_file_content
Retrieve content from a specific file.
Input:driveid(string): The unique identifier of the parent drive.fileid(string): The unique identifier of the file.
Returns: File content as a binary stream.
Note: Uses a local cache to speed up repeat access.
Caching
To improve performance and reduce redundant API calls, the server caches downloaded files locally. This is particularly useful when working with large documents or frequently accessed files.
- Cached files are stored in the
./src/mcp_m365_filesearch/.local/downloadsdirectory (relative to the project root). - When a file is requested via
get_file_content, the server first checks the cache. - If the file is already cached, it is returned directly from disk without a new API call.
This feature ensures faster response times and efficient use of API rate limits.
Usage with Claude Desktop
To integrate the server with Claude Desktop, update your claude_desktop_config.json:
"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"
}
}
}
Microsoft Graph App Registration
To use this server, you'll need to register an application in the Azure Portal:
- Register a new application.
- Note down the Client ID and Tenant ID.
- Create a Client Secret under Certificates & Secrets.
- Under API permissions, add the following delegated or application permissions:
Sites.Read.AllFiles.Read.All
- Click Grant admin consent for these permissions.
Ensure these values are correctly set in your env configuration for the MCP server.
License
This project is licensed under the MIT License.
You are free to use, modify, and distribute it with proper attribution.
from github.com/godwin3737/mcp-server-microsoft365-filesearch
Установка Microsoft 365 File Search Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/godwin3737/mcp-server-microsoft365-filesearchFAQ
Microsoft 365 File Search Server MCP бесплатный?
Да, Microsoft 365 File Search Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Microsoft 365 File Search Server?
Нет, Microsoft 365 File Search Server работает без API-ключей и переменных окружения.
Microsoft 365 File Search Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Microsoft 365 File Search Server в Claude Desktop, Claude Code или Cursor?
Открой Microsoft 365 File Search Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Microsoft 365 File Search Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
