drio
Open app

Image Toolkit MCP Server

Source

Use AI to edit image (AI P图)

Catalog onlyCatalog onlySTDIO

Overview

Image Toolkit MCP Server is an AI-powered server that provides advanced capabilities for image generation, modification, and processing using various AI services and APIs.

To use the server, clone the repository, install the required dependencies, and run the server with your API keys configured in the settings.

  • Image Generation: Create images from text prompts using Google's Gemini models. - Image Modification: Transform existing images based on text instructions. - Background Removal: Remove backgrounds from images using the remove.bg API. - Image Hosting: Share generated images via FreeImage.host. - Resource Management: Track and manage generated and uploaded images.
  1. Generating creative images from textual descriptions.
  2. Modifying existing images to add or remove elements.
  3. Removing backgrounds for product images in e-commerce.

Add to your AI client

Use these steps to connect Image Toolkit MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "image-toolkit-mcp-server-kira-pgr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-image-toolkit-mcp-server-kira-pgr"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "image-toolkit-mcp-server-kira-pgr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-image-toolkit-mcp-server-kira-pgr"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "image-toolkit-mcp-server-kira-pgr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-image-toolkit-mcp-server-kira-pgr"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "image-toolkit-mcp-server-kira-pgr": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-image-toolkit-mcp-server-kira-pgr"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "image-toolkit-mcp-server-kira-pgr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-image-toolkit-mcp-server-kira-pgr"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "image-toolkit-mcp-server-kira-pgr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-image-toolkit-mcp-server-kira-pgr"
      ]
    }
  }
}

FAQ

What APIs are required to run the server?

You need API keys for Google Gemini, FreeImage.host, and remove.bg.

Is there a demo available?

Yes, you can see examples of image modifications in the documentation.

What programming language is used?

The server is built using Python.