Skip to content
VS Code

microsoft sharepoint for VS Code

io.github.magurelabs/microsoft-sharepoint

Browse SharePoint sites, document libraries and files, and download them.

client:VS Code transport:stdio runtime:oci

Install microsoft sharepoint in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-mode",
      "description": "MCP_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-service-token",
      "description": "MCP_SERVICE_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "microsoft-sharepoint": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/magureai/mcp-microsoft-sharepoint:2.0.0"
      ],
      "env": {
        "MCP_MODE": "${input:mcp-mode}",
        "MCP_SERVICE_TOKEN": "${input:mcp-service-token}"
      }
    }
  }
}

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

microsoft sharepoint in other clients