Add server selector to basic-host example (#95)

* Add server selector to basic-host example

- Add ServerSelector component to switch between MCP servers
- Run all example servers concurrently on ports 3101-3107
- Update examples:start to launch all servers with assigned ports

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Move server selector into tool call panel

- Server selector now in same component as tool selector
- Tool call results persist across server switches
- Connection caching avoids reconnects when switching servers
- Display server name with tool name in results (ServerName:ToolName)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Olivier Chafik 2025-12-08 18:45:50 +01:00 • committed by GitHub
commit f6ebefe238
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,9 @@
.connecting {
padding: 1rem 0;
text-align: center;
color: #666;
}
.callToolPanel, .toolCallInfoPanel {
margin: 0 auto;
padding: 1rem;
@ -10,6 +16,9 @@
}
.callToolPanel {
display: flex;
flex-direction: column;
gap: 1rem;
max-width: 480px;
form {