Skip to main content
Glama
SharePoint Docs MCP Server

SharePoint Docs MCP Server

by ncdcdev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SHAREPOINT_BASE_URLYesYour SharePoint base URL, e.g. https://yourcompany.sharepoint.com
SHAREPOINT_AUTH_MODENoAuthentication mode; set to oauth for OAuth authentication
SHAREPOINT_CLIENT_IDYesYour Azure AD client ID
SHAREPOINT_SITE_NAMEYesYour SharePoint site name
SHAREPOINT_TENANT_IDYesYour Azure AD tenant ID
SHAREPOINT_CERTIFICATE_PATHNoPath to the certificate PEM file for certificate authentication
SHAREPOINT_PRIVATE_KEY_PATHNoPath to the private key PEM file for certificate authentication
SHAREPOINT_OAUTH_CLIENT_SECRETNoOAuth client secret for OAuth authentication
SHAREPOINT_OAUTH_SERVER_BASE_URLNoServer base URL for OAuth authentication
SHAREPOINT_OAUTH_ALLOWED_REDIRECT_URISNoComma-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

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 3 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count3/5

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.

Completeness3/5

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.

Maintenance

ActivitySlowing
ResponsivenessNo recent community issues