Koskamo

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.

Microsoft Files MCP logo, by MindstoneCommunity listingLocal stdioSource reviewed; not executedPublished by Mindstone
Vendor documentation

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

Community listingRegistry 0.2.1
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

npmnpx
@mindstone/mcp-server-microsoft-files package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.