SharePoint MCP Server
v1.1.1MCP server for Microsoft SharePoint — manage folders, documents, and metadata.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
Get_Document_Content
Retrieve and decode the content of a SharePoint document. Supports PDF, Word, Excel, and plain-text files. For files in the document library root, use empty string for folder_name.
| Parameter | Type | Description |
|---|---|---|
file_name | string | |
folder_name | string |
Upload_Document
Upload a new document to a SharePoint folder. Pass content as a UTF-8 string or Base64-encoded bytes. Use empty string for folder_name to upload to document library root.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
file_name * | string | |
folder_name | string | |
is_base64 | boolean |
Upload_Document_From_Path
Upload a local file directly to SharePoint without converting to Base64 first. Use empty string for folder_name to upload to document library root.
| Parameter | Type | Description |
|---|---|---|
file_path | string | |
folder_name | string | |
new_file_name |
Update_Document
Overwrite the content of an existing SharePoint document. Use empty string for folder_name for files in document library root.
| Parameter | Type | Description |
|---|---|---|
content | string | |
file_name | string | |
folder_name | string | |
is_base64 | boolean |
Delete_Document
Permanently delete a document from a SharePoint folder. Use empty string for folder_name for files in document library root.
| Parameter | Type | Description |
|---|---|---|
file_name | string | |
folder_name | string |
Download_Document
Download a SharePoint document to the local filesystem (with automatic fallback to ./downloads/). Use empty string for folder_name for files in document library root.
| Parameter | Type | Description |
|---|---|---|
file_name | string | |
folder_name | string | |
local_path | string |
Create_Folder
Create a new folder in a SharePoint directory. Use None/null or empty string for parent_folder to create in document library root.
| Parameter | Type | Description |
|---|---|---|
folder_name | string | |
parent_folder |
Delete_Folder
Delete an empty folder from SharePoint. Provide the full path to the folder to delete.
| Parameter | Type | Description |
|---|---|---|
folder_path | string |
Get_File_Metadata
Retrieve all SharePoint list-item metadata fields for a document.
| Parameter | Type | Description |
|---|---|---|
file_name * | string | |
folder_name * | string |
Update_File_Metadata
Update one or more SharePoint list-item metadata fields for a document.
| Parameter | Type | Description |
|---|---|---|
file_name * | string | |
folder_name * | string | |
metadata * | object |