Skip to main content

MCP server for uploading images to ImgBB

Project description

flin-imgbb-mcp

MCP server for uploading images to ImgBB from Claude-compatible clients.

Quick Start

The recommended setup uses uvx — no repository clone or virtual environment required.

Add this to your Claude MCP configuration:

{
  "mcpServers": {
    "imgbb": {
      "command": "uvx",
      "args": ["flin-imgbb-mcp@latest"],
      "env": {
        "IMGBB_API_KEY": "your-imgbb-api-key"
      }
    }
  }
}

Get your API key at api.imgbb.com.

Tools

upload_image

Upload a single image file to ImgBB and get its public URL.

Parameter Type Required Description
file_path string yes Absolute or relative path to the image file
name string no Optional name for the image on ImgBB
expiration number no Expiration in seconds (60–15552000)

Returns: url, display_url, delete_url, title

list_images

List all image files in a local folder (png, jpg, jpeg, gif, webp, bmp).

Parameter Type Required Description
folder_path string yes Absolute path to the folder

upload_all_images

Upload all images from a local folder to ImgBB.

Parameter Type Required Description
folder_path string yes Absolute path to the folder
expiration number no Expiration in seconds (60–15552000) for all images

Configuration

Environment Variable Required Description
IMGBB_API_KEY yes Your ImgBB API key

Troubleshooting

Server does not start / "IMGBB_API_KEY is not set" Make sure IMGBB_API_KEY is set in the env block of your MCP configuration. The server checks for it at startup and will exit with a clear error if it is missing.

Upload fails with HTTP 400 The file path must point to a valid image file. Supported formats: png, jpg, jpeg, gif, webp, bmp.

uvx command not found Install uv from docs.astral.sh/uv.

Development

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install dependencies
uv sync --group dev

# Run tests
uv run pytest tests/ -v

# Lint
uv run ruff check src/ tests/

# Build distribution artifacts
uv build

Release

Releases are published to PyPI automatically when a version tag is pushed:

git tag v1.0.1
git push origin v1.0.1

The GitHub Actions release workflow builds the package and publishes it via PyPI Trusted Publishing.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flin_imgbb_mcp-1.0.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flin_imgbb_mcp-1.0.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file flin_imgbb_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: flin_imgbb_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for flin_imgbb_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6d5bc99094faeaaad78bdf92a035610871f2a3d55c143eaaff80f2023868eafc
MD5 f525b81b9282e403de7429e0ec6bbccd
BLAKE2b-256 dc8303c0b8f5885fdf6951ab3c34f1767161108301a7e1b2d7e0802322ab9362

See more details on using hashes here.

Provenance

The following attestation bundles were made for flin_imgbb_mcp-1.0.0.tar.gz:

Publisher: release.yml on flin-agency/flin-imgbb-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flin_imgbb_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: flin_imgbb_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for flin_imgbb_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6aca404d8051eab54b1ad602c4ec26cee4551fb112abdb8bfd6df50bada9a4b2
MD5 c9fbd13d1d1c83183a37bb9f4eef24ec
BLAKE2b-256 1df170e15797065c7eb9da5adeb078ff3506bfd100e10c05b6cece0d3d57c81f

See more details on using hashes here.

Provenance

The following attestation bundles were made for flin_imgbb_mcp-1.0.0-py3-none-any.whl:

Publisher: release.yml on flin-agency/flin-imgbb-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page