import React, { useState } from 'react'; import { FiInfo, FiBook, FiTool, FiZap, FiShield, FiDatabase, FiGlobe, FiChevronRight, FiExternalLink, FiHelpCircle } from 'react-icons/fi'; import Typography from '../ui/Typography'; import { Button } from '../ui/Button'; import { Dialog, DialogContent, DialogHeader, DialogTitle, } from '../ui/dialog'; interface MCPInfoPanelProps { serverCount: number; activeCount: number; totalTools: number; } export const MCPInfoPanel: React.FC = ({ serverCount, activeCount, totalTools, }) => { const [showDetailedInfo, setShowDetailedInfo] = useState(false); return ( <>
Statistics
Total Servers {serverCount}
Active {activeCount}
Total Tools {totalTools}
Understanding MCP Servers
What are MCP Servers? Model Context Protocol (MCP) servers are specialized programs that provide AI assistants with structured access to external tools and data sources. They act as secure bridges between the AI model and various systems, enabling capabilities like file manipulation, web browsing, database queries, and API interactions.
How Do They Work?
1
Connect Enable a server to establish a connection between your AI and the external system.
2
Discover Tools The server exposes specific tools (functions) that the AI can call to perform actions.
3
Execute When needed, the AI calls these tools to complete tasks, receiving structured responses.
Common Server Types
Filesystem
Access local files and directories on your computer.
Web Browser
Navigate websites and extract information.
Code Execution
Run scripts, commands, and code snippets.
API Integration
Connect to external services and APIs.
Security & Privacy MCP servers are designed with security in mind:
  • Sandboxed Execution: Servers run in isolated environments
  • Permission Control: You control which servers are enabled
  • Transparent Operations: All tool usage is logged and visible
  • Local Processing: Data stays on your machine unless explicitly shared
Getting Started
1. Browse Available Servers: Click the "Browse" tab to see pre-configured servers 2. Add a Server: Install from the catalog or configure a custom server 3. Configure Settings: Some servers need API keys or paths configured 4. Enable & Test: Toggle the server on and test the connection 5. Start Using: The AI will automatically use available tools when needed
); };