Skip to main content
Glama

Superglue MCP

Official
by superglue-ai
EmptyStateActions.tsx3.56 kB
import { Button } from "@/src/components/ui/button"; import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/src/components/ui/dropdown-menu"; import { FileEdit, Hammer, MoreHorizontal, Zap } from "lucide-react"; import React from "react"; interface EmptyStateActionsProps { handleTool: () => void; handleTransform: () => void; handleToolManual: () => void; } const EmptyStateActions: React.FC<EmptyStateActionsProps> = ({ handleTool, handleTransform, handleToolManual, }) => { return ( <div className="flex flex-col items-center justify-center py-16"> <div className="grid grid-cols-1 lg:grid-cols-2 gap-8 w-full max-w-4xl"> {/* Tool Button with Dropdown */} <div className="relative"> <Button onClick={handleTool} className="h-auto md:h-80 shadow-md hover:shadow-lg transition-all duration-300 rounded-2xl bg-card border border-primary/20 hover:border-primary/30 flex flex-col justify-center p-6 w-full group" variant="outline" size="lg" > <div className="flex flex-col items-center justify-center gap-4 md:gap-7"> <div className="p-4 md:p-6 rounded-full bg-primary/25 transition-colors duration-300"> <Hammer className="h-12 w-12 md:h-16 md:w-16 text-foreground group-hover:text-foreground" strokeWidth={1.5} /> </div> <div className="flex flex-col items-center text-center"> <span className="text-lg md:text-2xl font-semibold mb-1 md:mb-2 max-w-full">Tool</span> <span className="text-muted-foreground text-xs md:text-sm max-w-full">Execute a series of steps</span> </div> </div> </Button> {/* Dropdown Menu */} <DropdownMenu> <DropdownMenuTrigger asChild> <Button variant="ghost" size="sm" className="absolute top-2 right-2 h-8 w-8 p-0 hover:bg-primary/10" > <MoreHorizontal className="h-4 w-4" /> </Button> </DropdownMenuTrigger> <DropdownMenuContent align="end"> <DropdownMenuItem onClick={handleToolManual}> <FileEdit className="mr-2 h-4 w-4" /> Create Manual Tool </DropdownMenuItem> </DropdownMenuContent> </DropdownMenu> </div> {/* Transform Button */} <Button onClick={handleTransform} className="h-auto md:h-80 shadow-md hover:shadow-lg transition-all duration-300 rounded-2xl bg-card border border-primary/20 hover:border-primary/30 flex flex-col justify-center p-6" variant="outline" size="lg" > <div className="flex flex-col items-center justify-center gap-4 md:gap-7"> <div className="p-4 md:p-6 rounded-full bg-primary/25 transition-colors duration-300"> <Zap className="h-12 w-12 md:h-16 md:w-16 text-foreground group-hover:text-foreground" strokeWidth={1.5} /> </div> <div className="flex flex-col items-center text-center"> <span className="text-lg md:text-2xl font-semibold mb-1 md:mb-2 max-w-full">Transform</span> <span className="text-muted-foreground text-xs md:text-sm max-w-full">Process and transform data</span> </div> </div> </Button> </div> </div> ); }; export default EmptyStateActions;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/superglue-ai/superglue'

If you have feedback or need assistance with the MCP directory API, please join our Discord server