Skip to main content
Glama

SharePoint Online MCP Server

by Zerg00s

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

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

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

  1. 実装
    1. 設定手順
      1. SharePoint 専用アプリを許可する
      2. SharePoint専用アプリを作成する
      3. アプリの権限を付与する
      4. Node.jsをインストールする
      5. Claude Desktop をインストールして設定する
    2. MCP サーバーと「通信」する方法
      1. 貢献者向け
        1. MCP Inspectorをローカルで実行する

          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

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zerg00s/server-sharepoint'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server