What is Sharepoint Mcp?
Sharepoint Mcp is a production-grade Model Context Protocol (MCP) server that gives AI agents live access to Microsoft SharePoint. It connects tools like Claude Desktop, VS Code Copilot, Cursor, and Continue to SharePoint documents, folders, and metadata, enabling agents to read, manage, and reason over organisational knowledge in real time.
How to use Sharepoint Mcp?
Install via pip install sharepoint-mcp, copy .env.example to .env, fill in your Azure AD credentials (app ID, secret, tenant ID, site URL), and optionally set a subfolder scope with SHP_DOC_LIBRARY. Run sharepoint-mcp for stdio transport, or use Docker with docker compose up -d for HTTP transport. Add it to your MCP client’s configuration file (e.g., claude_desktop_config.json) with the required environment variables.
Key features of Sharepoint Mcp
- Dual API support: Office365 REST API or Microsoft Graph API
- Full folder management: list, create, delete, recursive tree
- Document management: upload, download, update, delete, search
- Smart parsing of PDF, Word, Excel, and text files
- Native KQL search for semantic file finding
- Auto-retry with exponential backoff on throttling
Use cases of Sharepoint Mcp
- Summarise a quarterly report from a SharePoint folder using an AI agent
- Translate a proposal document and save the new version back to SharePoint
- Navigate the document library to find files in a specific subfolder
- Extract structured text from Excel sheets for data analysis
- Search for documents by keyword across the entire site library
コメント