Sponsored by Deepsite.site

SharePoint MCP Server Node.js-Based REST API. The Most Powerful SharePoint MCP to Date

Created By
Zerg00s2 years ago
This MCP server for Claude Desktop allows you to interact with SharePoint Online using the SharePoint REST API. It is designed to be used with the Claude Desktop app, but can also be used by other MCP clients. A lot of supported operations
Content

SharePoint Online MCP Server

This is a MCP server for Claude Desktop that allows you to interact with SharePoint Online using the SharePoint REST API. It is designed to be used with the Claude Desktop app, but could be used by other MCP clients as well.

Implementation

ComponentOperationAvailable
Users✅
List Site Users by Role✅
List Site Groups✅
Get Group Members✅
Add Group Member✅
Remove Group Member✅
Sites✅
Get Site Details✅
Update Site Properties✅
Get Global Navigation Links✅
Get Quick Navigation Links✅
Add Navigation Link✅
Update Navigation Link✅
Delete Navigation Link✅
Get Subsites✅
Create Subsite❌
Delete Subsite✅
Lists✅
Get All Lists✅
Create List✅
Get List Fields✅
Create List Field✅
Update List Field✅
Delete List Field✅
Set List Field formatting❌
Set List View formatting❌
Get List Views✅
Create List View✅
Update List View✅
Delete List View✅
Delete List✅
List Views✅
Get View Fields✅
Add View Field✅
Remove View Field✅
Remove All View Fields✅
Move View Field✅
List Items✅
Get All List Items✅
Create List Item✅
Update List Item✅
Delete List Item✅
Pages❌
Create Modern Page❌
Documents❌
Create Document❌
Upload Document❌
Copy Document❌
Taxonomy❌
Get Taxonomy Group❌
Create Taxonomy Label❌
Update Taxonomy Label❌
Delete Taxonomy Label❌

Configuration steps

⚠️ You need to be a SharePoint tenant admin or a global admin to create a SharePoint app.

Allow SharePoint-only apps

  • Download and install the SharePoint Online Management Shell from here.
  • Open PowerShell and run the following command to make sure the SharePoint-only apps are enabled:
Connect-SPOService -Url https://<your-tenant>-admin.sharepoint.com/
Set-SPOTenant -DisableCustomAppAuthentication $false

Create SharePoint-only App

  • Open https://

  • click Generate to create a new client ID and secret.

  • Fill in the following fields:

    • App Domain: www.example.com (or any domain you own)
    • Redirect URL: http://example.com
  • Click Create to create the app.

  • Copy the Client ID and Client Secret values to a safe place. You will need them later.

Grant App Permissions

  • Open https://

  • Paste the Client ID value in the App Id field and click Lookup.

  • Paste the following XML in the App Permission Request XML field:

<AppPermissionRequests AllowAppOnlyPolicy="true">
   <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />
</AppPermissionRequests>
  • Click Create and then Trust It to grant the app permissions.

Install Node.js

Install node.js version: 22.14.0 or later

Install and Configure Claude Desktop

  • Download Claude Desktop and install it.

  • In Claude Desktop, go to File > Settings > Developer.

  • Click Edit Config

  • Open the claude_desktop_config.json config file in the editor.

  • Paste the following to the config and update the mcpServers section with your own values:

{
  "mcpServers": {
    "server-sharepoint": {
      "command": "npx",
      "args": [
        "-y",
        "server-sharepoint"
      ],
      "env": {
        "SHAREPOINT_CLIENT_ID": "<your-client-id>",
        "SHAREPOINT_CLIENT_SECRET": "<your-client-secret>",
        "SHAREPOINT_TENANT_ID": "<your-tenant-id>"
      }
    }
  }
} 

💡Learn how to get the tenant ID from Entra ID

  • Save the config file and restart Claude Desktop. Make sure to quick the app completely via the tasks tray icon:

How to "talk" to the MCP Server

  • Open Claude Desktop and ask a question like Get me the list of lists from https://<your-tenant>.sharepoint.com/sites/Dashboard-Communication. Present the results in a table form. don't use code.

For contributors

  • Build a new npm package
npm run build
npm publish
npx clear-npx-cache
npm cache clean --force

Run MCP Inspector locally

npx @modelcontextprotocol/inspector node build/index.js

Server Config

{
  "mcpServers": {
    "server-sharepoint": {
      "command": "npx",
      "args": [
        "-y",
        "server-sharepoint"
      ],
      "env": {
        "SHAREPOINT_CLIENT_ID": "<your-client-id>",
        "SHAREPOINT_CLIENT_SECRET": "<your-client-secret>",
        "SHAREPOINT_TENANT_ID": "<your-tenant-id>"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
CursorThe AI Code Editor
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
WindsurfThe new purpose-built IDE to harness magic
Playwright McpPlaywright MCP server
Tavily Mcp
Amap Maps高德地图官方 MCP Server
DeepChatYour AI Partner on Desktop
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Serper MCP ServerA Serper MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
ChatWiseThe second fastest AI chatbot™
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。