MCP.so
登录

MCP Server - Microsoft 365 File Search (SharePoint & OneDrive)

@godwin3737

基本信息

分类

搜索

传输方式

stdio

作者

godwin3737

关于 MCP Server - Microsoft 365 File Search

暂无概览

MCP Server - Microsoft 365 File Search 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Server - Microsoft 365 File Search 工具

2

`query` (string): The search term or criteria.

`driveid` (string): The unique identifier of the parent drive.

概览

What is MCP Server - Microsoft 365 File Search (SharePoint & OneDrive)?

An MCP server that provides advanced file search capabilities within Microsoft 365, enabling file discovery, metadata analysis, and integration with business workflows by making available content from SharePoint and OneDrive.

How to use MCP Server - Microsoft 365 File Search (SharePoint & OneDrive)?

Configure it in Claude Desktop by adding an entry to claude_desktop_config.json using the uv command to run server.py. Required environment variables: CLIENT_ID, CLIENT_SECRET, TENANT_ID, and REGION. You must also register an application in Azure Portal with delegated or application permissions Sites.Read.All and Files.Read.All, then grant admin consent.

Key features of MCP Server - Microsoft 365 File Search (SharePoint & OneDrive)

  • Two tools: search_m365_files and get_file_content
  • Local caching of downloaded files for faster repeat access
  • Cache stored in ./src/mcp_m365_filesearch/.local/downloads
  • Returns file metadata including content summary, drive ID, and file ID
  • Supports binary stream content retrieval

Use cases of MCP Server - Microsoft 365 File Search (SharePoint & OneDrive)

  • Search for files in Microsoft 365 by keyword or criteria
  • Retrieve file content for analysis or processing
  • Integrate SharePoint/OneDrive file discovery into AI assistants
  • Reduce API calls with local caching for frequently accessed files

常见问题

1

What Azure API permissions are required?

The app registration needs `Sites.Read.All` and `Files.Read.All` (delegated or application), with admin consent granted.

2

Where are cached files stored?

Cached files are stored locally in the `./src/mcp_m365_filesearch/.local/downloads` directory relative to the project root.

3

What inputs does `get_file_content` require?

It requires a `driveid` (string, unique parent drive identifier) and a `fileid` (string, unique file identifier).

4

How does the cache work?

When a file is requested via `get_file_content`, the server first checks the local cache. If found, it returns the file from disk without making a new API call.

5

What runtime is needed to run the server?

The server is run using `uv` and Python; the command references `server.py` in the source directory.

评论

搜索 分类下的更多 MCP 服务器