Microsoft 365 Files
local MCP serverInstallation
Terminal
claude mcp add mcp-server-microsoft-files -e MS_CLIENT_ID=... -e MS_CONFIG_DIR=... -e MS_ACCOUNT_EMAIL=... -e MS_MCP_PACKAGE_ID=... -e MICROSOFT_REQUEST_TIMEOUT_MS=... -- npx -y @mindstone/mcp-server-microsoft-files
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"mcp-server-microsoft-files": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-microsoft-files"
],
"env": {
"MS_CLIENT_ID": "...",
"MS_CONFIG_DIR": "...",
"MS_ACCOUNT_EMAIL": "...",
"MS_MCP_PACKAGE_ID": "...",
"MICROSOFT_REQUEST_TIMEOUT_MS": "..."
}
}
}
}Fill in the environment variables with your own credentials.
Summary
Microsoft 365 OneDrive files via Graph: list, search, get, upload, download, share, read text.
Questions
Microsoft 365 Files is a local MCP server distributed as the npm package @mindstone/mcp-server-microsoft-files.
Run: claude mcp add mcp-server-microsoft-files -e MS_CLIENT_ID=... -e MS_CONFIG_DIR=... -e MS_ACCOUNT_EMAIL=... -e MS_MCP_PACKAGE_ID=... -e MICROSOFT_REQUEST_TIMEOUT_MS=... -- npx -y @mindstone/mcp-server-microsoft-files
Run: codex mcp add mcp-server-microsoft-files --env MS_CLIENT_ID=... --env MS_CONFIG_DIR=... --env MS_ACCOUNT_EMAIL=... --env MS_MCP_PACKAGE_ID=... --env MICROSOFT_REQUEST_TIMEOUT_MS=... -- npx -y @mindstone/mcp-server-microsoft-files
Similar MCP servers
NameStars
- arxiv-mcp-serverio.github.blazickjp/arxiv-mcp-server3,177
- Microsoft 365 MCP Serverio.github.Softeria/ms-365-mcp-server998
- akbio.github.dnotitia/akb161
- Reverieai.knowall/reverie70
- better-code-review-graphio.github.n24q02m/better-code-review-graph69
- iFlow Searchio.github.zhengyanglsun/iflow-search32
- codeseekerio.github.jghiringhelli/codeseeker20
- mcp-microsoft-todoio.github.MAG-Cie/mcp-microsoft-todo12