Check Email Availability


Checks whether an email address is already registered to an account, given the candidate email. Use this before mosmcp/create-user to avoid an email-exists error. Read-only.

Property Value
Ability slug mosmcp/check-email-availability
Wire tool name mosmcp__check-email-availability
Category Users & Roles (mosmcp-users)
Plan Free

 

Required access

Requirement Value
Capability list_users
Minimum default role Administrator (Shop manager too when WooCommerce is active)
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
email string Yes — The email address to check (required).

 

Output schema

Field Type Required
email string Yes
available boolean Yes

 

Example

Sample prompt
Is jane@example.com already registered on my site?

Example request (json)

{
  "jsonrpc": "2.0",
  "id": 171,
  "method": "tools/call",
  "params": {
    "name": "mosmcp__check-email-availability",
    "arguments": {
      "input": {
        "email": "jane@example.com"
      }
    }
  }
}

Example response (json)

{
  "jsonrpc": "2.0",
  "id": 171,
  "result": {
    "isError": false,
    "structuredContent": {
      "email": "jane@example.com",
      "available": false
    }
  }
}

 

Edge cases / errors

  • The address is passed through sanitize_email first; the returned email is the cleaned value.
  • An address that sanitizes to empty → available false.
  • Only checks uniqueness, not whether the address is well-formed enough for mosmcp/create-user.

 


<< Previous Next >>
Assign Role to User Check Username Availability

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.