SharePoint Docs MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SHAREPOINT_BASE_URL | Yes | Your SharePoint base URL, e.g. https://yourcompany.sharepoint.com | |
| SHAREPOINT_AUTH_MODE | No | Authentication mode; set to oauth for OAuth authentication | |
| SHAREPOINT_CLIENT_ID | Yes | Your Azure AD client ID | |
| SHAREPOINT_SITE_NAME | Yes | Your SharePoint site name | |
| SHAREPOINT_TENANT_ID | Yes | Your Azure AD tenant ID | |
| SHAREPOINT_CERTIFICATE_PATH | No | Path to the certificate PEM file for certificate authentication | |
| SHAREPOINT_PRIVATE_KEY_PATH | No | Path to the private key PEM file for certificate authentication | |
| SHAREPOINT_OAUTH_CLIENT_SECRET | No | OAuth client secret for OAuth authentication | |
| SHAREPOINT_OAUTH_SERVER_BASE_URL | No | Server base URL for OAuth authentication | |
| SHAREPOINT_OAUTH_ALLOWED_REDIRECT_URIS | No | Comma-separated allowed OAuth redirect URI patterns; if not set, all URIs are allowed |
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 | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| sharepoint_docs_searchB | Search for documents in SharePoint. Use response_format='compact' for token-efficient results with only title, path, and extension. |
| sharepoint_docs_downloadC | Download a file from SharePoint |
| sharepoint_excelA | ALWAYS start by reading 'A1:Z5' to understand column structure (required for both modes). Two modes: 1) Search mode (query parameter) finds cells containing text and returns locations with optional row data. 2) Read mode (sheet + cell_range) retrieves specific sections. Key parameters: - include_frozen_rows (default: true): Auto-includes frozen header rows even if outside specified range. frozen_rows = header row count - include_cell_styles (default: false): Adds background colors and sizes (20% more tokens) - use for color-coded data only - expand_axis_range (default: false): When frozen_rows=0, auto-expands ranges to include row 1/column A for headers - include_row_data (default: false): Search mode - returns entire matched rows (headers excluded). Best for <200 matches. Recommended workflow: 1. Read 'A1:Z5' for headers (NOT 'A1:Z50') - MANDATORY 2. Search with query to locate data 3. Read specific range if needed (frozen headers auto-included) 4. If frozen_rows=0 and context unclear, retry with expand_axis_range=true. Response: rows (value + coordinate), sheet info (dimensions, frozen_rows/cols, freeze_panes/merged_ranges). |
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 3 tools
The three tools target distinct operations: finding documents, downloading files, and reading Excel cells. However, sharepoint_excel bundles its own 'search mode' alongside sharepoint_docs_search, creating mild overlap in the word 'search' and a two-mode tool that requires careful reading to use correctly.
All names use the sharepoint_ prefix with snake_case, which is predictable. The one deviation is sharepoint_excel, which names a resource rather than following the verb_noun pattern used by sharepoint_docs_search and sharepoint_docs_download.
Three tools is borderline thin for a document platform server; search, download, and Excel reading are useful but leave little room for anything else. The Excel tool in particular carries a very large description, suggesting it is overstuffed relative to the small surface.
The server covers discovery, retrieval, and spreadsheet reading, but has notable gaps: no upload/write, no listing of sites, libraries, or folders, and no metadata retrieval beyond search results. Agents can perform read-only document workflows but will hit dead ends for common SharePoint operations.