Skip to content

Commit fe9ab40

Browse files
authored
Merge branch 'main' into main
2 parents a57e707 + 3e41520 commit fe9ab40

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

client/src/App.tsx

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -575,11 +575,24 @@ const App = () => {
575575
{!serverCapabilities?.resources &&
576576
!serverCapabilities?.prompts &&
577577
!serverCapabilities?.tools ? (
578-
<div className="flex items-center justify-center p-4">
579-
<p className="text-lg text-gray-500">
580-
The connected server does not support any MCP capabilities
581-
</p>
582-
</div>
578+
<>
579+
<div className="flex items-center justify-center p-4">
580+
<p className="text-lg text-gray-500">
581+
The connected server does not support any MCP
582+
capabilities
583+
</p>
584+
</div>
585+
<PingTab
586+
onPingClick={() => {
587+
void sendMCPRequest(
588+
{
589+
method: "ping" as const,
590+
},
591+
EmptyResultSchema,
592+
);
593+
}}
594+
/>
595+
</>
583596
) : (
584597
<>
585598
<ResourcesTab

0 commit comments

Comments
 (0)