SharePoint MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_DIR | No | Log directory, created with restricted permissions. | ~/.sharepoint-mcp/logs |
| NODE_ENV | No | Set to 'development' to include raw Graph error details in tool results. | |
| CLIENT_ID | Yes | Application (client) ID. Required in every authentication mode. | |
| LOG_LEVEL | No | Log level: ERROR, WARN, INFO or DEBUG. | INFO |
| TENANT_ID | No | Directory (tenant) ID. Required for client-token, client-credentials and certificate modes; defaults to 'common' in interactive mode. | common |
| ACCESS_TOKEN | No | Initial token for client-token mode. Takes precedence over any cached token. | |
| REDIRECT_URI | No | Interactive redirect URI. | http://localhost:3000 |
| CLIENT_SECRET | No | Client secret. When set with TENANT_ID and CLIENT_ID, selects client-credentials mode. | |
| CONFIRM_WRITES | No | Write confirmation mode: 'elicit', 'token' or 'false'. | elicit |
| ENABLE_LOGGING | No | Write mcp-server.log. | false |
| RATE_LIMIT_MAX | No | Requests per rate-limit window, all tools combined. | 100 |
| USE_GRAPH_BETA | No | Default Graph endpoint version; 'false' selects v1.0. | true |
| TOKEN_CACHE_DIR | No | Directory for the client-token file cache. | OS temp dir + /.mcp-sharepoint-cache |
| USE_CERTIFICATE | No | Set to 'true' to select certificate mode. Only one of USE_INTERACTIVE, USE_CLIENT_TOKEN and USE_CERTIFICATE may be set. | |
| USE_INTERACTIVE | No | Set to 'true' to select interactive mode. Only one of USE_INTERACTIVE, USE_CLIENT_TOKEN and USE_CERTIFICATE may be set. | |
| CERTIFICATE_PATH | No | Path to the PEM certificate and private key file. | |
| ENABLE_AUDIT_LOG | No | Write mcp-audit.log with one JSON object per line. | false |
| PARSE_TIMEOUT_MS | No | Wall-clock limit per parse in milliseconds; parsing runs in a worker thread. | 60000 |
| REQUEST_DELAY_MS | No | Minimum spacing between request starts in milliseconds. | 100 |
| USE_CLIENT_TOKEN | No | Set to 'true' to select client-token mode. Only one of USE_INTERACTIVE, USE_CLIENT_TOKEN and USE_CERTIFICATE may be set. | |
| EMERGENCY_READONLY | No | Start in read-only mode, refusing writes. | false |
| EMERGENCY_SHUTDOWN | No | Start in shutdown mode, refusing all tools except get-auth-status and health-check. | false |
| ENABLE_TOKEN_CACHE | No | Interactive: enables OS-protected session persistence. Client-token: enables encrypted file cache, also requiring CACHE_ENCRYPTION_SECRET. | true |
| ZERO_TRUST_ENFORCE | No | Make the zero-trust monitor block instead of only report. | false |
| EMERGENCY_STATE_DIR | No | Where emergency state persists. | LOG_DIR, else ~/.sharepoint-mcp/state |
| MAX_FETCH_ALL_ITEMS | No | Cap for fetchAll and full site listings. | 5000 |
| MAX_FETCH_ALL_PAGES | No | Page cap for fetchAll and full site listings. | 200 |
| CERTIFICATE_PASSWORD | No | Password for the PEM certificate private key, only if the key is encrypted. | |
| MAX_FILE_UPLOAD_SIZE | No | Maximum upload size in bytes for update_content. | 104857600 |
| RATE_LIMIT_WINDOW_MS | No | Rate-limit window in milliseconds. | 60000 |
| TOKEN_REVOCATION_DIR | No | Where the local token blocklist persists. | LOG_DIR, else ~/.sharepoint-mcp/state |
| MAX_SPREADSHEET_CELLS | No | Cells serialised per spreadsheet sheet. | 2000000 |
| MAX_FILE_DOWNLOAD_SIZE | No | Maximum download size in bytes, enforced while streaming. | 104857600 |
| MAX_ZIP_EXTRACTED_SIZE | No | Decompression budget in bytes for Word and PowerPoint files. | 52428800 |
| STRICT_PERMISSION_MODE | No | Check token scopes against the requested path before calling Graph. Advisory only. | false |
| CACHE_ENCRYPTION_SECRET | No | Required to persist pasted tokens in client-token mode. | |
| MAX_CONCURRENT_REQUESTS | No | Simultaneous outbound requests, from 1 to 100. | 10 |
| ENABLE_ZERO_TRUST_MONITORING | No | Enable the report-only anomaly monitor. | true |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues