TokenToSeaMCP Hub
中文 Console

SharePoint MCP

BrianCusack

Searches and retrieves documents from an organisation's SharePoint through the Microsoft Graph API.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add sharepoint --env CLIENT_ID='<CLIENT_ID>' --env CLIENT_SECRET='<CLIENT_SECRET>' --env SITE_ID='<SITE_ID>' --env TENANT_ID='<TENANT_ID>' -- docker run -i --rm --init -e DOCKER_CONTAINER=true -e TENANT_ID=your-tenant-id -e CLIENT_ID=your-client-id -e CLIENT_SECRET=your-client-secret -e SITE_ID=your-site-id -e DRIVE_ID=your-drive-id mcp/sharepoint

Environment variables

  • CLIENT_ID
  • CLIENT_SECRET
  • SITE_ID
  • TENANT_ID

Replace the placeholders with your own credentials and keep them out of version control.