Discovery & Inspectionmcp:read
get_user
Return the authenticated Discord user profile, active grant scopes, auth method, and allowed server scope.
readOnlyHint: trueidempotentHint: truedestructiveHint: falseopenWorldHint: false
Overview
Returns identity and authorization metadata derived strictly from the verified Bearer token record in the isolated taicket_mcp database.
This tool accepts no caller identity parameter. The server always resolves the acting Discord user ID from the verified token hash to prevent impersonation.
Permissions
- Required Scopes
- mcp:read
- Discord Role Access
- Any authenticated Discord account with an active OAuth grant or scoped token.
- Server-Side Guard
- requireMcpBearerAuth + BotBlacklist user check
- Subscription Tier
- Available on Free, Pro, and Enterprise.
Input Schema
JSON Schema enforced by the server prior to RBAC and tier validation. Unknown properties are rejected strictly.
get_user.inputSchema.jsonjson
{
"type": "object",
"properties": {},
"additionalProperties": false
}Parameters
This tool takes no input parameters. Pass an empty JSON object {}.
Example
Inspect the current authenticated session and allowed server scope.
POST https://mcp.taicket.xyz/mcpjson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_user",
"arguments": {}
}
}Response
Structured user profile, granted scopes, and server scope summary.
Structured Tool Resultjson
{
"userId": "982341567890123456",
"username": "alex_ops",
"globalName": "Alex",
"authKind": "oauth",
"clientName": "Claude",
"scopes": [
"mcp:read",
"mcp:write",
"mcp:deploy"
],
"serverAccess": {
"mode": "selected",
"allowedGuildIds": [
"1200000000000000000"
]
},
"expiresAt": "2026-12-05T15:00:00.000Z"
}Errors
| Error Code | Condition | Resolution |
|---|---|---|
| UNAUTHORIZED | Missing, expired, or revoked Bearer access token or scoped Personal Access Token. | Re-authenticate through OAuth 2.1 or create a fresh token in https://mcp.taicket.xyz/account. |
| FORBIDDEN | Token lacks the required OAuth scope, the guild is outside allowedGuildIds, or caller lacks live Discord RBAC permissions. | Grant the required scope during consent or confirm your Discord server role permissions. |
| RATE_LIMITED | Caller exceeded the per-user sliding-window request limit. | Wait for the Retry-After window before issuing another request. |
Behavior
- Reads token metadata exclusively from verified MCP access token and grant records.
- Never returns raw Discord OAuth tokens, refresh tokens, session cookies, or internal database identifiers.
- Safe to call at the start of every session so clients know which scopes and servers are authorized.
Related Tools