mcp-onedrive-sharepoint
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SP_CLIENT_SECRET | No | Alias for MICROSOFT_GRAPH_CLIENT_SECRET. | |
| MCP_SITES_CONFIG_PATH | No | Path to a JSON file with site registry entries. | |
| MICROSOFT_GRAPH_SCOPES | No | Scopes for Microsoft Graph access. | Files.ReadWrite.All,Sites.ReadWrite.All,Directory.Read.All,User.Read,offline_access |
| MICROSOFT_GRAPH_TIMEOUT | No | Request timeout in milliseconds. | 30000 |
| MICROSOFT_GRAPH_BASE_URL | No | Base URL for Microsoft Graph API. | https://graph.microsoft.com/v1.0 |
| MICROSOFT_GRAPH_CACHE_TTL | No | Cache TTL in seconds. | 3600 |
| MICROSOFT_GRAPH_CLIENT_ID | No | Your Azure AD app registration client ID. | |
| MICROSOFT_GRAPH_TENANT_ID | No | Your tenant UUID (use 'common' for device-code multi-tenant). | |
| MICROSOFT_GRAPH_MAX_RETRIES | No | Maximum number of retries for failed requests. | 3 |
| MICROSOFT_GRAPH_CACHE_ENABLED | No | Enable caching of Graph responses. | true |
| MICROSOFT_GRAPH_CLIENT_SECRET | No | Client secret for client-credentials mode (activates non-interactive auth). Alias SP_CLIENT_SECRET also accepted. |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_filesC | List files and folders in OneDrive or SharePoint drive |
| download_fileB | Download a file from OneDrive or SharePoint |
| upload_fileB | Upload a file to OneDrive or SharePoint |
| create_folderB | Create a new folder in OneDrive or SharePoint |
| move_itemB | Move or rename a file/folder in OneDrive or SharePoint |
| delete_itemB | Delete a file or folder from OneDrive or SharePoint |
| search_filesC | Search for files and folders in OneDrive or SharePoint |
| get_file_metadataC | Get detailed metadata for a file or folder |
| share_itemC | Create a sharing link for a file or folder |
| copy_itemC | Copy a file or folder in OneDrive or SharePoint |
| discover_sitesC | Discover SharePoint sites accessible by the user |
| resolve_siteB | Resolve a SharePoint site from canonical aliases, siteId, or canonical URL without relying on discover_sites |
| list_site_listsB | List all SharePoint lists in a specific site |
| get_list_schemaB | Get detailed schema information for a SharePoint list |
| list_itemsB | List items from a SharePoint list with filtering and pagination |
| get_list_itemB | Get a specific item from a SharePoint list |
| create_list_itemB | Create a new item in a SharePoint list |
| update_list_itemC | Update an existing item in a SharePoint list |
| delete_list_itemC | Delete an item from a SharePoint list |
| health_checkB | Check the health status and authentication of the MCP server |
| get_user_profileA | Get detailed information about the authenticated user |
| list_drivesA | List all accessible drives (OneDrive + SharePoint document libraries) |
| global_searchB | Search across all accessible content (files, lists, sites) |
| batch_operationsB | Execute multiple Graph API operations in a single batch request |
| advanced_shareC | Create advanced sharing links with custom permissions and email notifications |
| manage_permissionsC | List, update, or revoke permissions for a file or folder |
| check_user_accessB | Check what access a specific user has to a file or folder |
| sync_folderB | Synchronize a local folder with OneDrive/SharePoint (bidirectional) |
| batch_file_operationsC | Perform multiple file operations in a single batch |
| storage_analyticsC | Analyze storage usage patterns and identify optimization opportunities |
| version_managementC | Manage file versions including restore, cleanup, and comparison |
| excel_operationsC | Perform operations on Excel workbooks (read, write, formulas) |
| excel_analysisB | Analyze data in Excel workbooks (statistics, pivot tables, data validation) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 33 tools
Most tools have distinct purposes (file ops, list ops, sharing, search, Excel, batch, etc.). There is minor overlap between batch_file_operations and batch_operations, and between search_files and global_search, but descriptions clarify the differences. Overall, an agent can distinguish tools effectively.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_folder, delete_item, check_user_access). Multi-word names are uniform. No mixed conventions or camelCase, making the naming predictable and easy to navigate.
With 33 tools, the count is high for a single server. While each tool serves a specific function, the number exceeds the typical well-scoped range (3-15) and feels heavy. Some tools like health_check and get_user_profile are tangentially related, and batch operations add complexity.
The tool set covers the OneDrive/SharePoint domain comprehensively: file CRUD, sharing, permissions, version management, batch operations, search across content, SharePoint list full lifecycle, Excel analysis, storage analytics, and sync. No obvious gaps for common workflows.