Skip to content
MCP server

SharePoint MCP Server

MCP server for Microsoft SharePoint — manage folders, documents, and metadata.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.1.1
Listing updated
4 days ago

About SharePoint MCP Server

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

Install

Run in a terminal

claude mcp add sharepoint-mcp --env SHP_ID_APP='<SHP_ID_APP>' --env SHP_ID_APP_SECRET='<SHP_ID_APP_SECRET>' --env SHP_TENANT_ID='<SHP_TENANT_ID>' --env SHP_SITE_URL='<SHP_SITE_URL>' -- uvx sharepoint-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "sharepoint-mcp": {
      "command": "uvx",
      "args": [
        "sharepoint-mcp"
      ],
      "env": {
        "SHP_ID_APP": "<SHP_ID_APP>",
        "SHP_ID_APP_SECRET": "<SHP_ID_APP_SECRET>",
        "SHP_TENANT_ID": "<SHP_TENANT_ID>",
        "SHP_SITE_URL": "<SHP_SITE_URL>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "sharepoint-mcp": {
      "command": "uvx",
      "args": [
        "sharepoint-mcp"
      ],
      "env": {
        "SHP_ID_APP": "<SHP_ID_APP>",
        "SHP_ID_APP_SECRET": "<SHP_ID_APP_SECRET>",
        "SHP_TENANT_ID": "<SHP_TENANT_ID>",
        "SHP_SITE_URL": "<SHP_SITE_URL>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "sharepoint-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sharepoint-mcp"
      ],
      "env": {
        "SHP_ID_APP": "<SHP_ID_APP>",
        "SHP_ID_APP_SECRET": "<SHP_ID_APP_SECRET>",
        "SHP_TENANT_ID": "<SHP_TENANT_ID>",
        "SHP_SITE_URL": "<SHP_SITE_URL>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "sharepoint-mcp": {
      "command": "uvx",
      "args": [
        "sharepoint-mcp"
      ],
      "env": {
        "SHP_ID_APP": "<SHP_ID_APP>",
        "SHP_ID_APP_SECRET": "<SHP_ID_APP_SECRET>",
        "SHP_TENANT_ID": "<SHP_TENANT_ID>",
        "SHP_SITE_URL": "<SHP_SITE_URL>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "sharepoint-mcp": {
      "command": "uvx",
      "args": [
        "sharepoint-mcp"
      ],
      "env": {
        "SHP_ID_APP": "<SHP_ID_APP>",
        "SHP_ID_APP_SECRET": "<SHP_ID_APP_SECRET>",
        "SHP_TENANT_ID": "<SHP_TENANT_ID>",
        "SHP_SITE_URL": "<SHP_SITE_URL>"
      }
    }
  }
}

Configuration

  • SHP_ID_APPAzure AD application (client) IDRequired
  • SHP_ID_APP_SECRETAzure AD client secretRequired
  • SHP_TENANT_IDMicrosoft Entra (Azure AD) tenant IDRequired
  • SHP_SITE_URLSharePoint site URL (e.g. https://tenant.sharepoint.com/sites/MySite)Required
  • SHP_DOC_LIBRARYSharePoint document library path

Pricing

Open source

SharePoint MCP Server FAQ

Is SharePoint MCP Server free?

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

How do I add SharePoint MCP Server to Claude Code?

Run this command in your terminal: claude mcp add sharepoint-mcp --env SHP_ID_APP='<SHP_ID_APP>' --env SHP_ID_APP_SECRET='<SHP_ID_APP_SECRET>' --env SHP_TENANT_ID='<SHP_TENANT_ID>' --env SHP_SITE_URL='<SHP_SITE_URL>' -- uvx sharepoint-mcp