Sharepoint Mcp

Created By
ravikant19183 months ago
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.
Overview

🚀 SharePoint MCP Server

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 organization’s knowledge securely.


✨ Features

  • ✅ STDIO transport (Claude Desktop compatible)
  • ✅ SSE transport
  • ✅ Streamable HTTP transport
  • ✅ Docker-ready deployment
  • ✅ PyPI package support
  • ✅ Structured logging
  • ✅ Environment-driven configuration
  • ✅ Secure Microsoft Graph authentication
  • ✅ CI/CD validated releases

🏗 Architecture

AI Agent

MCP Transport (STDIO / SSE / HTTP)

SharePoint MCP Server

Microsoft Graph API

SharePoint Online


📦 Installation

Option 1 – Install from PyPI

pip install sharepoint-mcp

Option 2 – Run with Docker

docker run ghcr.io/ravikant1918/sharepoint-mcp:latest

🔐 Required Environment Variables

VariableDescription
SHP_ID_APPAzure App Client ID
SHP_ID_APP_SECRETAzure App Client Secret
SHP_TENANT_IDAzure Tenant ID
SHP_SITE_URLSharePoint Site URL
SHP_DOC_LIBRARYTarget Document Library

🧠 What You Can Do

  • Browse SharePoint document libraries
  • Read and analyze files
  • Upload and manage documents
  • Search enterprise content
  • Enable AI reasoning over internal knowledge

🎯 Use Cases

  • Enterprise knowledge assistants
  • AI-powered document copilots
  • Secure LLM access to SharePoint
  • Internal automation workflows
  • Organization-wide knowledge retrieval

🏢 Enterprise Ready

  • Stateless architecture
  • Container-first deployment
  • Secure token handling
  • Semantic versioning
  • Production logging
  • GitHub Actions CI/CD

📚 Source Code & Documentation

GitHub Repository:
https://github.com/ravikant1918/sharepoint-mcp

Contributions and feedback are welcome.

Server Config

{
  "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"
      }
    }
  }
}
Project Info
Created At
3 months ago
Updated At
3 months ago
Author Name
ravikant1918
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Gpt Scrambler

2 days ago