SharePoint

Provides certificate-based access to SharePoint data and management actions for MCP clients.
  • python

0

GitHub Stars

python

Language

5 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "peacockery-studio-mcp-sharepoint-cert": {
      "command": "mcp-sharepoint-cert",
      "args": [],
      "env": {
        "SHP_ID_APP": "your-application-client-id",
        "SHP_SITE_URL": "https://your-tenant.sharepoint.com/sites/your-site",
        "SHP_CERT_PATH": "certs/sharepoint.pem",
        "SHP_TENANT_ID": "your-directory-tenant-id",
        "SHP_DOC_LIBRARY": "Shared Documents",
        "SHP_CERT_THUMBPRINT": "your-thumbprint"
      }
    }
  }
}

This MCP Server enables certificate-based authentication to integrate with SharePoint, letting you manage documents, folders, and other resources securely without client secrets. It streamlines automation and workflow tasks by providing a robust bridge between your automation tools and SharePoint.

How to use

You run the MCP server locally or via your automation tool, then connect your MCP client to it to perform folder, document, and metadata operations in SharePoint. The server uses a certificate-based authentication flow to access SharePoint resources without exposing client secrets. Start the server with the command provided below, then configure your client to point at the same runtime. When you start the server, you should see it announce a successful connection and indicate it is ready to accept connections.

How to install

Prerequisites you need before installing are Node.js and uvx/uv for running MCP servers. Install and run the MCP SharePoint server using the commands shown in sequence.

uvx mcp-sharepoint-cert
uv pip install mcp-sharepoint-cert

Additional configuration and usage notes

Configure the server to integrate with Azure AD and SharePoint by following these steps so you can run the server with certificate-based authentication.

# Interactive setup (generates certificate and integrates with Azure)
uvx mcp-sharepoint-cert-setup

After setup, complete the Azure configuration by registering an app and uploading the generated certificate. Then configure the AI assistant by using the output from the setup wizard, or manually create a local environment file with the required values.

Manual environment example (create a .env file):

SHP_ID_APP=your-application-client-id
SHP_TENANT_ID=your-directory-tenant-id
SHP_SITE_URL=https://your-tenant.sharepoint.com/sites/your-site
SHP_DOC_LIBRARY=Shared Documents
SHP_CERT_PATH=certs/sharepoint.pem
SHP_CERT_THUMBPRINT=your-certificate-thumbprint

Run (Standalone)

Once configured, run the MCP server as a standalone process. The server will connect to SharePoint and report that it is ready to accept connections.

mcp-sharepoint-cert

Available tools

List_SharePoint_Folders

List folders within a directory to understand the folder structure.

Create_Folder

Create new folders in a specified directory.

Delete_Folder

Delete an empty folder.

Get_SharePoint_Tree

Retrieve the recursive folder structure for navigation.

List_SharePoint_Documents

List documents with metadata in a library or folder.

Get_Document_Content

Read document content, supporting PDF, Word, and Excel formats.

Upload_Document

Upload new documents from text or binary sources.

Upload_Document_From_Path

Upload documents directly from local filesystem paths.

Update_Document

Update the contents of an existing document.

Delete_Document

Remove a document from the library.

Download_Document

Download a document to the local filesystem.

Get_File_Metadata

Retrieve metadata fields for a file.

Update_File_Metadata

Update metadata fields for a file.

Content_Processing

Intelligent extraction and parsing for common file types (PDF, Word, Excel, text-based formats).

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational