← net-map

SharePoint
MCP Servers

Remote MCP servers connecting VS Code Copilot to SharePoint Online — files, drives, lists, and document libraries via Microsoft Graph.

Configured Servers

Both servers are defined in .vscode/mcp.json in the appRepo workspace and connect using your M365 tenant ID.

FILES sharepoint-files

OneDrive and SharePoint Remote MCP Server. Browse drives, download and upload files, manage document libraries, and search content across SharePoint sites.

https://agent365.svc.cloud.microsoft/agents/tenants/24528d2a-bbba-4be5-8de3-1bb70cb01654/servers/mcp_ODSPRemoteServer
list drives list sites get file upload file search content copy / move create folder delete item
LISTS sharepoint-lists

SharePoint Lists MCP Server. Manage sites, lists, list items, and document library metadata via Microsoft Graph SharePoint APIs.

https://agent365.svc.cloud.microsoft/agents/tenants/24528d2a-bbba-4be5-8de3-1bb70cb01654/servers/mcp_SharePointListsTools
list sites get list create list get items add item update item delete item manage columns

Setup

Config file

Both servers are declared in c:\appRepo\.vscode\mcp.json:

{
  "servers": {
    "sharepoint-files": {
      "type": "http",
      "url": "https://agent365.svc.cloud.microsoft/agents/tenants/24528d2a-bbba-4be5-8de3-1bb70cb01654/servers/mcp_ODSPRemoteServer"
    },
    "sharepoint-lists": {
      "type": "http",
      "url": "https://agent365.svc.cloud.microsoft/agents/tenants/24528d2a-bbba-4be5-8de3-1bb70cb01654/servers/mcp_SharePointListsTools"
    }
  }
}

Authentication

VS Code prompts for sign-in with your Microsoft 365 account on first use. No tokens or secrets are stored in the config file.

Requirements

  • VS Code 1.99 or later (MCP support built-in)
  • Microsoft 365 / SharePoint Online subscription on tenant 24528d2a-bbba-4be5-8de3-1bb70cb01654
  • Network access to agent365.svc.cloud.microsoft

Usage in Copilot

Asking about files

# List SharePoint sites
"List all SharePoint sites in my tenant"

# Search for a document
"Find documents about quarterly reports in SharePoint"

# Get a file
"Show me the contents of Budget.xlsx from the Finance site"

Working with lists

# List all lists on a site
"Show me all lists on the HR SharePoint site"

# Read list items
"Get all open tickets from the IT Support list"

# Add an item
"Add a new item to the Project Tasks list with title 'Deploy MCP'"

Tip: Both servers are active simultaneously. Copilot will route to the appropriate one based on your request — file operations go to sharepoint-files, list/metadata operations go to sharepoint-lists.

References

ResourceURL
Microsoft MCP Cataloggithub.com/microsoft/mcp
OneDrive & SharePoint MCP sourcebap-microsoft/MCP-Platform
SharePoint Lists MCP sourcebap-microsoft/MCP-Platform
SharePoint Dev Setuplearn/sharepoint-dev-setup.html
Azure Portal (Entra ID)portal.azure.com