- Home
- MCP servers
- SharePoint
SharePoint
- typescript
21
GitHub Stars
typescript
Language
6 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": {
"zerg00s-server-sharepoint": {
"command": "npx",
"args": [
"-y",
"server-sharepoint"
],
"env": {
"M365_TENANT_ID": "<your-tenant-id>",
"AZURE_APPLICATION_ID": "<your-app-id>",
"AZURE_APPLICATION_CERTIFICATE_PASSWORD": "<your-certificate-password>",
"AZURE_APPLICATION_CERTIFICATE_THUMBPRINT": "<your-certificate-thumbprint>"
}
}
}
}This SharePoint Online MCP Server enables your client applications to interact with SharePoint Online through the SharePoint REST API. It provides a structured, programmable interface for common site, list, and content operations, helping you automate tasks and integrate SharePoint data into your workflows.
How to use
You connect to the MCP server from an MCP client (for example, Claude Desktop) and issue requests that perform operations on your SharePoint Online tenant. This server exposes a wide range of capabilities, including site details, regional settings, lists, list views, and content types. Use it to retrieve data, create or modify resources, and perform management tasks across your SharePoint sites. Start by configuring authentication so your client can securely access your SharePoint environment, then start the MCP server through the client you use and issue requests in natural language or structured prompts. The server handles the translation of your requests into SharePoint REST API calls and returns structured results suitable for presentation in your client.
How to install
Prerequisites: you need Node.js installed on your machine.
Step-by-step installation and setup flow:
-
Install Node.js (version 22.14.0 or later) and ensure it is available on your PATH.
-
Clone the repository containing the MCP server package (SharePoint) to your local machine.
-
Install dependencies for the MCP server package.
-
Configure Claude Desktop to run the MCP server through the included configuration file or the output of the setup script.
-
Start Claude Desktop and load the MCP server configuration so the server can be invoked by your MCP client.
Additional sections
Configuration options emphasize secure authentication. You can choose between two authentication methods: Certificate Authentication (recommended) and Client Secret Authentication (legacy). The certificate-based approach uses an Azure AD App Registration paired with a certificate, offering stronger security without storing a shared secret.
Certificate authentication configuration example for Claude Desktop shows how to run the local MCP server via a standard MCP launcher. The setup uses a local npx invocation to start the server SharePoint MCP package with environment variables that supply Azure AD app credentials and tenant information.
{
"mcpServers": {
"server-sharepoint": {
"command": "npx",
"args": [
"-y",
"server-sharepoint"
],
"env": {
"AZURE_APPLICATION_ID": "<your-app-id>",
"AZURE_APPLICATION_CERTIFICATE_THUMBPRINT": "<your-certificate-thumbprint>",
"AZURE_APPLICATION_CERTIFICATE_PASSWORD": "<your-certificate-password>",
"M365_TENANT_ID": "<your-tenant-id>"
}
}
}
}
Troubleshooting and notes
If you encounter authentication issues, verify that your Azure AD app is configured correctly and that the certificate is accessible by the environment running the MCP server. Ensure the tenant ID and app credentials match your Azure AD registration. If you need to switch to client secret authentication (not recommended for long-term use), you can replace the certificate-related environment variables with the client ID and client secret in the same configuration block.
Available tools
Get Site Details
Retrieve details about a SharePoint site including its properties and configuration.
Update Site Properties
Update properties of a SharePoint site, such as title or description.
Get Regional Settings
Fetch regional settings for a site collection.
Create Subsite
Create a new subsite under a parent site.
Get All Lists
List all lists within a site.
Create List
Create a new list in a site.
Get List Views
Retrieve all views for a specified list.
Create List View
Create a new view for a specified list.
Get List Content Types
Get all content types available for lists.
Create Site Content Type
Create a new content type at the site level.
Upload Document
Upload a document to a library.
Search within SharePoint Site
Search across site content and metadata.