### Build SharePoint Project Source: https://github.com/briancusack/mcpsharepoint/blob/main/README.md This command builds the mcpsharepoint project, likely compiling TypeScript or JavaScript code, preparing it for execution or packaging. It's a prerequisite step before running the server or using it in configurations. ```Bash pnpm run build ``` -------------------------------- ### Run Inspector with SharePoint Credentials Source: https://github.com/briancusack/mcpsharepoint/blob/main/README.md This command executes the Model Context Protocol inspector tool. It requires environment variables for tenant ID, client ID, client secret, site ID, and drive ID to connect to a SharePoint instance. The tool is run against the compiled JavaScript output of the project. ```Bash npx @modelcontextprotocol/inspector -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 -- node dist/index.js ``` -------------------------------- ### Configure SharePoint Server for Claude Desktop (Docker) Source: https://github.com/briancusack/mcpsharepoint/blob/main/README.md This JSON configuration snippet is for the Claude Desktop application's 'mcpServers' setting. It defines a 'sharepoint' server using Docker, specifying the command to run the container and passing necessary environment variables for authentication and site identification. ```JSON { "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" ] } } } ``` -------------------------------- ### Configure SharePoint Server for Claude Desktop (MCP) Source: https://github.com/briancusack/mcpsharepoint/blob/main/README.md This JSON configuration is for the Claude Desktop application's 'mcpServers' setting, defining a 'sharepoint' server. It specifies running the server via Node.js with provided environment variables for SharePoint authentication and site details, intended for use after building the project. ```JSON { "mcpServers": { "sharepoint": { "command": "node", "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" } } } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.