原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

SharePoint MCP Server

作者:ravikant1918版本 1.1.1i★ –i在你的电脑上运行
注册名称io.github.ravikant1918/sharepoint-mcp

安装

概览

作者提供的说明(英文原文)

MCP server for Microsoft SharePoint — manage folders, documents, and metadata.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公
  • 你需要填写:SHP_ID_APP, SHP_ID_APP_SECRET, SHP_TENANT_ID, SHP_SITE_URL

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: SHP_ID_APP, SHP_ID_APP_SECRET, SHP_TENANT_ID, SHP_SITE_URL, SHP_DOC_LIBRARY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "sharepoint": {
      "command": "uvx",
      "args": [
        "sharepoint-mcp"
      ],
      "env": {
        "SHP_ID_APP": "your-value",
        "SHP_ID_APP_SECRET": "your-value",
        "SHP_TENANT_ID": "your-value",
        "SHP_SITE_URL": "your-value",
        "SHP_DOC_LIBRARY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add sharepoint --env SHP_ID_APP=your-value --env SHP_ID_APP_SECRET=your-value --env SHP_TENANT_ID=your-value --env SHP_SITE_URL=your-value --env SHP_DOC_LIBRARY=your-value -- uvx sharepoint-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "sharepoint": {
      "command": "uvx",
      "args": [
        "sharepoint-mcp"
      ],
      "env": {
        "SHP_ID_APP": "your-value",
        "SHP_ID_APP_SECRET": "your-value",
        "SHP_TENANT_ID": "your-value",
        "SHP_SITE_URL": "your-value",
        "SHP_DOC_LIBRARY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "sharepoint": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sharepoint-mcp"
      ],
      "env": {
        "SHP_ID_APP": "your-value",
        "SHP_ID_APP_SECRET": "your-value",
        "SHP_TENANT_ID": "your-value",
        "SHP_SITE_URL": "your-value",
        "SHP_DOC_LIBRARY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • SHP_ID_APP 必填 env
    Azure AD application (client) ID
  • SHP_ID_APP_SECRET 机密 必填 env
    Azure AD client secret
  • SHP_TENANT_ID 必填 env
    Microsoft Entra (Azure AD) tenant ID
  • SHP_SITE_URL 必填 env
    SharePoint site URL (e.g. https://tenant.sharepoint.com/sites/MySite)
  • SHP_DOC_LIBRARY env
    SharePoint document library path

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 ravikant1918 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 3598 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3598 个服务器的 4% 更新
  • 基础检查结果等于或优于此分类中其他 3598 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

SharePoint MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:SHP_ID_APP, SHP_ID_APP_SECRET, SHP_TENANT_ID, SHP_SITE_URL

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.1.1)于8个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Agent-Native Calendar

Agent-Native Google Calendar - manage events, sync, and public booking

作者:BuilderIO广泛使用★ 76202个月前更新

在云端运行

Excel MCP Server

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

作者:haris-musa广泛使用↓ 5万/周★ 42768天前更新

在你的电脑上运行

MCP Server for Excel

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

作者:sbroenne正在增长↓ 4321/周★ 8475天前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

🗂️ sharepoint-mcp

The MCP Server that gives your AI agent a brain for Microsoft SharePoint

A production-grade Model Context Protocol (MCP) server for Microsoft SharePoint. Connect Claude Desktop, VS Code Copilot, Cursor, Continue, or any MCP-compatible AI agent to your SharePoint — read files, manage folders, and reason over your organisation's knowledge.

📚 Docs · 🗺️ Roadmap · 🐛 Bugs · 💡 Features


📑 Table of Contents

  • Why sharepoint-mcp?
  • What Your Agent Can Do
  • Features
  • Quickstart
  • Docker
  • Transport Modes
  • Integrations — Claude Desktop · VS Code Copilot · Cursor
  • All 14 Tools
  • Configuration Reference
  • Limitations
  • Troubleshooting
  • Development
  • Documentation
  • Contributing
  • Security

🧠 Why sharepoint-mcp?

Most AI agents only know what's in their training data.

sharepoint-mcp gives your agent _live access_ to your organisation's real knowledge.

Without sharepoint-mcpWith sharepoint-mcp
🤷 Agent guesses or hallucinatesAgent reads the actual document
📋 You copy-paste content manuallyAgent fetches files automatically
🔒 Knowledge locked in SharePointKnowledge flows into your AI workflow
🐌 Static, one-shot answersAgent reasons, rewrites, and saves back

🚀 What Your Agent Can Do

📖 Understand Any Document
You: "Summarise the Q3 report in the Finance folder"

Agent: → Get_Document_Content("Finance", "Q3_Report.pdf") → Reads full extracted text → Returns a sharp, accurate summary

✏️ Read → Reason → Write
You: "Translate the proposal to French and save it"

Agent: → Get_Document_Content → translate → Upload_Document

🗂️ Navigate Your Library
You: "What files are in the Legal/Contracts folder?"

Agent: → List_SharePoint_Documents("Legal/Contracts")

📊 Supported File Formats
📄 Format🤖 What the Agent Gets
PDFFull text from every page
Word .docx .docComplete document content
Excel .xlsx .xlsAll sheets as structured text
Text, JSON, Markdown, HTML, YAML, PythonRaw content as-is
Images, ZIP, binariesFile type + Base64

✨ Features

FeatureDescription
🔀Dual API SupportChoose Office365 REST or Microsoft Graph API
📁Folder ManagementList, create, delete, get full recursive tree
📄Document ManagementUpload, download, update, delete, search, read content
🏷️Metadata ManagementRead and update SharePoint list-item fields
🔍Smart ParsingAuto-detects PDF / Word / Excel / text
🔎KQL SearchNative SharePoint KQL search for semantic file finding
📂Flexible Library ScopeScope to a subfolder or access the entire library root
🔁Auto-RetryExponential backoff on SharePoint 429/503 throttling
🚀Dual Transportstdio for desktop · http for Docker/remote
🪵Structured LoggingJSON in production · coloured console in dev
🐳Docker-ReadySingle command: docker compose up -d
🛡️Non-Root ContainerRuns as unprivileged user inside Docker
🩺Health CheckLive /health endpoint with real SharePoint check
🤖CI/CDTested on Python 3.10 · 3.11 · 3.12 · 3.13

⚡ Quickstart

1️⃣ Install
pip install sharepoint-mcp

Or from source:

git clone https://github.com/ravikant1918/sharepoint-mcp.git

cd sharepoint-mcp && pip install -e .

2️⃣ Configure
cp .env.example .env

Open .env and fill in your Azure AD credentials

SHP_ID_APP=your-azure-app-client-id

SHP_ID_APP_SECRET=your-azure-app-secret SHP_TENANT_ID=your-tenant-id SHP_SITE_URL=https://your-tenant.sharepoint.com/sites/your-site SHP_API_TYPE=office365 # or "graph" / "graphql" for Microsoft Graph API

🔑 New to Azure AD? Follow the step-by-step guide →

🔀 Choose Your API: SharePoint MCP supports both Office365 REST API (default) and Microsoft Graph API. See API Configuration Guide →

Optional: Scope to a subfolder

By default, the server accesses your entire document library root. To restrict operations to a specific subfolder:

# Only operate within this subfolder (omit for full library access)

SHP_DOC_LIBRARY=mcp_server

Library name (only needed if your org renamed "Shared Documents")

Graph API auto-detects the default drive — this is only for Office365 REST API

SHP_LIBRARY_NAME=Shared Documents

3️⃣ Run
# 🔍 Interactive testing with MCP Inspector

npx @modelcontextprotocol/inspector -- sharepoint-mcp

▶️ Run directly

sharepoint-mcp


🐳 Docker

The fastest way to deploy for remote or cloud use.

📋 Usage Scenarios
Scenario A: Pull Latest Version from DockerHub (Recommended)

Use this for production deployments with the latest stable release:

# Step 1: Clone repository

git clone https://github.com/ravikant1918/sharepoint-mcp.git cd sharepoint-mcp

Step 2: Create .env file with your SharePoint credentials

cp .env.example .env

Edit .env and fill in:

SHP_ID_APP=your-app-id

SHP_ID_APP_SECRET=your-secret

SHP_TENANT_ID=your-tenant-id

SHP_SITE_URL=https://yourcompany.sharepoint.com/sites/yoursite

Step 3: Start container (pulls from DockerHub automatically)

docker compose up -d

Step 4: Verify it's running

docker compose ps curl http://localhost:8000/health

View logs

docker compose logs -f

Stop container

docker compose down

What happens: Pulls ravikant1918/sharepoint-mcp:latest from DockerHub with automatic architecture detection (Intel/ARM).


Scenario B: Use Specific Version

Lock to a specific version for stability or testing:

# Step 1: Set version via environment variable

SHAREPOINT_MCP_VERSION=v1.0.1 docker compose up -d

Or add to .env file

echo "SHAREPOINT_MCP_VERSION=v1.0.1" >> .env docker compose up -d

What happens: Pulls ravikant1918/sharepoint-mcp:v1.0.1 instead of latest.


Scenario C: Build Locally from Source

Use this for development or when you've made local code changes:

# Step 1: Clone and setup

git clone https://github.com/ravikant1918/sharepoint-mcp.git cd sharepoint-mcp cp .env.example .env

Edit .env with your credentials

Step 2: Build from local Dockerfile and start

docker compose up -d --build

Step 3: Rebuild after code changes

docker compose down docker compose up -d --build

What happens: Builds image from local Dockerfile, tags as ravikant1918/sharepoint-mcp:latest, and starts container.


Scenario D: Use Custom Image/Fork

If you've forked the repo and published to your own DockerHub:

# Use your custom image

SHAREPOINT_MCP_IMAGE=myusername/sharepoint-mcp \ SHAREPOINT_MCP_VERSION=dev \ docker compose up -d

Or add to .env

echo "SHAREPOINT_MCP_IMAGE=myusername/sharepoint-mcp" >> .env echo "SHAREPOINT_MCP_VERSION=dev" >> .env docker compose up -d

What happens: Pulls from your custom registry/repository.


🔧 Common Commands
# Start in detached mode

docker compose up -d

Start with live logs

docker compose up

View logs

docker compose logs -f

Stop container

docker compose down

Restart container

docker compose restart

Pull latest image

docker compose pull

Rebuild and restart

docker compose up -d --build

Remove everything (including volumes)

docker compose down -v

Using Podman? Just replace docker with podman — fully compatible.

Docker Environment Variables
VariableDefaultDescription
TRANSPORThttpstdio or http
HTTP_HOST0.0.0.0Bind address
HTTP_PORT8000Port
LOG_FORMATjsonjson or console

🔌 Transport Modes

ModeBest ForSet With
stdioClaude Desktop, Cursor, MCP InspectorTRANSPORT=stdio _(default)_
httpDocker, remote agents, VS Code Copilot, REST clientsTRANSPORT=http

🔗 Integrations

🤖 Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "sharepoint": { "command": "sharepoint-mcp", "env": { "SHP_ID_APP": "your-app-id", "SHP_ID_APP_SECRET": "your-app-secret", "SHP_SITE_URL": "https://your-tenant.sharepoint.com/sites/your-site", "SHP_TENANT_ID": "your-tenant-id", "SHP_DOC_LIBRARY": "my-subfolder" } } } }

💡 Omit SHP_DOC_LIBRARY to access the full library root. If your org uses Office365 REST API and renamed the default library, also set SHP_LIBRARY_NAME.

💻 VS Code Copilot (Agent Mode)
  1. Start the server via Docker or TRANSPORT=http sharepoint-mcp
  2. Create .vscode/mcp.json in your workspace:
{

"servers": { "sharepoint": { "url": "http://localhost:8000/mcp/", "type": "http" } } }

  1. Open Copilot Chat → switch to Agent mode → your 14 SharePoint tools are available.

⚠️ Trailing slash matters — the URL must end with /mcp/ (not /mcp).

⌨️ Cursor / Continue

Add to your MCP config (uses stdio transport):

{

"mcpServers": { "sharepoint": { "command": "sharepoint-mcp", "env": { "SHP_ID_APP": "your-app-id", "SHP_ID_APP_SECRET": "your-app-secret", "SHP_SITE_URL": "https://your-tenant.sharepoint.com/sites/your-site", "SHP_TENANT_ID": "your-tenant-id" } } } }


只显示了开头部分;其余内容请在仓库中阅读

问 PopNx