Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

404 B
Raw Blame
import { MCP } from '@lobehub/icons';
import { Tag } from '@lobehub/ui';
import { memo } from 'react';

interface MCPTagProps {
  showIcon?: boolean;
  showText?: boolean;
}

const MCPTag = memo<MCPTagProps>(({ showIcon = true, showText = true }) => {
  return (
    <Tag icon={showIcon && <MCP />} size={'small'}>
      {showText && 'Model Context Protocol'}
    </Tag>
  );
});

export default MCPTag;