# Memberspot — how to use (mcp.ai)

Connect your Memberspot account and use 13 tools for online courses straight from your AI agent. Connect with your own API key. Memberspot is an online course and video-hosting platform designed to facilitate knowledge management and community engagement for businesses.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_memberspot?ms=1787291280000`
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. `memberspot_create_login_token`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/memberspot`
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/memberspot/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/memberspot/create/login/token` — Tool to generate a one-hour login token for a user. Use when you need to auto-login a user by their UID (token expires after one hour).
  - body: { uid: string }
- `POST https://api.mcp.ai/api/memberspot/delete/users` — Tool to delete one or more users from the platform. Use when you need to remove specified users by their email addresses. Only existing school users are removed; invalid or out-of-school emails are ig
  - body: { emails: string[] }
- `POST https://api.mcp.ai/api/memberspot/delete/users/post` — Tool to delete multiple users by email using POST method. Use this if your client does not support DELETE with body. Only existing school users are removed; invalid or out-of-school emails are ignored
  - body: { emails: string[] }
- `POST https://api.mcp.ai/api/memberspot/find/user/by/mail` — Tool to retrieve a user's details by their email address. Use when you need to look up a user after obtaining their email.
  - body: { email: string }
- `POST https://api.mcp.ai/api/memberspot/get/user/course/progress` — Tool to retrieve user course progress for a specific course and email. Use when you need to check how far a user has progressed through a particular course. Returns details including active posts, com
  - body: { email: string, courseId: string }
- `POST https://api.mcp.ai/api/memberspot/grant/user/offer/by/mail` — Tool to grant a user access to an offer by email. If the user does not exist, a new user is created automatically.
  - body: { name?: string, email: string, orderId?: string, firstname?: string, grantOffer?: string }
- `POST https://api.mcp.ai/api/memberspot/list/custom/user/properties` — Tool to list all defined custom user properties. Use when you need to retrieve metadata of custom user properties after authentication.
- `POST https://api.mcp.ai/api/memberspot/list/offers` — Retrieves all available offers (products/course bundles) from the Memberspot school. Use this to discover offer IDs before granting or revoking user access. Each offer contains course IDs it grants ac
- `POST https://api.mcp.ai/api/memberspot/list/user/course/progress` — Retrieves paginated list of all course progress for a specific user by email. Use to track user progress across all enrolled courses, including active and completed posts. Rate limited to 4 requests p
  - body: { email: string, pageLength?: integer, lastLoadedCourseId?: string }
- `POST https://api.mcp.ai/api/memberspot/list/users` — List all users in your Memberspot school with optional filtering and pagination. Use this tool to: - Retrieve all users in your membership platform - Filter users by offer access, course enrollment, o
  - body: { active?: boolean, offerId?: string, courseId?: string, pageLength?: integer, lastLoadedId?: string }
- `POST https://api.mcp.ai/api/memberspot/set/offer/expires` — Tool to set or remove the expiration date for an offer for a user. Use when you need to grant time-limited access to an offer or remove time limits from an existing offer. When no value is provided fo
  - body: { uid: string, offerId: string, expiresAt?: string }
- `POST https://api.mcp.ai/api/memberspot/set/order/state` — Manages order-based offer access for a user in Memberspot. Use this to activate (grant access), deactivate (revoke access), or delete an order-based offer association. Order IDs typically come from pa
  - body: { email: string, active?: boolean, orderId: string }
- `POST https://api.mcp.ai/api/memberspot/set/user/offer/state` — Tool to revoke or set the state of a specific offer for a user. Use after confirming whether the user should gain or lose access.
  - body: { email: string, active: boolean, offerId: string }

## Example prompts
- "What can I do in Memberspot?"
- "Show me a summary of my Memberspot account"

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