SharePoint MCP Server
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 から空のフォルダーを削除します
Related MCP server: MCP Server
建築
サーバーはリソース効率を考慮して構築されています。
選択的なプロパティの読み込みによる 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
クイックスタート
インストール
pip install -e .または、公開されたら PyPI からインストールします。
pip install mcp-sharepoint-serveruvの使用:
uv pip install mcp-sharepoint-serverクロードデスクトップ統合
Claude Desktop と統合するには、構成ファイルを更新します。
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json macOS の場合: ~/Library/Application\ Support/Claude/claude_desktop_config.json
標準統合
"mcpServers": {
"sharepoint": {
"command": "mcp-sharepoint",
"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_DOC_LIBRARY": "Shared Documents/your-folder",
"SHP_TENANT_ID": "your-tenant-id"
}
}
}uvxの使用
"mcpServers": {
"sharepoint": {
"command": "uvx",
"args": [
"mcp-sharepoint"
],
"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_DOC_LIBRARY": "Shared Documents/your-folder",
"SHP_TENANT_ID": "your-tenant-id"
}
}
}発達
要件
Python 3.10以上
requirements.txtとpyproject.tomlにリストされている依存関係
地域開発
リポジトリをクローンする
仮想環境を作成します。
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate開発依存関係をインストールします。
pip install -e .SharePoint 資格情報を使用して
.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_DOC_LIBRARY=Shared Documents/your-folder SHP_TENANT_ID=your-tenant-idサーバーを実行します。
python -m mcp_sharepoint
デバッグ
MCP サーバーをデバッグするには、 MCP Inspector を使用できます。
npx @modelcontextprotocol/inspector -- python -m mcp_sharepointライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
Copyright (c) 2025 ソフィアステック
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.134MIT
- AlicenseNot gradedqualityDmaintenanceMCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.113MIT

Folderrofficial
AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides tools to interact with Folderr's API, specifically for managing and communicating with Folderr Assistants.7123MIT- AlicenseBqualityDmaintenanceA specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.8274Apache 2.0
Related MCP Connectors
MCP server for the PDFGate API. Generate PDFs, manage documents and handle e-signatures.
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Sofias-ai/mcp-sharepoint'
If you have feedback or need assistance with the MCP directory API, please join our Discord server