SharePoint MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOGLEVEL | No | Log level (e.g. DEBUG) | |
| SHP_ID_APP | No | Azure AD Application (client) ID | |
| SHP_SITE_URL | No | SharePoint site URL (e.g. https://contoso.sharepoint.com/sites/yoursite) | |
| SHP_CERT_PATH | No | Path to certificate file for certificate-based auth | |
| SHP_TENANT_ID | No | Azure AD Tenant ID | |
| SHP_AUTH_METHOD | No | Authentication method: msal (default), certificate, legacy | |
| SHP_DOC_LIBRARY | No | Document library name (default: Shared Documents) | |
| SHP_ID_APP_SECRET | No | Azure AD client secret | |
| SHP_CERT_THUMBPRINT | No | Certificate thumbprint for certificate-based auth |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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.
USE CASES:
|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| SharePoint Document Library: Shared Documents | Main 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