Microsoft 365 Files
About
Microsoft 365 OneDrive files via Graph: list, search, get, upload, download, share, read text.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
MS_CLIENT_ID MS_CONFIG_DIR MS_ACCOUNT_EMAIL MS_MCP_PACKAGE_ID MICROSOFT_REQUEST_TIMEOUT_MSClaude Code
claude mcp add --env MS_CLIENT_ID= --env MS_CONFIG_DIR= --env MS_ACCOUNT_EMAIL= --env MS_MCP_PACKAGE_ID= --env MICROSOFT_REQUEST_TIMEOUT_MS= mcp-server-microsoft-files -- npx @mindstone/mcp-server-microsoft-files
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mcp-server-microsoft-files","command":"npx","args":["@mindstone/mcp-server-microsoft-files"],"env":{"MS_CLIENT_ID":"","MS_CONFIG_DIR":"","MS_ACCOUNT_EMAIL":"","MS_MCP_PACKAGE_ID":"","MICROSOFT_REQUEST_TIMEOUT_MS":""}}'
JSON
{
"mcpServers": {
"mcp-server-microsoft-files": {
"command": "npx",
"args": [
"@mindstone/mcp-server-microsoft-files"
],
"env": {
"MS_CLIENT_ID": "",
"MS_CONFIG_DIR": "",
"MS_ACCOUNT_EMAIL": "",
"MS_MCP_PACKAGE_ID": "",
"MICROSOFT_REQUEST_TIMEOUT_MS": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.