
SharePoint MCP Server
io.github.ravikant1918Published by GitHub account ravikant1918v1.1.1Updated Oct 27, 2026
MCP server for Microsoft SharePoint — manage folders, documents, and metadata.
Overview
Local MCP server that connects an AI assistant to one Microsoft SharePoint site to browse folders, read and write documents, and edit metadata.
- What you can do
- List folders and files, get a full recursive folder tree, create folders and delete empty ones
- Search documents with KQL and read parsed content from PDF, Word, Excel, text and other files
- Upload files as strings, Base64 or local paths, overwrite existing content, download files, and delete documents
- Read and update SharePoint list-item metadata fields
- When to use it
- Useful when an assistant should work with documents already stored in a company SharePoint site — summarizing reports, translating and saving files back, or finding documents by folder or search — instead of relying on pasted content.
- Requirements
- Runs locally as a Python package (pip or uvx) or via Docker; stdio by default, optional HTTP transport. Needs an Azure AD app registration with SharePoint API permissions and admin consent where required, plus the environment variables SHP_ID_APP, SHP_ID_APP_SECRET, SHP_TENANT_ID and SHP_SITE_URL. One site per instance; SHP_DOC_LIBRARY optionally limits scope to a subfolder.
Installation
In SourceWeft
- Open SharePoint MCP Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
🗂️ sharepoint-mcp
The MCP Server that gives your AI agent a brain for Microsoft SharePoint
[CI] [PyPI version] [Python] [License: MIT] [Docker] [MCP]
A production-grade Model Context Protocol (MCP) server for Microsoft SharePoint.
Connect Claude Desktop, VS Code Copilot, Cursor, Continue, or any MCP-compatible AI agent
to your SharePoint — read files, manage folders, and reason over your organisation's knowledge.
📚 Docs · 🗺️ Roadmap · 🐛 Bugs · 💡 Features
📑 Table of Contents
- Why sharepoint-mcp?
- What Your Agent Can Do
- Features
- Quickstart
- Docker
- Transport Modes
- Integrations — Claude Desktop · VS Code Copilot · Cursor
- All 14 Tools
- Configuration Reference
- Limitations
- Troubleshooting
- Development
- Documentation
- Contributing
- Security
🧠 Why sharepoint-mcp?
Most AI agents only know what's in their training data.
sharepoint-mcp gives your agent live access to your organisation's real knowledge.
🚀 What Your Agent Can Do
📖 Understand Any Document
✏️ Read → Reason → Write
🗂️ Navigate Your Library
📊 Supported File Formats
✨ Features
⚡ Quickstart
1️⃣ Install
Or from source:
2️⃣ Configure
🔑 New to Azure AD? Follow the step-by-step guide →
🔀 Choose Your API: SharePoint MCP supports both Office365 REST API (default) and Microsoft Graph API. See API Configuration Guide →
Optional: Scope to a subfolder
By default, the server accesses your entire document library root. To restrict operations to a specific subfolder:
3️⃣ Run
🐳 Docker
The fastest way to deploy for remote or cloud use.
📋 Usage Scenarios
Scenario A: Pull Latest Version from DockerHub (Recommended)
Use this for production deployments with the latest stable release:
What happens: Pulls ravikant1918/sharepoint-mcp:latest from DockerHub with automatic architecture detection (Intel/ARM).
Scenario B: Use Specific Version
Lock to a specific version for stability or testing:
What happens: Pulls ravikant1918/sharepoint-mcp:v1.0.1 instead of latest.
Scenario C: Build Locally from Source
Use this for development or when you've made local code changes:
What happens: Builds image from local Dockerfile, tags as ravikant1918/sharepoint-mcp:latest, and starts container.
Scenario D: Use Custom Image/Fork
If you've forked the repo and published to your own DockerHub:
What happens: Pulls from your custom registry/repository.
🔧 Common Commands
Using Podman? Just replace
dockerwithpodman— fully compatible.
Docker Environment Variables
🔌 Transport Modes
🔗 Integrations
🤖 Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
💡 Omit
SHP_DOC_LIBRARYto access the full library root. If your org uses Office365 REST API and renamed the default library, also setSHP_LIBRARY_NAME.
💻 VS Code Copilot (Agent Mode)
- Start the server via Docker or
TRANSPORT=http sharepoint-mcp - Create
.vscode/mcp.jsonin your workspace:
- Open Copilot Chat → switch to Agent mode → your 14 SharePoint tools are available.
⚠️ Trailing slash matters — the URL must end with
/mcp/(not/mcp).
⌨️ Cursor / Continue
Add to your MCP config (uses stdio transport):
🛠️ All 14 Tools
📁 Folder Management
📄 Document Management
🏷️ Metadata Management
⚙️ Full Configuration Reference
⚠️ Limitations
🔧 Troubleshooting
Authentication Errors
Problem: Missing or invalid SharePoint credentials
Solution: Verify all 4 required environment variables are set:
Connection Issues (HTTP Transport)
Problem: Agent can't connect to the MCP server
Solution:
- Ensure the server is running:
curl http://localhost:8000/mcp/ - Check the URL ends with
/mcp/(trailing slash required) - Verify the port is not blocked by a firewall
Docker Container Unhealthy
Problem: podman ps / docker ps shows (unhealthy)
Solution: Check container logs for errors:
Debug Logging
Enable verbose output by setting LOG_LEVEL=DEBUG:
For Docker, add to your .env file or docker-compose.yml:
Permission Errors
Problem: Access denied from SharePoint
Solution:
- Verify the Azure AD app has the required API permissions
- Ensure admin consent has been granted (if required by your org)
- Confirm
SHP_SITE_URLpoints to a site your app has access to
🧪 Development
📚 Documentation
🤝 Contributing
Contributions are welcome! Please read docs/contributing.md and our Code of Conduct.
- 🍴 Fork the repo
- 🌿 Create a branch:
git checkout -b feat/my-tool - ✅ Add tests:
make test - 📬 Open a Pull Request
🔒 Security
Found a vulnerability? Please do not open a public issue.
Report privately via GitHub Security Advisories or see SECURITY.md.
MIT License © 2026 Ravi Kant
⭐ If this project helps you, please star it on GitHub!
Source: README.md at commit 986fcfa
Tools
0Version history
1- v1.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts