Skip to content

whoami

Return the OAuth client and API permissions for the current MCP request.

{
"properties": {},
"title": "whoamiArguments",
"type": "object"
}
{
"description": "The non-secret OAuth grant context available to an MCP client.",
"properties": {
"applicationId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Applicationid"
},
"authenticated": {
"title": "Authenticated",
"type": "boolean"
},
"baasPermissions": {
"items": {
"type": "string"
},
"title": "Baaspermissions",
"type": "array"
},
"clientId": {
"title": "Clientid",
"type": "string"
},
"documentationUrl": {
"const": "https://docs.merofoundry.app/llms.txt",
"title": "Documentationurl",
"type": "string"
},
"grantType": {
"anyOf": [
{
"enum": [
"application",
"bootstrap"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Granttype"
},
"missingScopes": {
"items": {
"type": "string"
},
"title": "Missingscopes",
"type": "array"
},
"nextStep": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Nextstep"
},
"reauthorizationRequired": {
"title": "Reauthorizationrequired",
"type": "boolean"
},
"scopes": {
"items": {
"type": "string"
},
"title": "Scopes",
"type": "array"
},
"workspaceId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Workspaceid"
}
},
"required": [
"authenticated",
"clientId",
"scopes",
"baasPermissions",
"applicationId",
"workspaceId",
"grantType",
"documentationUrl",
"reauthorizationRequired"
],
"title": "WhoamiResponse",
"type": "object"
}