SharePoint MCP server
86 operations1 webhook
Microsoft collaboration platform for document libraries, sites, lists, and intranet content.
Try SharePoint with your agent
Connect SharePoint, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in SharePoint on my account, then run one read-only example and show me the result.
SharePoint tools and triggers
Tools are what your agent can do in SharePoint through Corsair's MCP server. Triggers are the SharePoint events a routine can start from.
Items
- Add AttachmentWrite
Add a file attachment to a SharePoint list item
items.addAttachment
- CreateWrite
Create a new SharePoint list item
items.create
- Create By GuidWrite
Create a new item in a SharePoint list by GUID
items.createByGuid
- Create In FolderWrite
Create a new list item inside a specific folder
items.createInFolder
- DeleteDestructive
Permanently delete a SharePoint list item
items.delete
- GetRead-only
Get a SharePoint list item by ID
items.get
- Get Attachment ContentRead-only
Download the content of a list item attachment
items.getAttachmentContent
- Get EtagRead-only
Get the ETag for a SharePoint list item
items.getEtag
- Get VersionRead-only
Get a specific version of a SharePoint list item
items.getVersion
- ListRead-only
List items in a SharePoint list
items.list
- List AttachmentsRead-only
List all attachments for a SharePoint list item
items.listAttachments
- List By GuidRead-only
List items in a SharePoint list by GUID
items.listByGuid
- RecycleWrite
Move a SharePoint list item to the recycle bin
items.recycle
- UpdateWrite
Update an existing SharePoint list item
items.update
Lists
- CreateWrite
Create a new SharePoint list
lists.create
- DeleteDestructive
Delete a SharePoint list by GUID
lists.delete
- Delete By TitleDestructive
Delete a SharePoint list by title
lists.deleteByTitle
- Get By GuidRead-only
Get a SharePoint list by GUID
lists.getByGuid
- Get By TitleRead-only
Get a SharePoint list by title
lists.getByTitle
- Get ChangesRead-only
Get change log entries for a SharePoint list
lists.getChanges
- List AllRead-only
List all SharePoint lists in the site
lists.listAll
- List ColumnsRead-only
List all columns (fields) in a SharePoint list
lists.listColumns
- Render Data As StreamRead-only
Render list data as a pageable stream
lists.renderDataAsStream
- UpdateWrite
Update an existing SharePoint list
lists.update
Users
- CreateWrite
Add an Azure AD user to the SharePoint site
users.create
- EnsureWrite
Ensure a user exists in SharePoint (create if not present)
users.ensure
- FindRead-only
Find SharePoint users by name or email
users.find
- Get CurrentRead-only
Get the currently authenticated SharePoint user
users.getCurrent
- Get Effective PermissionsRead-only
Get the effective permissions of a user on the web
users.getEffectivePermissions
- Get Group UsersRead-only
Get users belonging to a SharePoint site group by name
users.getGroupUsers
- Get Group Users By IdRead-only
Get users belonging to a SharePoint site group by ID
users.getGroupUsersById
- List GroupsRead-only
List all site groups
users.listGroups
- List SiteRead-only
List all users in the SharePoint site
users.listSite
- RemoveDestructive
Remove a user from the SharePoint site
users.remove
Content Types
- Add Field LinkWrite
Add a field link to a list content type
contentTypes.addFieldLink
- CreateWrite
Create a new SharePoint content type
contentTypes.create
- Create List FieldWrite
Create a new field (column) on a SharePoint list
contentTypes.createListField
- GetRead-only
Get a SharePoint content type by ID
contentTypes.get
- Get AllRead-only
Get all content types defined on the site
contentTypes.getAll
- Get By IdRead-only
Get a content type from a list by its ID
contentTypes.getById
- Get For ListRead-only
Get content types available for a specific list
contentTypes.getForList
- UpdateWrite
Update an existing SharePoint content type
contentTypes.update
Files
- Check InWrite
Check in a SharePoint file to publish changes
files.checkIn
- Check OutWrite
Check out a SharePoint file for exclusive editing
files.checkOut
- DownloadRead-only
Download a file by its server-relative URL
files.download
- GetRead-only
Get metadata of a SharePoint file by server-relative URL
files.get
- List In FolderRead-only
List all files in a SharePoint folder
files.listInFolder
- RecycleWrite
Move a SharePoint file to the recycle bin
files.recycle
- Undo CheckoutWrite
Undo a checked-out SharePoint file
files.undoCheckout
- UploadWrite
Upload a file to a SharePoint document library folder
files.upload
Web
- Create SubsiteWrite
Create a new SharePoint subsite
web.createSubsite
- Get Context InfoRead-only
Get SharePoint context info including form digest token
web.getContextInfo
- Get Drive Item By PathRead-only
Get a drive item by its path using Microsoft Graph
web.getDriveItemByPath
- Get InfoRead-only
Get information about the current SharePoint web/site
web.getInfo
- Get Site Collection InfoRead-only
Get information about the SharePoint site collection
web.getSiteCollectionInfo
- Get Site PageRead-only
Get the content of a SharePoint modern site page
web.getSitePage
- Log EventWrite
Log a custom event to the SharePoint ULS log
web.logEvent
- Update SiteWrite
Update SharePoint site title or description
web.updateSite
Drive
- Create Sharing LinkWrite
Create a sharing link for a drive item via Graph API
drive.createSharingLink
- Delete VersionDestructive
Delete a specific version of a drive item
drive.deleteVersion
- Get AnalyticsRead-only
Get analytics for a SharePoint drive item via Graph API
drive.getAnalytics
- List Recent ItemsRead-only
List recently accessed drive items via Graph API
drive.listRecentItems
- Restore VersionWrite
Restore a previous version of a drive item via Graph API
drive.restoreVersion
- Update ItemWrite
Update a drive item (rename, move) via Graph API
drive.updateItem
Folders
- CreateWrite
Create a new SharePoint folder
folders.create
- DeleteDestructive
Delete a SharePoint folder and all its contents
folders.delete
- GetRead-only
Get a SharePoint folder by server-relative URL
folders.get
- Get AllRead-only
Get all SharePoint folders in a list or location
folders.getAll
- List SubfoldersRead-only
List subfolders inside a SharePoint folder
folders.listSubfolders
- RenameWrite
Rename a SharePoint folder
folders.rename
Permissions
- Add Role To ItemWrite
Grant a role assignment to a user on a list item
permissions.addRoleToItem
- Add Role To ListWrite
Grant a role assignment to a user on a SharePoint list
permissions.addRoleToList
- Break Inheritance On ItemWrite
Break permission inheritance on a list item
permissions.breakInheritanceOnItem
- Break Inheritance On ListWrite
Break permission inheritance on a SharePoint list
permissions.breakInheritanceOnList
- Get Role DefinitionsRead-only
Get all role definitions (permission levels) in the site
permissions.getRoleDefinitions
Social
- FollowWrite
Follow a SharePoint actor (person, document, site, tag)
social.follow
- Get FollowedRead-only
Get entities followed by the current user
social.getFollowed
- Get FollowersRead-only
Get followers of the current user
social.getFollowers
- Is FollowedRead-only
Check if the current user is following an actor
social.isFollowed
Recycle Bin
- Delete PermanentDestructive
Permanently delete an item from the recycle bin
recycleBin.deletePermanent
- ListRead-only
List items in the SharePoint recycle bin
recycleBin.list
- RestoreWrite
Restore an item from the SharePoint recycle bin
recycleBin.restore
Search
- QueryRead-only
Execute a full-text search query against SharePoint
search.query
- SuggestRead-only
Get query suggestions from SharePoint search
search.suggest
Webhook Subscriptions
- GetRead-only
Get a specific SharePoint webhook subscription
webhookSubscriptions.get
- Get AllRead-only
Get all webhook subscriptions for a SharePoint list
webhookSubscriptions.getAll
Connect SharePoint to Claude, ChatGPT or Cursor
- 1
Connect SharePoint in Corsair
Sign in to SharePoint once in Corsair. Corsair stores the credential encrypted and makes the SharePoint API calls for your agent, so it never goes into a prompt or a config file. Connect SharePoint
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs SharePoint. On a ChatGPT personal plan, connect SharePoint here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Install Corsair from ChatGPT's plugin directory, connect it and sign in. A custom MCP server with the address works too, but personal plans get its read tools only.Add to Cursor / Grok BuildOr add this to~/.cursor/mcp.json. It opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Antigravity, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, SharePoint's read and write operations run right away and its 7 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
SharePoint works with
FAQ
Install corsair and @corsair-dev/sharepoint, add the SharePoint plugin, and connect with OAuth. Then call methods like corsair.sharepoint.api.contentTypes.addFieldLink() from your app. Corsair verifies webhooks, stores tokens, and syncs data per tenant.
Yes. SharePoint needs an OAuth app with scopes that match what you automate. Register the app in SharePoint, configure redirect URLs, then connect through Corsair or managed OAuth in Hub.
Yes. One Corsair client can hit SharePoint, GitHub, Notion, Stripe, and the rest. Trigger SharePoint from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for microsoft collaboration platform for document libraries, sites, lists, and intranet content. Common builds include sync jobs, admin tooling, and agents that call SharePoint APIs from your backend. Webhook handlers react to SharePoint events and fan out to Slack, email, or other plugins in the same tenant. Local DB entities let you query synced SharePoint records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per SharePoint API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/sharepoint in the open repo. When SharePoint ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your SharePoint data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store SharePoint data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put SharePoint on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 7 destructive SharePoint operations. You can change a link's mode at hub.corsair.dev/me.