Creativity · MCP — server

MCP SharePoint Server

The MCP SharePoint Server uses Microsoft Graph and the Search API to let an LLM browse SharePoint sites, read document libraries, query lists, and run enterprise search across a tenant. It respects site-level permissions and is typically paired with Microsoft Purview sensitivity labels for governed retrieval.

MCP facts

Kind
server
Ecosystem
anthropic-mcp
Language
TypeScript / Python
Transports
stdio, http

Capabilities

  • Tools: list_sites, get_document, search_sharepoint, list_items, update_list_item
  • Resources: sharepoint://site/{id}/list/{list}/item/{item}
  • Honors SharePoint permissions and sensitivity labels

Install

npx -y @community/mcp-server-sharepoint

Configuration

{
  "mcpServers": {
    "sharepoint": {
      "command": "npx",
      "args": ["-y", "@community/mcp-server-sharepoint"],
      "env": {
        "MS_TENANT_ID": "${MS_TENANT_ID}",
        "MS_CLIENT_ID": "${MS_CLIENT_ID}",
        "MS_CLIENT_SECRET": "${MS_CLIENT_SECRET}",
        "SP_DEFAULT_SITE": "vipsedu.sharepoint.com:/sites/it"
      }
    }
  }
}

Frequently asked questions

What makes SharePoint MCP different from OneDrive MCP?

SharePoint MCP targets team sites, document libraries, and custom lists — all the collaborative/structured surfaces. OneDrive MCP is scoped to a user's personal drive.

How do I keep permissions enforced?

Use delegated auth so every call runs as the signed-in user. Never use app-only tokens with Sites.FullControl.All for agent scenarios unless the agent is explicitly an admin tool.

Does it work with Microsoft 365 Copilot?

MCP is a complementary protocol. You can expose SharePoint to Claude via this server while Copilot continues to use Microsoft Graph Connectors internally.

Sources

  1. Microsoft Graph — SharePoint API — accessed 2026-04-20
  2. Model Context Protocol — accessed 2026-04-20
  3. MCP servers repo — accessed 2026-04-20