MCP Hub
Back to servers

imagekit-mcp-server

MCP server for ImageKit.io — upload, search, transform, and manage media assets

Updated
Feb 21, 2026

Quick Install

npx -y imagekit-mcp-server

ImageKit MCP Server

A Model Context Protocol (MCP) server for ImageKit.io that lets AI assistants upload, search, transform, and manage media assets in your ImageKit media library.

Quick Start

npx imagekit-mcp-server

Requires three environment variables:

IMAGEKIT_PUBLIC_KEY=public_xxx
IMAGEKIT_PRIVATE_KEY=private_xxx
IMAGEKIT_URL_ENDPOINT=https://ik.imagekit.io/your_id

Get your credentials from the ImageKit Dashboard.

MCP Client Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "imagekit": {
      "command": "npx",
      "args": ["-y", "imagekit-mcp-server"],
      "env": {
        "IMAGEKIT_PUBLIC_KEY": "public_xxx",
        "IMAGEKIT_PRIVATE_KEY": "private_xxx",
        "IMAGEKIT_URL_ENDPOINT": "https://ik.imagekit.io/your_id"
      }
    }
  }
}

Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "imagekit": {
      "command": "npx",
      "args": ["-y", "imagekit-mcp-server"],
      "env": {
        "IMAGEKIT_PUBLIC_KEY": "public_xxx",
        "IMAGEKIT_PRIVATE_KEY": "private_xxx",
        "IMAGEKIT_URL_ENDPOINT": "https://ik.imagekit.io/your_id"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "imagekit": {
      "command": "npx",
      "args": ["-y", "imagekit-mcp-server"],
      "env": {
        "IMAGEKIT_PUBLIC_KEY": "public_xxx",
        "IMAGEKIT_PRIVATE_KEY": "private_xxx",
        "IMAGEKIT_URL_ENDPOINT": "https://ik.imagekit.io/your_id"
      }
    }
  }
}

Tools

ToolDescription
list_filesList and search files with filters (path, type, search query, pagination, sort)
list_foldersList folders at a given path
get_file_detailsGet full metadata for a file (dimensions, tags, URLs, dates)
upload_fileUpload a local file
upload_file_from_urlUpload from a remote URL
upload_base64_fileUpload from base64 data
delete_fileDelete a file by ID
create_folderCreate a new folder
delete_folderDelete a folder
move_fileMove a file to a different folder
generate_urlGenerate URLs with transformations (resize, crop, format, signed URLs)

Examples

Ask your AI assistant:

  • "List all images in the /products/ folder"
  • "Upload this screenshot to /screenshots/2026/"
  • "Generate a 300x300 thumbnail for /hero-banner.jpg"
  • "Search for files named 'logo'"
  • "Move /old-folder/image.jpg to /new-folder/"
  • "Delete the file with ID abc123"

Development

git clone https://github.com/aiconnai/imagekit-mcp-server.git
cd imagekit-mcp-server
npm install

# Set credentials
export IMAGEKIT_PUBLIC_KEY=public_xxx
export IMAGEKIT_PRIVATE_KEY=private_xxx
export IMAGEKIT_URL_ENDPOINT=https://ik.imagekit.io/your_id

# Run
node index.js

License

MIT

Reviews

No reviews yet

Sign in to write a review