inspector
inspector copied to clipboard
Copy button overlaps long text in Inspector output
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:
- Start MCP Inspector
- Run a tool that returns a long string output (e.g. generate a long paragraph with a greet or custom tool)
- 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
Possible fix: : add padding-right to the text container so it leaves space for the button.