Microsoft Files MCP
An MCP server that enables agents to interact with Microsoft 365 OneDrive files. It supports listing, searching, uploading, downloading, sharing, and reading text content from files using the Microsoft Graph API. It utilizes a host-orchestrated Microsoft 365 OAuth surface for authentication.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- List and search OneDrive files
- Upload and download files
- Share files with others
- Read text content from files
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@mindstone/mcp-server-microsoft-files 0.2.1
{
"version": "0.2.1",
"transport": "stdio",
"identifier": "@mindstone/mcp-server-microsoft-files",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "MS_CLIENT_ID",
"format": "string",
"isRequired": true,
"description": "Microsoft Entra (Azure AD) application client ID"
},
{
"name": "MS_CONFIG_DIR",
"format": "filepath",
"isRequired": true,
"description": "Path to the per-user Microsoft config directory (credentials/, accounts.json)"
},
{
"name": "MS_ACCOUNT_EMAIL",
"format": "string",
"description": "Account email when running in multi-account per-instance mode (falls back to the first account in accounts.json)"
},
{
"name": "MS_MCP_PACKAGE_ID",
"format": "string",
"default": "Microsoft365Files",
"description": "Logical package ID surfaced in error responses"
},
{
"name": "MICROSOFT_REQUEST_TIMEOUT_MS",
"format": "number",
"default": "60000",
"description": "Override the upstream Microsoft Graph request timeout in milliseconds (max 300000 = 5 min)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"microsoft-files-mcp": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-microsoft-files@0.2.1"
],
"env": {
"MS_CLIENT_ID": "<YOUR_MS_CLIENT_ID>",
"MS_CONFIG_DIR": "<YOUR_MS_CONFIG_DIR>",
"MS_ACCOUNT_EMAIL": "<YOUR_MS_ACCOUNT_EMAIL>",
"MS_MCP_PACKAGE_ID": "<YOUR_MS_MCP_PACKAGE_ID>",
"MICROSOFT_REQUEST_TIMEOUT_MS": "<YOUR_MICROSOFT_REQUEST_TIMEOUT_MS>"
}
}
}
}Cline
{
"mcpServers": {
"microsoft-files-mcp": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-microsoft-files@0.2.1"
],
"env": {
"MS_CLIENT_ID": "<YOUR_MS_CLIENT_ID>",
"MS_CONFIG_DIR": "<YOUR_MS_CONFIG_DIR>",
"MS_ACCOUNT_EMAIL": "<YOUR_MS_ACCOUNT_EMAIL>",
"MS_MCP_PACKAGE_ID": "<YOUR_MS_MCP_PACKAGE_ID>",
"MICROSOFT_REQUEST_TIMEOUT_MS": "<YOUR_MICROSOFT_REQUEST_TIMEOUT_MS>"
}
}
}
}VS Code
{
"servers": {
"microsoft-files-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-microsoft-files@0.2.1"
],
"env": {
"MS_CLIENT_ID": "<YOUR_MS_CLIENT_ID>",
"MS_CONFIG_DIR": "<YOUR_MS_CONFIG_DIR>",
"MS_ACCOUNT_EMAIL": "<YOUR_MS_ACCOUNT_EMAIL>",
"MS_MCP_PACKAGE_ID": "<YOUR_MS_MCP_PACKAGE_ID>",
"MICROSOFT_REQUEST_TIMEOUT_MS": "<YOUR_MICROSOFT_REQUEST_TIMEOUT_MS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"microsoft-files-mcp": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-microsoft-files@0.2.1"
],
"env": {
"MS_CLIENT_ID": "<YOUR_MS_CLIENT_ID>",
"MS_CONFIG_DIR": "<YOUR_MS_CONFIG_DIR>",
"MS_ACCOUNT_EMAIL": "<YOUR_MS_ACCOUNT_EMAIL>",
"MS_MCP_PACKAGE_ID": "<YOUR_MS_MCP_PACKAGE_ID>",
"MICROSOFT_REQUEST_TIMEOUT_MS": "<YOUR_MICROSOFT_REQUEST_TIMEOUT_MS>"
}
}
}
}Let your agent find its tools
Find servers like Microsoft Files MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.