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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flin_imgbb_mcp-1.0.1.tar.gz.
File metadata
- Download URL: flin_imgbb_mcp-1.0.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bc4aa6129ff396d0ddc68fff085d4b8a3c83e346b3b9861e153d502ed223f01
|
|
| MD5 |
8b1665935d79cd1a196106e10116e25d
|
|
| BLAKE2b-256 |
2c0b7e7e4fd3b1c17f0c02b8f17215caee48e4b4982be7d882ed28b6511c53a4
|
Provenance
The following attestation bundles were made for flin_imgbb_mcp-1.0.1.tar.gz:
Publisher:
release.yml on flin-agency/flin-imgbb-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flin_imgbb_mcp-1.0.1.tar.gz -
Subject digest:
9bc4aa6129ff396d0ddc68fff085d4b8a3c83e346b3b9861e153d502ed223f01 - Sigstore transparency entry: 1190748263
- Sigstore integration time:
-
Permalink:
flin-agency/flin-imgbb-mcp@bb9961d4ee3a88154ea835e2ddb1a01d2278fb2a -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/flin-agency
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bb9961d4ee3a88154ea835e2ddb1a01d2278fb2a -
Trigger Event:
push
-
Statement type:
File details
Details for the file flin_imgbb_mcp-1.0.1-py3-none-any.whl.
File metadata
- Download URL: flin_imgbb_mcp-1.0.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea4a2e98b3ebcbbef3b03a19b5c5cf2228fd3e7bad3f7770215982f2c3f16b20
|
|
| MD5 |
47015a5b22fb0e6cba7ae8f179fbcc33
|
|
| BLAKE2b-256 |
14d5007cf458f3607fb037347bf665cd897382570701580a1d6d577ee76b43a9
|
Provenance
The following attestation bundles were made for flin_imgbb_mcp-1.0.1-py3-none-any.whl:
Publisher:
release.yml on flin-agency/flin-imgbb-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flin_imgbb_mcp-1.0.1-py3-none-any.whl -
Subject digest:
ea4a2e98b3ebcbbef3b03a19b5c5cf2228fd3e7bad3f7770215982f2c3f16b20 - Sigstore transparency entry: 1190748267
- Sigstore integration time:
-
Permalink:
flin-agency/flin-imgbb-mcp@bb9961d4ee3a88154ea835e2ddb1a01d2278fb2a -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/flin-agency
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bb9961d4ee3a88154ea835e2ddb1a01d2278fb2a -
Trigger Event:
push
-
Statement type: