inspector icon indicating copy to clipboard operation
inspector copied to clipboard

Copy button overlaps long text in Inspector output

Open thisisharsh7 opened this issue 4 months ago • 0 comments

Describe the bug In the MCP Inspector Tools panel, when a tool returns a long text output, the "copy" button overlaps the text content instead of staying aligned to the side. This makes part of the result unreadable.

To Reproduce Steps to reproduce the behaviour:

  1. Start MCP Inspector
  2. Run a tool that returns a long string output (e.g. generate a long paragraph with a greet or custom tool)
  3. Observe that the copy button floats on top of the text, overlapping it

Expected behavior The copy button should remain separated from the text (aligned to the right margin or above). It should not cover or obscure any part of the tool’s output, regardless of text length.

Logs Not applicable — this is a UI layout issue.

Additional context MCP Inspector version: v0.16.5 OS/Browser: macOS (Safari/Chrome) Screenshot attached

Image

Possible fix: : add padding-right to the text container so it leaves space for the button.

thisisharsh7 avatar Aug 29 '25 13:08 thisisharsh7