Skip to main content

MCP server wrapping the Imagcon PWA icon generator API

Project description

imagcon-mcp

Python MCP server that wraps the Imagcon API so assistants can generate PWA icon sets (many sizes, maskable assets, and manifest.json) without opening the site.

Requirements

Install and run locally

pip install .
imagcon-mcp
# or
python -m imagcon_mcp

Set IMAGCON_API_KEY or pass --api-key (see below).

Claude Code / Cursor (uvx)

With the key in the environment:

claude mcp add imagcon -- uvx imagcon-mcp

Or pass the key on the command line:

claude mcp add imagcon -- uvx imagcon-mcp --api-key ic_live_...

Ensure IMAGCON_API_KEY is set in the MCP process environment if you do not use --api-key.

Tools

  • generate_pwa_icons — Full flow: generate source image, resize to all PWA sizes, save the set, download the ZIP, extract to output_dir (default ./public/icons).
  • get_credit_balance — Returns remaining Imagcon credits.

Each successful generate_pwa_icons run uses credits on your Imagcon account.

Configuration

Source Variable / flag
Environment IMAGCON_API_KEY
CLI --api-key (overrides the env var)

If the key is missing, the process exits with an error pointing to imagcon.app/api-keys.

API base URL

All requests go to https://imagcon.app (no other base URL is supported).

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

imagcon_mcp-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

imagcon_mcp-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file imagcon_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: imagcon_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for imagcon_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a7807289d6dca145945688ac5fe21698ead9390ba2ebe01f2c85d49dba6b6235
MD5 c8646b5b341391df7a5db866bb7daab2
BLAKE2b-256 9fdfb4545ba4d97de93e7a0efa7a7c690e19961a59169a5831e59188c948fd4b

See more details on using hashes here.

File details

Details for the file imagcon_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: imagcon_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for imagcon_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 662ae40e8822a705942c79056c82ae865c3cb7fff4d27b6f48a56c1d32c3d840
MD5 45fecd5d017817013eb7910362e89a82
BLAKE2b-256 dbd6a3228749ada7f867d5cc16ed82be2c8fbfadbae86aee004315cfc4e00ddd

See more details on using hashes here.

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