A Model Context Protocol (MCP) service for converting PNG files to ICO files with customizable icon dimensions
Project description
icogen-mcp
A Model Context Protocol (MCP) service that enables AI assistants and other tools to convert PNG image files to Windows ICO icon files. The service provides a standardized interface for generating multi-resolution ICO files from PNG sources with customizable icon dimensions.
Features
- Convert PNG files to multi-size ICO files with a single tool call
- Support for custom icon dimensions (defaults to 16x16, 32x32, 48x48, 64x64)
- Flexible output options - save to file or return binary data
- Built on the FastMCP framework for reliable MCP compliance
- Designed specifically for integration with AI assistants and automated workflows
- Utilizes Pillow for high-quality image processing
Installation
pip install icogen-mcp
Usage
This service is designed to work with MCP-compatible clients. Once integrated, you can use the convert_png_to_ico tool to convert PNG files to ICO format with customizable dimensions.
Use Cases
- Icon generation for desktop applications
- Automated asset conversion in build pipelines
- AI-assisted graphic design workflows
- Integration with development tools and IDEs
Dependencies
- Pillow: For image processing
- fastmcp: For MCP protocol implementation
- pydantic: For data validation
Architecture
The service implements the Model Context Protocol specification and provides a single primary function:
convert_png_to_ico: Converts a PNG file to an ICO file with customizable dimensions
The service leverages the Pillow library for high-quality image resizing and ICO format generation, supporting multiple resolutions within a single ICO file.
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
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 icogen_mcp-0.1.1.tar.gz.
File metadata
- Download URL: icogen_mcp-0.1.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2190c35788bae9eecd1da5f24b78cec2a6f24eb1e018ba8b8d8444c65b11a50d
|
|
| MD5 |
b186f869335558ec6610a5c4c71cd43c
|
|
| BLAKE2b-256 |
e424daf22eb1d70cc31aebfaafb4468dbda882c0bb95611293121f657c1efe48
|
File details
Details for the file icogen_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: icogen_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d6da93055960fa0217cae2d8adb86db38000bed13b48c494e8a1db588262165
|
|
| MD5 |
4dfb2c78c947ddc1b11aea060bbe7051
|
|
| BLAKE2b-256 |
c0adb9f6660b4b51f035b84bff6e096ec861b161529f865b4267634fb23b4e6f
|