SharePoint Online MCP Server

Integrations

  • Required runtime environment for the MCP server to operate, with version 22.14.0 or later specified as necessary for installation.

  • Used for defining app permission requests when setting up SharePoint app access, enabling specification of security scopes and access rights.

SharePoint Online MCP サーバー

これはClaude Desktop用のMCPサーバーであり、SharePoint REST APIを使用してSharePoint Onlineと連携できます。Claude Desktopアプリで使用するように設計されていますが、他のMCPクライアントでも使用できます。

実装

成分手術利用可能
ユーザー
ユーザーを取得
サイト
サイト一覧
サイトの詳細を取得
サブサイトの作成
サイトを削除
リスト
すべてのリストを取得
リストを作成
読むリスト
リストに追加
更新リスト
リストを削除
リスト項目
すべてのリスト項目を取得
モックアイテムを追加する
リスト項目を追加
リスト項目の更新
リスト項目を削除

設定手順

⚠️ SharePoint アプリを作成するには、SharePoint テナント管理者またはグローバル管理者である必要があります。

SharePoint 専用アプリを許可する

  • ここから SharePoint Online 管理シェルをダウンロードしてインストールします。
  • PowerShell を開き、次のコマンドを実行して、SharePoint 専用アプリが有効になっていることを確認します。
Connect-SPOService -Url https://<your-tenant>-admin.sharepoint.com/ Set-SPOTenant -DisableCustomAppAuthentication $false

SharePoint専用アプリを作成する

  • https://.sharepoint.com/_layouts/15/appregnew.aspx を開きます。
  • Generateをクリックして、新しいクライアント ID とシークレットを作成します。
  • 次のフィールドに入力します。
    • アプリドメイン: www.example.com (または所有する任意のドメイン)
    • リダイレクトURL: http://example.com
  • Createをクリックしてアプリを作成します。
  • Client IDClient Secret値を安全な場所にコピーしてください。後で必要になります。

アプリの権限を付与する

  • https://.sharepoint.com/_layouts/15/appinv.aspx を開きます。
  • Client ID値をApp Idフィールドに貼り付けて、 Lookupをクリックします。
  • 次の XML をApp Permission Request XMLフィールドに貼り付けます。
<AppPermissionRequests AllowAppOnlyPolicy="true"> <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" /> </AppPermissionRequests>
  • Createをクリックし、 Trust Itクリックしてアプリに権限を付与します。

Node.jsをインストールする

node.js バージョン22.14.0 以降をインストールします

Claude Desktop をインストールして設定する

  • Claude Desktopをダウンロードしてインストールします。
  • Claude Desktop で、 File > Settings > Developerに移動します。
  • 設定の編集をクリック
  • エディターで claude_desktop_config.json 構成ファイルを開きます。
  • 次の内容を構成に貼り付け、 mcpServersセクションを独自の値で更新します。
{ "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>" } } } }

💡 Entra IDからテナントIDを取得する方法を学ぶ

  • 設定ファイルを保存し、Claude Desktopを再起動します。タスクトレイアイコンからアプリを完全に終了してください。

MCP サーバーと「通信」する方法

  • Claude Desktop を開き、 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

貢献者向け

  • 新しいnpmパッケージをビルドする
npm run build npm publish npx clear-npx-cache npm cache clean --force

MCP Inspectorをローカルで実行する

npx @modelcontextprotocol/inspector ノードビルド/index.js

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

Claude が REST API を使用して SharePoint Online と対話できるようにし、ユーザーが自然言語コマンドを使用してサイト情報、リスト、およびリスト アイテムを照会できるようにします。

  1. Implementation
    1. Configuration steps
      1. Allow SharePoint-only apps
      2. Create SharePoint-only App
      3. Grant App Permissions
      4. Install Node.js
      5. Install abd Configure Claude Desktop
    2. How to "talk" to the MCP Server
      1. For contributors
        1. Run MCP Inspector locally

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            Enables Claude to interact with Ethereum nodes, allowing users to check ENS token balances, view smart contract code, and decode transactions through natural language.
            Last updated -
            5
            1
            JavaScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            Enables Claude to interact with Webflow's APIs for managing sites, retrieving information, and executing tasks using natural language.
            Last updated -
            2
            4
            TypeScript
            MIT License
            • Apple
            • Linux
          • A
            security
            F
            license
            A
            quality
            A server that enables Claude Desktop users to access the Claude API directly, allowing them to bypass Professional Plan limitations and use advanced features like custom system prompts and conversation management.
            Last updated -
            1
            5
            Python
            • Apple
          • -
            security
            A
            license
            -
            quality
            Enables Claude to interact with Webflow's APIs, allowing access to site information, collections, and other Webflow resources.
            Last updated -
            TypeScript
            MIT License
            • Apple

          View all related MCP servers

          ID: ukikhn363m