refactor(ui): rename MCP metadata editor label to mcp_info (JSON)

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Mubashir Osmani 2026-07-24 22:54:02 +00:00
parent 1908eda531
commit 811d794b84
3 changed files with 5 additions and 5 deletions

View file

@ -902,8 +902,8 @@ const CreateMCPServer: React.FC<CreateMCPServerProps> = ({
<Form.Item
label={
<span className="text-sm font-medium text-gray-700 flex items-center">
Metadata (JSON)
<Tooltip title="Optional free-form JSON stored on the server's mcp_info. Use it for arbitrary metadata such as the owning team or cost center.">
mcp_info (JSON)
<Tooltip title="Optional free-form JSON stored alongside the managed mcp_info fields. Use it for arbitrary data such as the owning team or cost center.">
<InfoCircleOutlined className="ml-2 text-blue-400 hover:text-blue-600 cursor-help" />
</Tooltip>
</span>

View file

@ -1052,8 +1052,8 @@ const MCPServerEdit: React.FC<MCPServerEditProps> = ({
<Form.Item
label={
<span className="flex items-center">
Metadata (JSON)
<Tooltip title="Optional free-form JSON stored on the server's mcp_info. Use it for arbitrary metadata such as the owning team or cost center.">
mcp_info (JSON)
<Tooltip title="Optional free-form JSON stored alongside the managed mcp_info fields. Use it for arbitrary data such as the owning team or cost center.">
<InfoCircleOutlined className="ml-2 text-blue-400 hover:text-blue-600 cursor-help" />
</Tooltip>
</span>

View file

@ -252,7 +252,7 @@ export const MCPServerView: React.FC<MCPServerViewProps> = ({
</div>
</div>
<div className="grid grid-cols-3 gap-4 py-3">
<p className="text-sm font-medium text-muted-foreground">Metadata</p>
<p className="text-sm font-medium text-muted-foreground">mcp_info</p>
<div className="col-span-2 text-sm">
{hasCustomMcpInfo ? (
<pre className="text-xs bg-muted border border-border rounded-md p-3 overflow-auto whitespace-pre-wrap break-all">