Set up SharePoint for a single site
The standard SharePoint connector needs no setup beyond installing it: Mintive manages the Entra app, an admin consents once, and each user reaches every site they already have access to. That path is in the Microsoft 365 guide.
This guide is for the other case: one connector that agents can use on exactly one SharePoint site, for a department or a project, even when its users can reach more in Microsoft 365. That variant, SharePoint (Scoped Site), runs on your organization's own Entra app, so an admin registers the app first and sets the site when installing from the catalog. The same connector can be installed more than once, one site per install.
Agents get the same tools as the standard connector: browse the site's document libraries, search, read files, and create, update, and delete them, all as the signed-in user. Every call that names another site, a group drive, or a file outside the site is refused.
Prerequisites
- A Mintive admin account
- Microsoft 365 work or school accounts. Personal Microsoft accounts can't connect
- A Microsoft Entra admin who can register an app and grant admin consent, such as a Global Administrator, Cloud Application Administrator, or Application Administrator
- The site's composite ID, which you find below
Register a Microsoft Entra app
Microsoft Entra doesn't support dynamic client registration, so an admin registers an app once and Mintive uses its client ID and secret for every user's sign-in.
-
Go to portal.azure.com > Microsoft Entra ID > App registrations. Confirm the directory shown in the account menu is your organization's tenant.
-
Click New registration.
-
Enter a name, for example Mintive SharePoint.
-
Under Supported account types, keep the single-tenant option. The current form labels it Single tenant only followed by your directory name; older forms call it Accounts in this organizational directory only.
-
Under Redirect URI, select Web and enter the callback for your Mintive region:
Mintive region Redirect URI US ( app.mintmcp.com)https://app.mintmcp.com/oauth/callbackEU ( eu.mintmcp.com)https://eu.mintmcp.com/oauth/callbackThe install panel in Mintive shows the callback for your organization. Microsoft compares the redirect URI character by character, so copy it from there.
-
Click Register.
-
Go to API permissions > Add a permission > Microsoft Graph > Delegated permissions, and add:
Permission Why Sites.Read.All,Sites.ReadWrite.AllBrowse and change the site's libraries as the user Files.Read.All,Files.ReadWrite.AllRead and change the files the user can access in those libraries GroupMember.Read.AllName the Microsoft 365 groups behind group-connected sites User.Read,openid,email,profileSign the user in offline_accessLet Mintive refresh the token without asking the user to sign in again Add only delegated permissions. The connector always acts as the signed-in user, so it needs no application permissions. The scopes cover every site the user can reach; the connector itself narrows that to the one site you set at install time.
-
Click Grant admin consent for [your organization] and confirm, so users aren't prompted to consent individually and tenants that block user consent still work.
-
Copy the Application (client) ID and Directory (tenant) ID from the Overview tab. The Object ID is a different value and doesn't work as a client ID.
-
Go to Certificates & secrets > Client secrets > New client secret, enter a description, choose an expiry that matches your credential policy, and click Add.
-
Copy the secret Value immediately. It's shown once, and the Secret ID column next to it isn't the value Mintive needs.
Record the secret's expiry date and owner. When it expires, every user's connection stops refreshing until an admin creates a new secret and updates it in Mintive.
Find the site ID
The connector identifies the site by its composite Graph ID, three parts separated by commas: hostname,siteCollectionId,webId, for example contoso.sharepoint.com,xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy.
To get it, sign in to Graph Explorer and run GET https://graph.microsoft.com/v1.0/sites/<tenant>.sharepoint.com:/sites/<site-name>, then copy the id field from the response. If you already have the standard SharePoint connector installed, list_sites_and_groups returns the same ID for every site the user can see.
Add SharePoint (Scoped Site) to Mintive
The catalog pre-fills the Microsoft endpoints, scopes, and token mapping. Microsoft's endpoints are per tenant, so {tenant-id} in the catalog is a placeholder for your Directory (tenant) ID.
- In Mintive, go to MCP store > Manage store.
- Find SharePoint (Scoped Site) in the catalog and click Install, then Continue. A setup page appears with the connector configuration.
- Set Scoped site ID to the composite ID from the previous section, with Global scope. Leave it blank only if you want this install to expose every site the user can access, which is what the standard connector already does.
- Set Authorization URL to
https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/authorizeand Token URL tohttps://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token, replacing<tenant-id>with the Directory (tenant) ID from the app's Overview page. Microsoft rejects the sign-in if the placeholder is left in place. - Keep the pre-filled Scopes.
- Enter the Client ID (the Application (client) ID) and the Client Secret (the secret Value) from the app registration.
- Confirm the Redirect URL shown on the setup page matches the Web redirect URI on the app registration. Microsoft compares them character by character.
- Save the connector. A malformed site ID stops the connector from starting, so check the connector status after saving.
Each user signs in with their Microsoft 365 account on first use. With admin consent granted, they see the Microsoft sign-in page and land back in Mintive without a consent prompt.
To cover a second site, install SharePoint (Scoped Site) again with that site's ID. The app registration and secret can be shared between installs.
Verify the connection
- Open the server in Mintive and go to the Tools tab to confirm the tools are listed.
- Use the Installation tab to connect an MCP client such as Claude, ChatGPT, or Microsoft 365 Copilot to the gateway.
- Run a small read-only prompt, such as
List the document libraries in this site, and compare the result with the site in the browser. Then ask for a file in another site: the connector should refuse it with an out-of-scope error.
Security considerations
- The site is fixed at install time and read once when the connector starts. Nothing in a request can widen it, and every tool checks the drive it is given against the site.
- Each user signs in with their own Microsoft account, so what they can read or change inside the site is still their own SharePoint permission. The connector never grants access a user doesn't have.
- Keep the client secret with your other credentials. Anyone holding it can sign users in through your app.
Next steps
- Set up the Microsoft 365 MCP servers: The standard SharePoint connector and the other Microsoft 365 connectors
- Set up sensitivity labels for SharePoint: Read Purview labels and block restricted files with a gateway rule
- Tool customization: Turn off the write tools to make the site read-only