Skip to content
Grok

imgcli for Grok

io.github.swperb/imgcli

Convert, resize, crop, filter & composite images via the imgcli CLI (lightweight, no deps)

client:Grok transport:stdio runtime:npm

Install imgcli in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "imgcli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "imgcli-mcp"
      ],
      "env": {
        "IMGCLI_BIN": "<IMGCLI_BIN>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

imgcli in other clients