Sharepoint - WIP, just for R&D ATM

Sharepoint - WIP, just for R&D ATM

site icon
2025.04.17 10
TypeScript文档管理协作工具交流协作
mcpsharepoint 是一个基于 Model Context Protocol 的服务,旨在提供对组织 Sharepoint 的访问。它通过 Microsoft Graph API 连接 Sharepoint,将 Sharepoint 文档和文件系统作为资源暴露出来,并提供搜索和阅读文档的工具。此外,它还包含常见 Sharepoint 任务的提示。
View on GitHub

Overview

基本能力

产品定位

mcpsharepoint 是一个用于访问和管理组织 Sharepoint 资源的 MCP 服务器。

核心功能

  • 通过 Microsoft Graph API 连接 Sharepoint
  • 暴露 Sharepoint 文档和文件系统作为资源
  • 提供搜索文档和阅读文档的工具
  • 包含常见 Sharepoint 任务的提示

适用场景

  • 组织内部文档管理和协作
  • 自动化 Sharepoint 任务
  • 集成 Sharepoint 到其他应用程序中

工具列表

  • Connects to Sharepoint using Microsoft Graph API: 使用 Microsoft Graph API 连接 Sharepoint
  • Exposes Sharepoint documents and file system as resources: 将 Sharepoint 文档和文件系统作为资源暴露
  • Provides tools for searching documents and reading documents: 提供搜索和阅读文档的工具
  • Includes prompts for common Sharepoint tasks: 包含常见 Sharepoint 任务的提示

常见问题解答

无明确常见问题解答部分。

使用教程

使用依赖

  • 需要 Docker 或 Bun 环境

安装教程

Docker 安装

  1. 构建 Docker 镜像并标记:
docker build -t mcp/sharepoint .
  1. 运行 Docker 容器:
docker run -i --rm --init -e DOCKER_CONTAINER=true -e TENANT_ID=your-tenant-id -e CLIENT_ID=your-client-id -e CLIENT_SECRET=your-client-secret -e SITE_ID=your-site-id -e DRIVE_ID=your-drive-id mcp/sharepoint

Bun 安装

  1. 配置 Bun MCP 配置文件:
{
  "mcpServers": {
    "sharepoint": {
      "command": "bun",
      "args": ["run", "start"],
      "env": {
        "TENANT_ID": "your-tenant-id",
        "CLIENT_ID": "your-client-id",
        "CLIENT_SECRET": "your-client-secret",
        "SITE_ID": "your-site-id",
        "DRIVE_ID": "your-drive-id",
      }
    }
  }
}

调试方式

无明确调试步骤。

许可证

该项目遵循 MIT 开源许可条款。