Skip to content
MCP server

Microsoft 365 SharePoint

Microsoft 365 SharePoint via Graph: sites, libraries, pages, lists, search, file/list…

Runs locally
Install
Pricing
Open source
Runs
Locally
Version
0.2.1
Listing updated
3 months ago

About Microsoft 365 SharePoint

Microsoft 365 SharePoint is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Microsoft 365 SharePoint via Graph: sites, libraries, pages, lists, search, file/list mutations.

Install

Run in a terminal

claude mcp add mcp-server-microsoft-sharepoint --env MS_CLIENT_ID='<MS_CLIENT_ID>' --env MS_CONFIG_DIR='<MS_CONFIG_DIR>' -- npx -y @mindstone/mcp-server-microsoft-sharepoint

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-microsoft-sharepoint": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-sharepoint"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_CONFIG_DIR": "<MS_CONFIG_DIR>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-microsoft-sharepoint": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-sharepoint"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_CONFIG_DIR": "<MS_CONFIG_DIR>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-server-microsoft-sharepoint": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-sharepoint"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_CONFIG_DIR": "<MS_CONFIG_DIR>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-microsoft-sharepoint": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-sharepoint"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_CONFIG_DIR": "<MS_CONFIG_DIR>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-server-microsoft-sharepoint": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-sharepoint"
      ],
      "env": {
        "MS_CLIENT_ID": "<MS_CLIENT_ID>",
        "MS_CONFIG_DIR": "<MS_CONFIG_DIR>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MS_CLIENT_IDMicrosoft Entra (Azure AD) application client IDRequired
  • MS_CONFIG_DIRPath to the per-user Microsoft config directory (credentials/, accounts.json)Required
  • MS_ACCOUNT_EMAILAccount email when running in multi-account per-instance mode (falls back to the first account in accounts.json)
  • MS_MCP_PACKAGE_IDLogical package ID surfaced in error responses
  • MICROSOFT_REQUEST_TIMEOUT_MSOverride the upstream Microsoft Graph request timeout in milliseconds (max 300000 = 5 min)

Pricing

Open source

Microsoft 365 SharePoint FAQ

Is Microsoft 365 SharePoint free?

Yes. Microsoft 365 SharePoint is open source, so you can use and self-host it for free.

How do I add Microsoft 365 SharePoint to Claude Code?

Run this command in your terminal: claude mcp add mcp-server-microsoft-sharepoint --env MS_CLIENT_ID='<MS_CLIENT_ID>' --env MS_CONFIG_DIR='<MS_CONFIG_DIR>' -- npx -y @mindstone/mcp-server-microsoft-sharepoint

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers