Sponsored by Deepsite.site

Freepik Flux AI MCP Sunucusu

Created By
grafikogra year ago
MCP server for generating images with Freepik Flux-Dev API
Content

Freepik Flux AI MCP Sunucusu

Bu proje, Claude Desktop için Freepik'in Flux AI görsel üretme hizmetini kullanarak metin açıklamalarından görseller oluşturan bir Model Context Protocol (MCP) sunucusudur.

Özellikler

  • Metin açıklamalarından görsel oluşturma
  • Çeşitli en-boy oranı seçenekleri
  • Tarayıcıda otomatik görsel açma
  • Sağlam hata yönetimi ve yeniden deneme mekanizması

Gereksinimler

Kurulum

  1. Bu depoyu klonlayın veya indirin:
git clone https://github.com/grafikogr/freepik-mcp-server.git
cd freepik-mcp-server
  1. Bağımlılıkları yükleyin:
npm install
  1. .env.example dosyasını .env olarak kopyalayın ve Freepik API anahtarınızı ekleyin:
cp .env.example .env
  1. .env dosyasını düzenleyin ve FREEPIK_API_KEY değişkenini kendi API anahtarınızla değiştirin.

Kullanım

  1. Sunucuyu başlatın:
npm start
  1. Claude Desktop uygulamanızda bu sunucuyu aşağıdaki komutla çalıştırın:
@freepik help

Claude Desktop Entegrasyonu

Claude Desktop'ta MCP sunucusunu yapılandırmak için şu adımları izleyin:

  1. Claude Desktop ayarlarına gidin.
  2. mcpServers bölümüne şu yapılandırmayı ekleyin:
"mcpServers": {
  "freepik": {
    "command": "node",
    "args": ["indirdiğiniz/konum/freepik-mcp-server/index.js"]
  }
}
  1. Claude Desktop'u yeniden başlatın.

Araçlar

generate_image

Metin açıklaması ve görsel oranı (isteğe bağlı) ile görsel oluşturur.

Parametreler:

  • prompt: Görsel için metin açıklaması (zorunlu)
  • aspect_ratio: Görsel oranı (isteğe bağlı)

Kullanılabilir Görsel Oranları:

  • square_1_1: Kare (1:1)
  • classic_4_3: Klasik (4:3)
  • traditional_3_4: Geleneksel (3:4)
  • widescreen_16_9: Geniş ekran (16:9)
  • social_story_9_16: Sosyal medya hikayesi (9:16)
  • standard_3_2: Standart (3:2)
  • portrait_2_3: Portre (2:3)
  • horizontal_2_1: Yatay (2:1)
  • vertical_1_2: Dikey (1:2)
  • social_post_4_5: Sosyal medya gönderisi (4:5)

Konfigürasyon

.env dosyasında aşağıdaki ayarları yapılandırabilirsiniz:

  • FREEPIK_API_KEY: Freepik API anahtarınız (zorunlu)
  • REQUEST_TIMEOUT: İstek zaman aşımı süresi (milisaniye, varsayılan: 30000)
  • RETRY_ATTEMPTS: Başarısız isteklerin yeniden deneme sayısı (varsayılan: 3)

Örnekler

  1. Basit bir görsel oluşturma:

    @freepik Bana bir kedi görseli oluştur
    
  2. Belirli bir en-boy oranıyla görsel oluşturma:

    @freepik Bana widescreen_16_9 oranında dağ manzarası oluştur
    

Sorun Giderme

  • API anahtarı sorunları için .env dosyasını kontrol edin ve Freepik API anahtarınızın doğru olduğundan emin olun.
  • Ağ bağlantı sorunları için internet bağlantınızı kontrol edin.
  • Sunucu çalışma sorunları için Node.js sürümünüzün 20.x veya üstü olduğundan emin olun.
  • Daha fazla hata ayıklama bilgisi için konsol çıktısını kontrol edin.

Lisans

Bu proje MIT lisansı altında lisanslanmıştır.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
CursorThe AI Code Editor
Tavily Mcp
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
DeepChatYour AI Partner on Desktop
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Amap Maps高德地图官方 MCP Server
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
ChatWiseThe second fastest AI chatbot™
Playwright McpPlaywright MCP server