15. SharePoint MCP Server
With this MCP you can access the documents of a Microsoft SharePoint site via Microsoft Graph.
What it can do
List and search files and folders of a SharePoint site
Read document content and return an access link
Examples:
"Search the 'Sales' site for contracts signed in May."
"Open the latest document in the 'Quotes' folder and summarise it."
Configuration parameters
clientId
Yes
Client ID of the Microsoft Entra (Azure AD) App Registration dedicated to SharePoint.
clientSecret
Yes
Client Secret of the App Registration.
tenantId
Yes
Microsoft Entra Directory (Tenant) ID.
siteId
Yes
Full SharePoint site ID. Format: sitename.sharepoint.com,<site-guid>,<web-guid>.
driveId
Yes
SharePoint Drive ID (Document Library) to use. Format: f!....
listId
No
SharePoint list ID. Required only by document search by keywords.
Custom parameters
No additional parameters needed.
How to get the parameters (Azure / Graph app)
On the Azure portal register a new app under Microsoft Entra ID → App registrations
Under API permissions → Microsoft Graph (application) add
Sites.Read.All(orSites.ReadWrite.All) and grant admin consentUnder Certificates & secrets create a client secret and copy it immediately
Copy the Application (client) ID and Directory (tenant) ID
Find the siteId and driveId of the site/library to connect (e.g. via Graph Explorer)
Last updated