MCP.so
Sign In

Mcp Sharepoint

@Sofias-ai

About Mcp Sharepoint

A lightweight MCP Server for seamless integration with Microsoft SharePoint, enabling MCP clients to interact with documents, folders and other SharePoint resources. Developed by sofias tech

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-sharepoint": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "mcp-sharepoint-server"
      ]
    }
  }
}

Tools

8

Lists all folders in a specified directory or root

Fetches all documents within a specified folder

Retrieves the content of a document (as text or base64-encoded binary)

Creates a new folder in the specified directory or root

Uploads a new document to a specified folder

Updates the content of an existing document

Removes a document from a specified folder

Deletes an empty folder from SharePoint

Overview

What is Mcp Sharepoint?

A lightweight MCP Server for seamless integration with Microsoft SharePoint, enabling MCP clients to interact with documents, folders and other SharePoint resources. It is developed by sofias tech and uses the Model Context Protocol.

How to use Mcp Sharepoint?

Install via pip install -e . or pip install mcp-sharepoint-server, then set environment variables (SHP_ID_APP, SHP_ID_APP_SECRET, SHP_SITE_URL, SHP_DOC_LIBRARY, SHP_TENANT_ID). Configure the server in your MCP client (e.g., Claude Desktop) using the command mcp-sharepoint or uvx mcp-sharepoint.

Key features of Mcp Sharepoint

  • Lists folders and documents in SharePoint directories
  • Retrieves document content as text or base64 binary
  • Creates new folders and uploads new documents
  • Updates and deletes existing documents
  • Deletes empty folders from SharePoint
  • Efficient API usage with selective property loading

Use cases of Mcp Sharepoint

  • Automating document management within SharePoint libraries
  • Retrieving document content for further processing by an AI assistant
  • Organizing SharePoint folders and files programmatically
  • Integrating SharePoint data into MCP‑enabled workflows

FAQ from Mcp Sharepoint

What prerequisites are needed to use Mcp Sharepoint?

You need to register an app in Azure AD with appropriate SharePoint permissions, obtain its client ID and client secret, and know your SharePoint site URL and document library path.

What environment variables does Mcp Sharepoint require?

The server requires SHP_ID_APP (client ID), SHP_ID_APP_SECRET (client secret), SHP_SITE_URL (site URL), SHP_DOC_LIBRARY (document library, default "Shared Documents/mcp_server"), and SHP_TENANT_ID (tenant ID).

What tools does Mcp Sharepoint provide?

It provides tools for listing folders and documents, getting document content, creating folders, uploading documents, updating documents, deleting documents, and deleting empty folders.

How do I integrate Mcp Sharepoint with Claude Desktop?

Add a "sharepoint" entry under mcpServers in the Claude Desktop configuration file, specifying the command and environment variables. Example configurations for mcp-sharepoint and uvx are provided in the README.

What Python version is required?

Python 3.10 or later is required, along with dependencies listed in requirements.txt and pyproject.toml.

Frequently asked questions

What prerequisites are needed to use Mcp Sharepoint?

You need to register an app in Azure AD with appropriate SharePoint permissions, obtain its client ID and client secret, and know your SharePoint site URL and document library path.

What environment variables does Mcp Sharepoint require?

The server requires SHP_ID_APP (client ID), SHP_ID_APP_SECRET (client secret), SHP_SITE_URL (site URL), SHP_DOC_LIBRARY (document library, default "Shared Documents/mcp_server"), and SHP_TENANT_ID (tenant ID).

What tools does Mcp Sharepoint provide?

It provides tools for listing folders and documents, getting document content, creating folders, uploading documents, updating documents, deleting documents, and deleting empty folders.

How do I integrate Mcp Sharepoint with Claude Desktop?

Add a `"sharepoint"` entry under `mcpServers` in the Claude Desktop configuration file, specifying the command and environment variables. Example configurations for `mcp-sharepoint` and `uvx` are provided in the README.

What Python version is required?

Python 3.10 or later is required, along with dependencies listed in `requirements.txt` and `pyproject.toml`.

Comments

More Other MCP servers