inspector icon indicating copy to clipboard operation
inspector copied to clipboard

Add button to show and hide access token

Open stdevi opened this issue 2 months ago • 0 comments

Follow up to https://github.com/modelcontextprotocol/inspector/pull/878

Before the change:

image

After the change:

image image

Motivation and Context

Currently, the access_token.substring(0, 25) is shown. However, when the token is longer, showing only a substring is insufficient, as a user needs to navigate to the token response and copy the access token from there.

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Documentation update

Checklist

  • [x] I have read the MCP Documentation
  • [x] My code follows the repository's style guidelines
  • [x] New and existing tests pass locally

stdevi avatar Oct 21 '25 21:10 stdevi