Skip to main content
Glama
mdev26

SharePoint MCP Server

by mdev26

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOGLEVELNoLog level (e.g. DEBUG)
SHP_ID_APPNoAzure AD Application (client) ID
SHP_SITE_URLNoSharePoint site URL (e.g. https://contoso.sharepoint.com/sites/yoursite)
SHP_CERT_PATHNoPath to certificate file for certificate-based auth
SHP_TENANT_IDNoAzure AD Tenant ID
SHP_AUTH_METHODNoAuthentication method: msal (default), certificate, legacy
SHP_DOC_LIBRARYNoDocument library name (default: Shared Documents)
SHP_ID_APP_SECRETNoAzure AD client secret
SHP_CERT_THUMBPRINTNoCertificate thumbprint for certificate-based auth

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
List_SharePoint_Folders

List all folders in a specified directory or root of the document library

List_SharePoint_Documents

List all documents in a specified folder with metadata

Get_Document_Content

Get the content of a document (supports text extraction from PDF, Word, Excel, and text files)

Upload_Document

Upload a new document to SharePoint

Update_Document

Update the content of an existing document

Delete_Document

Delete a document from SharePoint

Create_Folder

Create a new folder in SharePoint

Delete_Folder

Delete an empty folder from SharePoint

Get_SharePoint_Tree

Get a recursive tree view of SharePoint folder structure

Test_Connection

Test the SharePoint connection and authentication

Create_Word_Document

Create a formatted Word document (.docx) with headings, paragraphs, tables, lists, images, hyperlinks, horizontal rules, and page breaks. Supports rich formatting including colors, highlighting, and spacing. Upload directly to SharePoint.

Edit_Word_Document

Edit an existing Word document (.docx) with find/replace operations and SECTION REPLACEMENT for monthly status reports. Preserves all formatting.

SIMPLE REPLACEMENT: Replace individual placeholders ({{company_name}} -> 'Acme Corp')

SECTION REPLACEMENT FOR MONTHLY REPORTS: Replace entire sections (8 bullets, tables) in one operation.

  • Perfect for monthly status reports where sections need to be updated each month

  • Use section markers: {{section:name}} ... {{/section:name}}

  • Replace all content between markers with fresh bullet points or table rows

  • Preserves formatting and list styles

USE CASES:

  • Monthly status reports: Replace {{section:status_bullets}} with 8 new status items

  • Metrics tables: Replace {{section:metrics}} with updated monthly data

  • Template filling: Replace {{company_name}} and other placeholders with actual values

Create_PowerPoint

Create a formatted PowerPoint presentation (.pptx) with multiple slide layouts, text boxes, bullet points, images, tables, shapes, and rich formatting. Upload directly to SharePoint.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
SharePoint Document Library: Shared DocumentsMain SharePoint document library configured for this server

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mdev26/mcp-sharepoint-us'

If you have feedback or need assistance with the MCP directory API, please join our Discord server