JF

jlaupa/freepik-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

0 stars 13 forks 品質 47 トレンド 0

The Freepik enables popular agent Model Context Protocol (MCP) to integrate with Freepik APIs through function calling.

概要

A that connects your AI assistants (Claude, Cursor, etc.) directly with Freepik's powerful APIs. Generate, search, and manage visual content without leaving your AI workflow. - 🎨 - Find and download icons in multiple formats - 📁 - Access and manage multimedia content - 🤖 - Automatically classify and analyze images - 🖼️ - Create custom images using Mystic AI - installed - dependency manager (install here) - (get yours here) ⚠️ If you're on Windows, you need to use WSL (Windows Subsystem for Linux) to run this MCP server. 2. - Get it from freepik.com/api - Replace your_actual_api_key_here We welcome contributions! Please follow these guidelines: This project uses . Format your commits as: - feat: New feature - fix: Bug fix - docs: Documentation changes - style: Code style changes (formatting, etc.) - refactor: Code refactoring - test: Adding or updating tests - chore: Maintenance tasks

README

以下は原文 README の抜粋です。原文を見る。

Freepik FastMCP Toolkit

🚀 MCP Server for seamless Freepik API integration

🎯 What is this?

A Model Context Protocol (MCP) server that connects your AI assistants (Claude, Cursor, etc.) directly with Freepik’s powerful APIs. Generate, search, and manage visual content without leaving your AI workflow.

🛠️ What tools are available?

  • 🎨 Icon Search & Download - Find and download icons in multiple formats
  • 📁 Resource Management - Access and manage multimedia content
  • 🤖 AI Image Classification - Automatically classify and analyze images
  • 🖼️ Image Generation - Create custom images using Mystic AI

📋 Prerequisites

Before you start, make sure you have:

🚀 Installation

1. Clone and navigate

git clone 
cd freepik-toolkit/fastmcp

2. Install using Makefile

# Install dependencies
make install

# Verify installation
make version

3. Configure your API Key

echo "FREEPIK_API_KEY=your_api_key_here" > .env

💡 Get your API Key at: freepik.com/api

⚙️ Configuration for AI Assistants

For Claude Desktop or Cursor on Linux

Add this to your config.json file:

⚠️ For Windows users: If you’re on Windows, you need to use WSL (Windows Subsystem for Linux) to run this MCP server.

{
  "mcpServers": {
    "freepik-fastmcp": {
      "command": "uv",
      "args": [
        "run",
        "--directory", 
        "/FULL/PATH/TO/freepik-mcp",
        "fastmcp",
        "run",
        "main.py"
      ],
      "env": {
        "FREEPIK_API_KEY": "your_actual_api_key_here"
      }
    }
  }
}

🔧 Important Configuration Steps

  1. Find your full path:

    pwd
    # Copy the output and replace /FULL/PATH/TO/ in the config
    
  2. Replace with your API key:

🏃‍♂️ Quick Start

# Development mode (auto-reload)
make dev

# Production mode  
make run

# Check code quality
make lint

# Format code
make format

# Clean temporary files
make clean

# See all commands
make help

🤝 Contributing

We welcome contributions! Please follow these guidelines:

📝 Commit Convention

This project uses Conventional Commits. Format your commits as:

(): 

[optional body]

[optional footer(s)]

Types:

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation changes
  • style: Code style changes (formatting, etc.)
  • refactor: Code refactoring
  • test: Adding or updating tests
  • chore: Maintenance tasks

Examples:

feat(icons): add search filtering by category
fix(api): resolve authentication timeout issue
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "freepik-fastmcp": { "command": "uv", "args": [ "run", "--directory", "/FULL/PATH/TO/freepik-mcp", "fastmcp", "run", "main.py" ], "env": { "FREEPIK_API_KEY": "your_actual_api_key_here" } } } }