Unified MCP server for graphics manipulation with multiple backends
Project description
graphics-mcp
Unified MCP server for graphics manipulation with multiple backends.
Installation
uv pip install -e .
Usage
# Stdio mode (default)
graphics-mcp serve
# HTTP mode
graphics-mcp serve --http --port 3040
# With custom allowed directories
graphics-mcp serve --allowed-dir /path/to/images
Tools
get_image_info- Get image metadataconvert_image- Convert between formatsresize_image- Resize with multiple modescrop_image- Crop to boundariesapply_filter- Apply effects (blur, sharpen, grayscale, etc.)rotate_image- Rotate by degreesflip_image- Flip horizontally/verticallycreate_thumbnail- Generate thumbnails
Configuration
Set via environment variables with GRAPHICS_ prefix:
GRAPHICS_ALLOWED_DIRECTORIES- Comma-separated list of allowed pathsGRAPHICS_MAX_FILE_SIZE_MB- Maximum file size (default: 100)
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
graphics_mcp-0.1.2.tar.gz
(244.7 kB
view details)
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 graphics_mcp-0.1.2.tar.gz.
File metadata
- Download URL: graphics_mcp-0.1.2.tar.gz
- Upload date:
- Size: 244.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
021f13098434693b955ac460a84bb59a1efc9c8a887750d09839c60c7b2e09f9
|
|
| MD5 |
2166962f0e0234bb0fc857629045adea
|
|
| BLAKE2b-256 |
b4a296433373fa95bf40ea44e04756903cd020ad4669a1111607c72d664d2fc8
|
File details
Details for the file graphics_mcp-0.1.2-py3-none-any.whl.
File metadata
- Download URL: graphics_mcp-0.1.2-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1de367d61caa4b56111360c43b6d8e381133b9a8c009bb632c1989098812873
|
|
| MD5 |
eb2bc4d98137242d2984a0e596d5ed77
|
|
| BLAKE2b-256 |
d09728b51217a4fa9880dd21733b3c181cfbee3d4afb6ac545085f5494852980
|