Skip to main content
Glama

mcp-google-sheets

image-message.tsx1.23 kB
import { Download } from 'lucide-react'; import React from 'react'; import ImageWithFallback from '@/components/ui/image-with-fallback'; interface ImageMessageProps { content: string; setSelectedImage: (image: string | null) => void; } export const ImageMessage: React.FC<ImageMessageProps> = ({ content, setSelectedImage, }) => { return ( <div className="w-fit"> <div className="relative group"> <ImageWithFallback src={content} alt="Received image" className="w-80 h-auto rounded-md cursor-pointer" onClick={() => setSelectedImage(content)} /> <button onClick={(e) => { e.stopPropagation(); const link = document.createElement('a'); link.href = content; link.download = 'image'; document.body.appendChild(link); link.click(); document.body.removeChild(link); }} className="absolute top-2 right-2 bg-black bg-opacity-50 rounded-full p-1 hover:bg-opacity-75 transition-opacity opacity-0 group-hover:opacity-100" > <Download className="h-4 w-4 text-white" /> </button> </div> </div> ); };

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/activepieces/activepieces'

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