Skip to content

[Enhancement]: Show the MCP server description in the agent builder's attached-tools list #16360

Description

@sisve

What features would you like to see added?

The chat MCP dropdown and the MCP Settings panel both show an MCP server's configured description under its name. In the agent builder, the list of tools attached to an agent shows only the name and icon, so two similarly named servers can't be told apart without opening each one. I'd like the attached-tools rows for MCP servers to show the description too, on a second truncated line, matching the other two places.

More details

The data is already there: MCP catalog items carry description (client/src/components/SidePanel/Agents/Tools/items/catalog.ts, from server.metadata.description), so the change is confined to client/src/components/SidePanel/Agents/Tools/ToolRow.tsx. When the item is an MCP server with a description, render it as a truncated second line under the name and align the row to the top instead of the center. Rows without a description render exactly as today.

const description = item.kind === 'mcp' ? item.description : '';

return (
  <div className="group relative flex w-full items-center gap-2 rounded-lg px-2 py-1.5 hover:bg-surface-secondary">
    <div className={cn('flex min-w-0 flex-1 gap-2.5', description ? 'items-start' : 'items-center')}>
      <RowIcon item={item} />
      <div className="flex min-w-0 flex-1 flex-col">
        <span className="flex min-w-0 items-center gap-1 truncate text-sm text-text-primary">
          <span className="truncate font-medium">{displayName}</span>
          {suffix && <span className="text-text-secondary">{suffix}</span>}
        </span>
        {description && <p className="truncate text-xs text-text-secondary">{description}</p>}
      </div>
    </div>
    {/* ...status and action buttons unchanged... */}
  </div>
);

### Which components are impacted by your request?

UI

### Pictures

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨ enhancementNew feature or request🗺️ Agent Config UIcodegraph: the taxonomy area this belongs to (classifier, confidence ≥ 0.9)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions