这是一个提供组织级SharePoint访问的模型上下文协议服务器,能有效连接并管理SharePoint资源,为研发工作提供便利。
.env.example为.env。要将此服务器与Claude Desktop应用程序一起使用,请在claude_desktop_config.json的"mcpServers"部分添加以下配置:
docker build -t mcp/sharepoint .{
"mcpServers": {
"sharepoint": {
"command": "docker",
"args": [
"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"
]
}
}
}
{
"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",
}
}
}
}
此MCP服务器根据MIT License授权。这意味着您可以自由使用、修改和分发软件,但需遵守MIT License的条款和条件。更多细节,请参见项目仓库中的LICENSE文件。