Skip to main content
Glama

Freepik MCP Server

Freepik MCPサーバー

Freepik の API と対話するための MCP サーバー実装。ストック写真や Mystic AI 画像生成機能へのアクセスを提供します。

特徴

  • Freepikのリソース(写真、ベクター、PSD)を検索
  • 詳細なリソース情報を取得する
  • リソースをダウンロード
  • Mystic AIを使用して画像を生成する
  • 画像生成ステータスを確認する

前提条件

インストール

# Create a new directory for your MCP servers mkdir mcp-servers cd mcp-servers # Clone the repository git clone https://github.com/MCERQUA/freepik-mcp.git cd freepik-mcp # Install dependencies npm install # Build the server npm run build

構成

  1. まず、 API_SETUP.mdの指示に従ってFreepik APIキーを取得します。
  2. サーバーを MCP 設定ファイルに追加します。
{ "mcpServers": { "freepik": { "command": "node", "args": ["path/to/freepik-mcp/build/index.js"], "env": { "FREEPIK_API_KEY": "your-api-key-here" }, "disabled": false, "autoApprove": [] } } }

利用可能なツール

検索リソース

さまざまなフィルターを使用して Freepik リソースを検索します。

{ term?: string; // Search term limit?: number; // Results per page order?: 'relevance' | 'recent'; filters?: { orientation?: { landscape?: boolean; portrait?: boolean; square?: boolean; panoramic?: boolean; }; content_type?: { photo?: boolean; psd?: boolean; vector?: boolean; }; license?: { freemium?: boolean; premium?: boolean; }; }; }

リソースを取得する

特定のリソースに関する詳細情報を取得します。

{ id: number; // Resource ID to get details for }

ダウンロードリソース

特定のリソースのダウンロード URL を取得します。

{ id: number; // Resource ID to download }

画像を生成する

Freepik Mystic AI を使用して画像を生成します。

{ prompt: string; // Text description of the image to generate resolution?: '2k' | '4k'; aspect_ratio?: 'square_1_1' | 'classic_4_3' | 'traditional_3_4' | 'widescreen_16_9' | 'social_story_9_16'; realism?: boolean; // Enable realistic style engine?: 'automatic' | 'magnific_illusio' | 'magnific_sharpy' | 'magnific_sparkle'; creative_detailing?: number; // 0-100 }

チェックステータス

Mystic 画像生成タスクのステータスを確認します。

{ task_id: string; // ID of the generation task to check }

発達

# Install dependencies npm install # Build the server npm run build # Run in development mode npm run dev

エラー処理

サーバーは包括的なエラー処理を実装します。

  • APIエラーは詳細情報とともに記録されます
  • Zodスキーマを使用した入力検証
  • コンテキストに応じた適切なエラー応答
  • レート制限の認識

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成します( git checkout -b feature/amazing-feature
  3. 変更をコミットします ( git commit -m 'Add some amazing feature' )
  4. ブランチにプッシュする ( git push origin feature/amazing-feature )
  5. プルリクエストを開く

ライセンス

マサチューセッツ工科大学

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

ユーザーが自然言語リクエストを通じて、Freepik リソースを検索、ダウンロードし、Mystic AI を使用して画像を生成できるようにする MCP サーバー実装。

  1. 特徴
    1. 前提条件
      1. インストール
        1. 構成
          1. 利用可能なツール
            1. 検索リソース
            2. リソースを取得する
            3. ダウンロードリソース
            4. 画像を生成する
            5. チェックステータス
          2. 発達
            1. エラー処理
              1. 貢献
                1. ライセンス

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    A collection of custom MCP servers providing various AI-powered capabilities including web search, YouTube video analysis, GitHub repository analysis, reasoning, code generation/execution, and web crawling.
                    Last updated -
                    2
                    Python
                    MIT License
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server that allows agents to interact with Meilisearch, a powerful open-source search engine, through its API using natural language.
                    Last updated -
                    Python
                  • A
                    security
                    F
                    license
                    A
                    quality
                    A Model Context Protocol (MCP) server that connects AI assistants directly with Freepik's APIs, allowing users to search, generate, and manage visual content without leaving their AI workflow.
                    Last updated -
                    9
                    10
                    • Linux
                  • -
                    security
                    A
                    license
                    -
                    quality
                    An MCP server that enables AI assistants to search, analyze, and retrieve information about audio samples from Freesound.org through their API.
                    Last updated -
                    JavaScript
                    MIT License
                    • Apple

                  View all related MCP servers

                  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/MCERQUA/freepik-mcp'

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