mcpsharepoint

Local 2025-09-01 00:05:55 0

Provides access to organizational Sharepoint documents through the Microsoft Graph API, enabling search and retrieval of Sharepoint content for AI assistants.


x000D A Model Context Protocol server that provides access to Organisational Sharepoint.x000D x000D

Components_x000D_

x000D

Tools_x000D_

  • Connects to Sharepoint using Microsoft Graph API_x000D_
  • Exposes Sharepoint documents and file system as resources_x000D_
  • Provides tools for searching documents and reading documents_x000D_
  • Includes prompts for common Sharepoint tasks_x000D_ x000D

Enviremental Variables_x000D_

x000D - Copy .env.example as .env_x000D_ - Fill the requires fields_x000D_ x000D

Usage with Claude Desktop_x000D_

x000D To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:x000D x000D

Docker_x000D_

x000D * Docker build and tag docker build -t mcp/sharepoint .x000D x000D json_x000D_ {_x000D_ "mcpServers": {_x000D_ "sharepoint": {_x000D_ "command": "docker",_x000D_ "args": [_x000D_ "run", _x000D_ "-i", _x000D_ "--rm", _x000D_ "--init", _x000D_ "-e", "DOCKER_CONTAINER=true",_x000D_ "-e", "TENANT_ID=your-tenant-id",_x000D_ "-e", "CLIENT_ID=your-client-id",_x000D_ "-e", "CLIENT_SECRET=your-client-secret",_x000D_ "-e", "SITE_ID=your-site-id",_x000D_ "-e", "DRIVE_ID=your-drive-id",_x000D_ "mcp/sharepoint"_x000D_ ]_x000D_ }_x000D_ }_x000D_ }_x000D_x000D

Bun MCP configuration file_x000D_

x000D json_x000D_ {_x000D_ "mcpServers": {_x000D_ "sharepoint": {_x000D_ "command": "bun",_x000D_ "args": ["run", "start"],_x000D_ "env": {_x000D_ "TENANT_ID": "your-tenant-id",_x000D_ "CLIENT_ID": "your-client-id",_x000D_ "CLIENT_SECRET": "your-client-secret",_x000D_ "SITE_ID": "your-site-id",_x000D_ "DRIVE_ID": "your-drive-id",_x000D_ }_x000D_ }_x000D_ }_x000D_ }_x000D_x000D x000D x000D x000D

License_x000D_

x000D This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.x000D

[
  {
    "inputSchema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "additionalProperties": false,
      "properties": {
        "maxResults": {
          "description": "Maximum number of results to return (as a string)",
          "type": "string"
        },
        "query": {
          "description": "Search query to find documents",
          "type": "string"
        }
      },
      "required": [
        "query"
      ],
      "type": "object"
    },
    "name": "search-documents"
  }
]