UseGrant MCP Server

Official

create_access_token

Create a new access token for a client

Input Schema

NameRequiredDescriptionDefault
audienceAsArrayNoWhether to use an array of audiences
clientIdYesThe ID of the client
expiresInNoThe number of seconds the token will be valid for
forceDefaultDomainNoWhether to force the default domain
providerIdYesThe ID of the provider
useJwtTypeNoWhether to use at+jwt token type in the header

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "audienceAsArray": { "description": "Whether to use an array of audiences", "type": "boolean" }, "clientId": { "description": "The ID of the client", "minLength": 1, "type": "string" }, "expiresIn": { "description": "The number of seconds the token will be valid for", "maximum": 172800000, "type": "number" }, "forceDefaultDomain": { "description": "Whether to force the default domain", "type": "boolean" }, "providerId": { "description": "The ID of the provider", "minLength": 1, "type": "string" }, "useJwtType": { "description": "Whether to use at+jwt token type in the header", "type": "boolean" } }, "required": [ "providerId", "clientId" ], "type": "object" }