Back to Home
microsoft icon

files-mcp-server

Verified Safe

by 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

Run Command
npx -y {ABSOLUTE LOCAL PATH}\files-mcp-server

Environment 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

Stats

Interest Score47
Security Score6
Cost ClassHigh
Avg Tokens5000
Stars87
Forks13
Last Update2026-01-07

Tags

MCP ServerLocal TestingMicrosoft GraphFilesSharePoint