Skip to content

Copy button overlaps long text in Inspector output #769

@thisisharsh7

Description

@thisisharsh7

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp3-lowLow priority - can be addressed when time permits

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions