Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SHAREPOINT_SITE_URLYesThe URL of your SharePoint site (e.g., https://your-tenant.sharepoint.com/sites/your-site)
SHAREPOINT_CLIENT_IDYesYour Azure AD Application (client) ID
SHAREPOINT_TENANT_IDYesYour Azure AD Directory (tenant) ID
SHAREPOINT_DOC_LIBRARYYesThe name of the SharePoint document libraryShared Documents
SHAREPOINT_CLIENT_SECRETYesYour Azure AD client secret value

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
authenticate

Start the SharePoint authentication process. Returns a URL that the user must open in a browser to authenticate. The auth server must be running first (npm run auth-server).

check_auth_status

Check the current SharePoint authentication status

logout

Clear SharePoint authentication tokens and log out

list_folders

List all folders in a specified SharePoint directory. Returns folder names, IDs, and metadata.

create_folder

Create a new folder in SharePoint

delete_folder

Delete a folder from SharePoint. The folder must be empty.

get_folder_tree

Get a recursive tree view of folders in SharePoint. Useful for understanding folder structure.

list_documents

List all documents (files) in a specified SharePoint folder. Returns file names, sizes, and metadata.

get_document_content

Get the content of a document from SharePoint. Works best with text-based files (txt, json, md, etc).

upload_document

Upload a new document to SharePoint. For text content, provide the content directly. For binary files, provide base64-encoded content.

upload_document_from_path

Upload a file from the local filesystem to SharePoint

update_document

Update an existing document in SharePoint with new content

delete_document

Delete a document from SharePoint

download_document

Download a document from SharePoint to the local filesystem

get_file_metadata

Get metadata fields for a SharePoint file

update_file_metadata

Update metadata fields for a SharePoint file

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/peacockery-studio/sharepoint-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server