1.0.6 • Published 8 months ago

@kinetixarts/server-craft-it v1.0.6

Weekly downloads
-
License
-
Repository
github
Last release
8 months ago

Craft IT Asset Generator MCP Server

License: MIT TypeScript Google Gemini

A powerful Model Context Protocol (MCP) server that leverages Google Gemini AI to generate stunning images and icons seamlessly within your development workflow.

✨ Features

  • Transform Ideas into Art — Create professional-quality images and icons powered by Google Gemini AI
  • Effortless Generation — Turn simple text prompts into stunning visuals with intuitive parameters
  • Seamless Integration — Works natively with AI assistants via Model Context Protocol (MCP)
  • Complete Creative Control — Fine-tune every aspect from style and color to dimensions and format

🛠️ Tools

  • generate

The main tool for creating images with Gemini AI.

Inputs:

  • prompt (String): Your image description
  • parameters (Object, optional):
    • primary_color (String): Hex color code for the main color theme
    • style_descriptor (String): Visual style (e.g., "flat", "3D", "minimalist")
    • secondary_color (String, optional): Accent color
    • mood (String, optional): The emotional tone (e.g., "cheerful", "serious")
  • output_config (Object, optional):
    • format (String): Image format ("png", "jpeg")
    • width (Number): Image width in pixels
    • height (Number): Image height in pixels

Example:

{
  "name": "generate",
  "arguments": {
    "prompt": "A minimalist icon of a rocket ship",
    "parameters": {
      "primary_color": "#3498db",
      "style_descriptor": "flat"
    },
    "output_config": {
      "format": "png",
      "width": 256,
      "height": 256
    }
  }
}

Configuration

Getting an API Key

  1. Visit the Google AI Studio to generate your Gemini API key.
  2. Specify the location of your project's asset folder.

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

NPX

{
  "mcpServers": {
    "craft-it": {
      "command": "npx",
      "args": [
        "-y",
        "@kinetixarts/server-craft-it",
        "--stdio"
      ],
      "env": {
        "GEMINI_API_KEY": "your_gemini_api_key",
        "CRAFT_IT_IMAGE_PATH": "your_projects_asset_folder_location"
      }
    }
  }
}

Usage with VS Code

For quick installation, use the one-click installation buttons below...

Install with NPX in VS Code

For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON).

Optionally, you can add it to a file called .vscode/mcp.json in your workspace. This will allow you to share the configuration with others.

Note that the mcp key is not needed in the .vscode/mcp.json file.

NPX

{
  "mcp": {
    "inputs": [
      {
        "type": "promptString",
        "id": "gemini_api_key",
        "description": "Gemini API Key",
        "password": true
      }
    ],
    "servers": {
      "craft-it": {
        "command": "npx",
        "args": ["-y", "@kinetixarts/server-craft-it", "--stdio"],
        "env": {
          "GEMINI_API_KEY": "${input:gemini_api_key}",
          "CRAFT_IT_IMAGE_PATH": "your_projects_asset_folder_location"
        }
      }
    }
  }
}

📄 License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago