Skip to content

TUI / mcpdo: decode and show access-token claims #2845

Closed

Description

@CloneOfAlex

Which client?

All / shared core

The problem

Most OAuth problems with an MCP server — wrong audience, missing scope, expired token — are visible in the access token itself, but the TUI Auth tab and mcpdo show the token only as an opaque (truncated) string.

Solution you have in mind (optional)

When the access token is a JWT, decode (without verifying) and show issuer, audience, subject, scopes, issued-at and expiry, with expiry relative to now — in the TUI Auth tab and an mcpdo auth/show (or similar) command. For opaque tokens, show the expires_in / scope the token response carried.

Alternatives or workarounds you have tried

Copying the token out (TUI y) and pasting it into an external JWT decoder.

Already built it locally?

No response

Before you submit

  • I searched existing issues and this is not a duplicate.
  • This is a request for the Inspector itself, not for the MCP specification or an SDK.

Activity

  1. cliffhall commented on Oct 29, 2026

    @cliffhall
    Member

    Triage: Priority Low (total 4)

    • Severity 2 — token claims are decodable by hand after copying the token
    • Urgency 2 — wanted eventually, nothing blocked on it
    • Bonuses: none (no milestone, assignee, epic, engagement or reporter-set priority)

    Board: #28, Status Incoming (awaiting maintainer review — no milestone yet).

  2. added this to the v2.15.0 milestone on Oct 29, 2026
  3. Ben-Home commented on Oct 30, 2026

    @Ben-Home
  4. self-assigned this
    on Nov 5, 2026
  5. cliffhall commented on Nov 5, 2026

    @cliffhall
    Member

    Shipped in #2891 (merged to v2/main as f1e32f0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature requestv2Issues and PRs for v2

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions