{
  "info": {
    "name": "Membervault — mcp.ai",
    "description": "REST API for the Membervault MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/membervault",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "membervault_add_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "user"
          ]
        },
        "description": "Tool to add a user to a specified product. Use when enrolling a user into a course without duplication.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\",\n  \"course_id\": 0,\n  \"last_name\": \"\",\n  \"first_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "membervault_delete_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "user"
          ]
        },
        "description": "Tool to completely delete a user from the account, including all data, progress, and quiz answers (irreversible). Use when you need to permanently remove a user. Example: \"Delete user with email user@",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "membervault_get_courses",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/courses",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "courses"
          ]
        },
        "description": "Tool to retrieve all courses (products) in the MemberVault account. Use when you need to list available courses after setting up authentication.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "membervault_remove_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/remove/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "remove",
            "user"
          ]
        },
        "description": "Tool to remove a user's access to a product (course). This simply removes access to the product without deleting the user from the account. Use when revoking course access.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\",\n  \"course_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}