P

mcp-logo-gen

...
Created 3/7/2025bysshtunnelvision

Categories

logodesign

Language:

Python

Stars:

163

Forks:

12

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

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

            - [Cursor MCP Documentation](https://docs.cursor.com/context/model-context-protocol)

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

Last updated: 3/16/2025

Publisher info

sshtunnelvision's avatar
8
followers
2
following
23
repos

More MCP servers built with Python

mcp-atlassian

MCP server for Atlassian tools (Confluence, Jira)

By sooperset3200
https://github.com/fastnai/mcp-fastn

Unified Context Layer (UCL) is a multi-tenant Model Context Protocol (MCP) server that enables AI agents, automation platforms, and applications to connect to over 1,000 SaaS tools—such as Slack, Jira, Gmail, Shopify, Notion, and more—via a single standardized /command endpoint.

By Fastn
Web-To-MCP

Bridge the gap between design and code. Send pixel-perfect website components directly to Cursor or Claude Code using Model Context Protocol (MCP). No more screenshots or descriptions needed.

By Web-To-MCP