Sharepoint Mcp
@ravikant1918
About Sharepoint Mcp
Production-grade MCP Server for Microsoft SharePoint — give your AI agent (Claude, Cursor, Continue) live access to read, write, and manage SharePoint files and folders.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"sharepoint": {
"command": "sharepoint-mcp",
"env": {
"SHP_ID_APP": "your-app-id",
"SHP_ID_APP_SECRET": "your-app-secret",
"SHP_SITE_URL": "https://your-tenant.sharepoint.com/sites/your-site",
"SHP_TENANT_ID": "your-tenant-id",
"SHP_DOC_LIBRARY": "Shared Documents/your-folder"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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
FAQ from Sharepoint Mcp
How do I install and configure Sharepoint Mcp?
Install with pip install sharepoint-mcp, then create a .env file from .env.example and set your SharePoint credentials. Optionally restrict operations to a subfolder with SHP_DOC_LIBRARY. Run sharepoint-mcp for stdio transport or use Docker for HTTP.
What credentials are required to connect to SharePoint?
You need an Azure AD app with client ID, client secret, tenant ID, and your SharePoint site URL. A step-by-step guide is available in docs/azure-setup.md. You can choose between Office365 REST API (default) or Microsoft Graph API by setting SHP_API_TYPE.
What transport modes does Sharepoint Mcp support?
It supports two transport modes: stdio (default, for desktop clients like Claude Desktop and Cursor) and http (for Docker, remote agents, and VS Code Copilot Agent mode). Set the TRANSPORT environment variable to switch.
What file formats can the AI agent read from SharePoint?
The server extracts full text from PDF, Word (.docx/.doc), Excel (.xlsx/.xls), and plain text formats (TXT, JSON, Markdown, HTML, YAML, Python). Images, ZIP, and other binaries are returned as file type plus Base64.
Can I deploy Sharepoint Mcp using Docker?
Yes. Clone the repository, configure .env, and run docker compose up -d. This pulls the latest image from DockerHub (or a specific version) and starts the server with HTTP transport on port 8000. A health check endpoint is available at /health.
More Other MCP servers
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Comments