This MCP server provides logo generation capabilities using FAL AI, with tools for image generation, background removal, and automatic scaling - all accessible through a simple server interface that integrates with Cursor IDE.
Install uv (Universal Virtualenv):
curl -LsSf https://astral.sh/uv/install.sh | sh
Create and activate a virtual environment:
uv venv
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows
Install dependencies:
uv pip install -r requirements.txt
Set up environment variables:
.env file in the root directoryFAL_KEY=your_fal_ai_key_here
Start the server with:
python run_server.py
The server will be available at http://127.0.0.1:7777
If you encounter a FileNotFoundError on Windows:
.venv\Scripts\activatepython run_server.pyhttp://127.0.0.1:7777/sse@logo-creation.mdc in your Cursor Composer for consistent resultsThe server automatically processes logos to provide:
You can use the generate_image tool to create any type of image, not just logos. The prompts are structured based on examples in the server configuration.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "fal-ai-image-generation" '{"command":"python","args":["run_server.py"],"url":"http://127.0.0.1:7777/sse","connectionType":"SSE"}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:
{
"mcpServers": {
"fal-ai-image-generation": {
"command": "python",
"args": [
"run_server.py"
],
"url": "http://127.0.0.1:7777/sse",
"connectionType": "SSE"
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json2. Add this to your configuration file:
{
"mcpServers": {
"fal-ai-image-generation": {
"command": "python",
"args": [
"run_server.py"
],
"url": "http://127.0.0.1:7777/sse",
"connectionType": "SSE"
}
}
}
3. Restart Claude Desktop for the changes to take effect