Skip to main content

MCP Tool Server for Logo Generation using FAL AI

Project description

MCP Tool Server for Logo Generation

This server provides logo generation capabilities using FAL AI, with tools for image generation, background removal, and automatic scaling.

Demo

MCP Tool Server Demo

Installation

  1. Install uv (Universal Virtualenv):
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Create and activate a virtual environment:
uv venv
source .venv/bin/activate  # On Unix/macOS
# or
.venv\Scripts\activate     # On Windows
  1. Install dependencies:
uv pip install -r requirements.txt
  1. Set up your environment variables:
    • Create a .env file in the root directory
    • Add your FAL AI API key:
FAL_KEY=your_fal_ai_key_here

Running the Server

Start the server with:

python run_server.py

The server will be available at http://127.0.0.1:7777

Troubleshooting

If you encounter a FileNotFoundError on Windows when running the server, make sure you're running the command from the root directory of the project. If the issue persists, try updating to the latest version of the repository which includes fixes for Windows compatibility.

For Windows users specifically:

  1. Make sure you've activated your virtual environment with .venv\Scripts\activate
  2. Run the server from the root directory of the project with python run_server.py
  3. If you see any path-related errors, please report them in the issues section of the repository

Cursor IDE Configuration

  1. Open Cursor Settings
  2. Navigate to the MCP section
  3. Add the following configuration:
    • URL: http://127.0.0.1:7777/sse
    • Connection Type: SSE
    • Enable the connection

Notes

  • Always reference @logo-creation.mdc in your Cursor Composer for consistent results
  • Steps are defined in @logo-creation.mdc but tools can be used independently
  • All generated logos will be saved in the downloads directory
  • Each logo is automatically generated in three sizes:
    • Original size
    • 32x32 pixels
    • 128x128 pixels
  • All logos maintain transparency in their final PNG format
  • Prompts created by agent are informed by examples and prompt structure seen in server.py. You can customize the prompt structure by editing the server.py file.
  • You can use the generate_image tool to generate any image you want, not just logos

Requirements

  • Python 3.8+
  • FAL AI API key (required for image generation)
  • Active internet connection

References


If you find this tool helpful, you can buy me a coffee ☕️ to support development!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_mcp_logo_gen-0.1.0.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_mcp_logo_gen-0.1.0-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_mcp_logo_gen-0.1.0.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_mcp_logo_gen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e45d23a0b5b256f531e42c1941598330977bf862ec5d17cd5e57bd473c26ca8d
MD5 8804084345b3456b84de3a74c25fa0b3
BLAKE2b-256 9ffb6a56d131c956a8bf11368a3f104b288eb63c6b8231420118e9cb2fc88b06

See more details on using hashes here.

File details

Details for the file iflow_mcp_mcp_logo_gen-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_mcp_logo_gen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f442d0c2f03ae1eab17e4eecaa284364f0a8999a9148144af8249952007d38fc
MD5 109d19655aa0022ce0861c7450f660b2
BLAKE2b-256 b79c59154156bd0ac807a0ab88c09c4b3dca575c573175a387bd4d7a0328261e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page