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.1.tar.gz
(229.4 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.1.tar.gz.
File metadata
- Download URL: graphics_mcp-0.1.1.tar.gz
- Upload date:
- Size: 229.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","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 |
540938a93964fd4802980424105f50e89f09d5f1e2350c3e643148ebd137e9e2
|
|
| MD5 |
8728d98a6b44369de59c95832229298c
|
|
| BLAKE2b-256 |
bd8b40d1b207d03dbd724e3c6c737eb42710344c83bd62006b5a07a75dc92349
|
File details
Details for the file graphics_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: graphics_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","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 |
ff777c91bbcc706ddb08906ee6d3d024451625de085ab2143fcea5aef728a24e
|
|
| MD5 |
31ca61a2ccb0ac58f8de269bb0045825
|
|
| BLAKE2b-256 |
c4400a0a5332fcaa6e00407e7d1f9b3e8d5be260fae4abc770a99383915c9792
|