
demodorigatsuo/sharepoint-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
demodorigatsuo/sharepoint-mcp は [https://github.com/demodorigatsuo/sharepoint-mcp.] からインポートされた MCP サーバー候補です
概要
demodorigatsuo/sharepoint-mcp は [https://github.com/demodorigatsuo/sharepoint-mcp.] からインポートされた MCP サーバー候補です
概要(AI 翻訳)
DISCLAIMER: このプロジェクトは、Microsoft Corporation に関係する、または関連しているものではありません。 SharePoint および Microsoft Graph API は、Microsoft Corporation の商標です。 これは独立したコミュニティ主導のプロジェクトです。
SharePoint MCP Server は、Microsoft Graph API を介して、Claude などの LLM アプリケーションをSharePoint サイトに接続するモデルコンテキストプロトコル (MCP) サーバーです。 自然言語を使用して、ドキュメントをクエリしたり、リストの管理、ファイルのアップロードなどを使用して、AIアシスタントから直接。
お問い合わせ
##特徴
| カテゴリー | 機能性 | お問い合わせ |**サイトマップ | サイトのご利用について | |ライブラリ | ドキュメントライブラリ、リストフォルダのコンテンツの閲覧 | |ドキュメント | DOCX、PDF、XLSX、CSV、TXT を読んでください。 パスで参照してください。 アイテムのメタデータを取得する。 ファイルをアップロードする | |検索 | サイト全体で全文検索 | |Lists | AIに最適化されたスキーマでリストを作成・更新リスト項目 | | ページ | モダンページやニュース投稿の作成 | |プロビジョニング | 新規SharePointサイトの作成とドキュメントライブラリの作成 | |Transport | stdio(ローカル)、SSE、 Streamable-http(web/Docker) |
お問い合わせ
前提条件
- Python 3.10以上
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
SharePoint MCP Server
DISCLAIMER: This project is not affiliated with, endorsed by, or related to Microsoft Corporation. SharePoint and Microsoft Graph API are trademarks of Microsoft Corporation. This is an independent, community-driven project.
SharePoint MCP Server is a Model Context Protocol (MCP) server that connects LLM applications such as Claude to your SharePoint site via the Microsoft Graph API. Use natural language to query documents, manage lists, upload files, and more — directly from your AI assistant.
Features
| Category | Capability |
|---|---|
| Site | Get site information |
| Libraries | Browse document libraries, list folder contents |
| Documents | Read DOCX, PDF, XLSX, CSV, TXT; browse by path; get item metadata; upload files |
| Search | Full-text search across all site content |
| Lists | Create lists with AI-optimized schemas; create, update list items |
| Pages | Create modern pages and news posts |
| Provisioning | Create new SharePoint sites and advanced document libraries |
| Transport | stdio (local), SSE, streamable-http (web / Docker) |
Prerequisites
- Python 3.10 or higher
- A SharePoint site with Microsoft 365
- An Azure AD application registration with the required Graph API permissions (see docs/auth_guide.md)
Quickstart
1. Clone and install
git clone https://github.com/DEmodoriGatsuO/sharepoint-mcp.git
cd sharepoint-mcp
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
2. Configure
cp .env.example .env
# Edit .env with your Azure AD credentials and SharePoint site URL
Required variables in .env:
| Variable | Description |
|---|---|
TENANT_ID |
Azure AD tenant ID |
CLIENT_ID |
Azure AD application (client) ID |
CLIENT_SECRET |
Azure AD client secret |
SITE_URL |
SharePoint site URL (https://{tenant}.sharepoint.com/sites/{name}) |
3. Verify your setup (optional)
python config_checker.py # Validate configuration
python auth-diagnostic.py # Test authentication
4. Start the server
インストール
docker run --env-file .env -p 8000:8000 sharepoint-mcp設定
{
"mcpServers": {
"sharepoint": {
"command": "python",
"args": ["/absolute/path/to/sharepoint-mcp/server.py"],
"env": {
"TENANT_ID": "...",
"CLIENT_ID": "...",
"CLIENT_SECRET": "...",
"SITE_URL": "..."
}
}
}
}