img.fish Provider

Provider name: imgfish

What It Does #

The imgfish provider uploads an image to img.fish and returns the public file URL.

It is an uploader, not an image generator.

Typical Use Case #

Use imgfish when you want util_generate_image to:

  • generate an image with a provider such as Alibaba
  • then reupload the result to a simpler public image host
  • return an img.fish URL to the Discord MCP client

Important Limitation #

imgfish is intentionally treated as image-only.

That means it is suitable for:

  • PNG
  • JPEG
  • GIF
  • WebP

It can also handle other image MIME types, but not generic file uploads.

What It Usually Needs #

The Discord MCP requires an API key before this provider is considered usable.

Even if the upstream service can accept anonymous uploads, the Discord MCP intentionally does not allow that mode. This keeps usage attributable and easier to debug.

If the API key is missing, tools that depend on imgfish stay hidden or are blocked.

What You Can Configure #

Provider fields:

  • api_key (required)
  • length (optional, integer from 10 to 32, default 10)

Provider selection settings that can point to imgfish:

  • image_uploader
  • default_image_uploader
  • uploader
  • default_uploader

Practical meaning:

  • use image_uploader / default_image_uploader when you want imgfish to be used specifically for generated images
  • use uploader / default_uploader when you want it to act as the generic upload fallback instead

If api_key is missing, the provider is treated as unusable even if one of those selector settings points to imgfish.

length controls the size of the random code used by img.fish. Larger values make the generated path less guessable, but the practical default of 10 is usually enough.

Filename Behavior #

Unlike the Discord uploader, imgfish does not normalize filenames by default.

If no explicit filename is provided, the Discord MCP falls back to a simple generic filename unless a caller explicitly asks for normalization.

For generated images, this is usually fine because the returned URL is the main thing that matters.

Related Tools #

Related Settings #

  • api_key
  • length
  • image_uploader
  • default_image_uploader
  • uploader
  • default_uploader