SharePoint MCP サーバー
Microsoft SharePointとのシームレスな統合を実現する軽量MCPサーバー。MCPクライアントがドキュメント、フォルダー、その他のSharePointリソースを操作できるようになります。sofias techによって開発されました。
特徴
このサーバーは、モデル コンテキスト プロトコル (MCP) を通じて SharePoint リソースへのクリーンなインターフェイスを提供し、ドキュメント管理用に最適化された操作を提供します。
ツール
サーバーは次のツールを実装します。
List_SharePoint_Folders
: 指定されたディレクトリまたはルート内のすべてのフォルダを一覧表示しますList_SharePoint_Documents
: 指定されたフォルダ内のすべてのドキュメントを取得しますGet_Document_Content
: ドキュメントのコンテンツを取得します(テキストまたはbase64エンコードされたバイナリとして)Create_Folder
: 指定されたディレクトリまたはルートに新しいフォルダを作成しますUpload_Document
: 指定されたフォルダに新しいドキュメントをアップロードしますUpload_Document
: パスから大きなドキュメントをアップロードします。Update_Document
: 既存のドキュメントの内容を更新しますDelete_Document
: 指定されたフォルダからドキュメントを削除しますDelete_Folder
: SharePoint から空のフォルダーを削除します
建築
サーバーはリソース効率を考慮して構築されています。
- 選択的なプロパティの読み込みによる SharePoint API の効率的な使用
- デコレータによるエラー処理でよりきれいなコードを実現
- リソース管理とツール実装の明確な分離
- テキストファイルとバイナリファイルの両方に対して最適化されたコンテンツ処理
設定
- 適切な SharePoint 権限を使用して Azure AD にアプリを登録する
- 登録したアプリのクライアントIDとクライアントシークレットを取得する
- SharePoint サイトの URL と操作するドキュメント ライブラリのパスを特定します。
環境変数
サーバーには次の環境変数が必要です:
SHP_ID_APP
: Azure AD アプリケーション クライアント IDSHP_ID_APP_SECRET
: Azure AD アプリケーション クライアント シークレットSHP_SITE_URL
: SharePoint サイトの URLSHP_DOC_LIBRARY
: ドキュメントライブラリへのパス (デフォルト: "Shared Documents/mcp_server")SHP_TENANT_ID
: Microsoft テナント ID
クイックスタート
インストール
または、公開されたら PyPI からインストールします。
uvの使用:
クロードデスクトップ統合
Claude Desktop と統合するには、構成ファイルを更新します。
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
macOS の場合: ~/Library/Application\ Support/Claude/claude_desktop_config.json
標準統合
uvxの使用
発達
要件
- Python 3.10以上
requirements.txt
とpyproject.toml
にリストされている依存関係
地域開発
- リポジトリをクローンする
- 仮想環境を作成します。
- 開発依存関係をインストールします。
- SharePoint 資格情報を使用して
.env
ファイルを作成します。 - サーバーを実行します。
デバッグ
MCP サーバーをデバッグするには、 MCP Inspector を使用できます。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
Copyright (c) 2025 ソフィアステック
You must be authenticated.
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.
Tools
Microsoft SharePoint との統合を可能にし、クライアントがモデル コンテキスト プロトコルを通じてドキュメントやフォルダーを操作できるようにする軽量の MCP サーバーです。
Related MCP Servers
- AsecurityAlicenseAqualityA beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.Last updated -3936JavaScriptApache 2.0
Folderrofficial
AsecurityFlicenseAqualityA Model Context Protocol (MCP) server that provides tools to interact with Folderr's API, specifically for managing and communicating with Folderr Assistants.Last updated -721JavaScript- AsecurityFlicenseAqualityAn MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.Last updated -3926
- -securityAlicense-qualityA Model Context Protocol (MCP) server that allows AI models to safely access and interact with local file systems, enabling reading file contents, listing directories, and retrieving file metadata.Last updated -471JavaScriptMIT License