# SharePoint — how to use (mcp.ai)

SharePoint is a Microsoft platform for document management and intranets, enabling teams to collaborate, store, and organize content securely and effectively

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_share_point?ms=1781542080000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `share_point_sharepoint_create_folder`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/share_point`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/share_point/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/share_point/sharepoint/create/folder` — Creates a new folder in sharepoint using the rest api.
  - body: { folder_name: string, relative_path?: string, document_library?: string }
- `POST https://api.mcp.ai/api/share_point/sharepoint/create/list` — Creates a new list in sharepoint using the rest api.
  - body: { name: string, template: string, description?: string }
- `POST https://api.mcp.ai/api/share_point/sharepoint/create/list/item` — Creates a new item in a sharepoint list.
  - body: { list_name: string, item_properties: object }
- `POST https://api.mcp.ai/api/share_point/sharepoint/create/user` — Creates a new user in sharepoint.
  - body: { email: string, title: string, login_name: string }
- `POST https://api.mcp.ai/api/share_point/sharepoint/find/user` — Finds a user in both microsoft graph and sharepoint to verify their existence and status.
  - body: { email: string }
- `POST https://api.mcp.ai/api/share_point/sharepoint/remove/user` — Removes a user from sharepoint. will not fail if user doesn't exist.
  - body: { email: string }

## More
- Page: https://mcp.ai/share_point
- Agent spec (llms.txt): https://mcp.ai/share_point/llms.txt
- Postman collection: https://mcp.ai/share_point/postman.json
