Skip to content
VS Code

SharePoint MCP Server for VS Code

io.github.ravikant1918/sharepoint-mcp

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

client:VS Code transport:stdio runtime:pypi

Install SharePoint MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "shp-id-app",
      "description": "SHP_ID_APP",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shp-id-app-secret",
      "description": "SHP_ID_APP_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shp-tenant-id",
      "description": "SHP_TENANT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shp-site-url",
      "description": "SHP_SITE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "shp-doc-library",
      "description": "SHP_DOC_LIBRARY",
      "password": true
    }
  ],
  "servers": {
    "sharepoint-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sharepoint-mcp"
      ],
      "env": {
        "SHP_ID_APP": "${input:shp-id-app}",
        "SHP_ID_APP_SECRET": "${input:shp-id-app-secret}",
        "SHP_TENANT_ID": "${input:shp-tenant-id}",
        "SHP_SITE_URL": "${input:shp-site-url}",
        "SHP_DOC_LIBRARY": "${input:shp-doc-library}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

SharePoint MCP Server in other clients