files-mcp-server
Verified Safeby microsoft
Overview
This server provides a local testing environment for the Model Context Protocol, allowing clients to interact with Microsoft OneDrive and SharePoint resources via contextual tools and resources.
Installation
npx -y {ABSOLUTE LOCAL PATH}\files-mcp-serverEnvironment Variables
- ODMCP_TENANT_ID
- ODMCP_CLIENT_ID
- ODMCP_VERBOSE
Security Notes
The server implements delegated authentication (`requireAuthentication`) for its primary MCP endpoints, expecting a Bearer token. However, a specific direct file stream route (`/file/*/contentStream`) hardcodes `const token = "fake"`, which would prevent successful access to real Microsoft Graph API content through that endpoint and could lead to confusion or misuse if not carefully understood. The project explicitly states it is for 'DEVELOPER ENVIRONMENT — NOT FOR PRODUCTION'. No direct 'eval' or obfuscation was found. The core MCP communication relies on properly provided tokens.
Similar Servers
ms-365-mcp-server
Interacting with Microsoft 365 and Office services through the Graph API via a Model Context Protocol (MCP) server.
sharepoint-docs-mcp
Provides SharePoint and OneDrive document search and download functionality through an MCP server.
mcp-mock-server
Provides a mock server for the Model Context Protocol (MCP) to aid in the development and testing of MCP clients.
MCPServerPS
Creates a PowerShell module that serves as a Model Context Protocol (MCP) server, dynamically exposing tools defined in C# code, PowerShell scripts, or PowerShell modules.