diff --git a/examples/inspector/src/components/McpServers.tsx b/examples/inspector/src/components/McpServers.tsx
index 7f0d28e..14ae0d5 100644
--- a/examples/inspector/src/components/McpServers.tsx
+++ b/examples/inspector/src/components/McpServers.tsx
@@ -254,7 +254,7 @@ export function McpServers({
return (
) : (
-
+
{tools.map((tool: Tool, index: number) => (
{/* Tool title outside the card */}
@@ -399,7 +399,7 @@ export function McpServers({
)}
-
+
{renderFormField(tool.name, fieldName, schema, isRequired)}
@@ -417,25 +417,27 @@ export function McpServers({
Run
- {/* Per-tool execution log */}
-
-
-
Execution Log
-
+ {/* Per-tool execution log - only show if there's content */}
+ {toolExecutionLogs[tool.name] && (
+
+
+
Execution Log
+
+
+
-
-
+ )}
))}