Utilizes .env files for secure storage of API keys and other sensitive configuration data, preventing accidental exposure of credentials.
Provides direct integration with Freepik's APIs for searching and downloading icons in multiple formats, managing multimedia content resources, classifying images using AI, and generating custom images through Mystic AI.
Supports Git-based workflow for contributions, including feature branching, conventional commits, and pull request submissions.
Enables GitHub-based collaboration through pull requests, issue tracking for troubleshooting, and repository-based contribution workflow.
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:
- Python 3.12+ installed
- uv dependency manager (install here)
- Freepik API Key (get yours here)
🚀 Installation
1. Clone and navigate
2. Install using Makefile
3. Configure your API Key
💡 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.
🔧 Important Configuration Steps
- Find your full path:
- Replace with your API key:
- Get it from freepik.com/api
- Replace
your_actual_api_key_here
🏃♂️ Quick Start
🤝 Contributing
We welcome contributions! Please follow these guidelines:
📝 Commit Convention
This project uses Conventional Commits. Format your commits as:
Types:
feat
: New featurefix
: Bug fixdocs
: Documentation changesstyle
: Code style changes (formatting, etc.)refactor
: Code refactoringtest
: Adding or updating testschore
: Maintenance tasks
Examples:
🔄 Contribution Workflow
- Fork the repository
- Create a feature branch:
git checkout -b feat/amazing-feature
- Commit using conventional format:
git commit -m "feat: add amazing feature"
- Push to your branch:
git push origin feat/amazing-feature
- Open a Pull Request
📚 Development Commands
Command | Description |
---|---|
make help | Show all available commands |
make install | Install dependencies |
make dev | Run in development mode |
make run | Run in production mode |
make lint | Check code quality |
make format | Format code automatically |
make clean | Clean temporary files |
make version | Check FastMCP version |
🛡️ Security
- ⚠️ Never commit your API Key
- ✅ Use
.env
files for sensitive data - ✅ The
.env
file is in.gitignore
📖 API Documentation
For detailed API information:
🆘 Troubleshooting
Common issues:
- "Command not found" → Install
uv
dependency manager - "Invalid API Key" → Check your key at freepik.com/api
- "Path not found" → Verify the full path in your config
- "Connection refused" → Make sure the server is running with
make dev
Still having issues? Open an issue on GitHub with:
- Your OS and Python version
- Full error message
- Configuration file (without API key)
Ready to create amazing content with AI? 🎨✨
Tools
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.
Related MCP Servers
- -securityFlicense-qualityAn MCP server implementation that enables users to search, download Freepik resources, and generate images using Mystic AI through natural language requests.Last updated -JavaScript
- AsecurityFlicenseAqualityAn all-in-one Model Context Protocol (MCP) server that connects your coding AI to numerous databases, data warehouses, data pipelines, and cloud services, streamlining development workflow through seamless integrations.Last updated -2Python
- -securityFlicense-qualityA comprehensive Model Context Protocol (MCP) server implementing the latest MCP specification with tools, resources, prompts, and enhanced sampling capabilities that features HackerNews and GitHub API integrations for AI-powered analysis.Last updated -319Python
- -securityAlicense-qualityModel Context Protocol (MCP) server that provides AI assistants with advanced web research capabilities, including Google search integration, intelligent content extraction, and multi-source synthesis.Last updated -35TypeScriptMIT License