You're viewing a demo portfolio

Join the waitlist
PRSM

clerk.create_m2m_token

Active

Tool of Vee3

declared in 1.27.1

Create an M2M token in a connected Clerk instance. **Sensitive** — the returned token is a high-privilege secret; do not log or expose it. Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account. Returns the created M2M token. Cost = 15 tokens.

Parameters schema

{
  "type": "object",
  "title": "create_clerk_m2m_tokenArguments",
  "required": [
    "machine_secret_key"
  ],
  "properties": {
    "claims": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ],
      "title": "Claims",
      "default": null,
      "description": "Optional custom claims embedded in the token."
    },
    "token_format": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Token Format",
      "default": null,
      "description": "Token format: \"opaque\" (default) or \"jwt\"."
    },
    "clerk_instance_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Clerk Instance Id",
      "default": null,
      "description": "Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account."
    },
    "machine_secret_key": {
      "type": "string",
      "title": "Machine Secret Key",
      "description": "Machine secret key (msk_...) used to authenticate the create request."
    },
    "seconds_until_expiration": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0
        },
        {
          "type": "null"
        }
      ],
      "title": "Seconds Until Expiration",
      "default": null,
      "description": "Token lifetime in seconds."
    },
    "min_remaining_ttl_seconds": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0
        },
        {
          "type": "null"
        }
      ],
      "title": "Min Remaining Ttl Seconds",
      "default": null,
      "description": "For opaque tokens, reuse an existing token with at least this TTL remaining."
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

Vee3

https://github.com/Vee3io/Vee3

1/7 registries
View full server →
clerk.create_m2m_token — Vee3 — PRSM MCP