SharePoint MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SHAREPOINT_SITE_URL | Yes | The URL of your SharePoint site (e.g., https://your-tenant.sharepoint.com/sites/your-site) | |
| SHAREPOINT_CLIENT_ID | Yes | Your Azure AD Application (client) ID | |
| SHAREPOINT_TENANT_ID | Yes | Your Azure AD Directory (tenant) ID | |
| SHAREPOINT_DOC_LIBRARY | Yes | The name of the SharePoint document library | Shared Documents |
| SHAREPOINT_CLIENT_SECRET | Yes | Your Azure AD client secret value |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| authenticateA | Start the SharePoint authentication process. Returns a URL that the user must open in a browser to authenticate. The auth server must be running first (npm run auth-server). |
| check_auth_statusB | Check the current SharePoint authentication status |
| logoutB | Clear SharePoint authentication tokens and log out |
| list_foldersB | List all folders in a specified SharePoint directory. Returns folder names, IDs, and metadata. |
| create_folderC | Create a new folder in SharePoint |
| delete_folderA | Delete a folder from SharePoint. The folder must be empty. |
| get_folder_treeB | Get a recursive tree view of folders in SharePoint. Useful for understanding folder structure. |
| list_documentsB | List all documents (files) in a specified SharePoint folder. Returns file names, sizes, and metadata. |
| get_document_contentB | Get the content of a document from SharePoint. Works best with text-based files (txt, json, md, etc). |
| upload_documentC | Upload a new document to SharePoint. For text content, provide the content directly. For binary files, provide base64-encoded content. |
| upload_document_from_pathC | Upload a file from the local filesystem to SharePoint |
| update_documentC | Update an existing document in SharePoint with new content |
| delete_documentC | Delete a document from SharePoint |
| download_documentC | Download a document from SharePoint to the local filesystem |
| get_file_metadataC | Get metadata fields for a SharePoint file |
| update_file_metadataC | Update metadata fields for a SharePoint file |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/peacockery-studio/sharepoint-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server