Skip to main content

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 metadata
  • convert_image - Convert between formats
  • resize_image - Resize with multiple modes
  • crop_image - Crop to boundaries
  • apply_filter - Apply effects (blur, sharpen, grayscale, etc.)
  • rotate_image - Rotate by degrees
  • flip_image - Flip horizontally/vertically
  • create_thumbnail - Generate thumbnails

Configuration

Set via environment variables with GRAPHICS_ prefix:

  • GRAPHICS_ALLOWED_DIRECTORIES - Comma-separated list of allowed paths
  • GRAPHICS_MAX_FILE_SIZE_MB - Maximum file size (default: 100)

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

graphics_mcp-0.1.1.tar.gz (229.4 kB view details)

Uploaded Source

Built Distribution

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

graphics_mcp-0.1.1-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

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

Hashes for graphics_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 540938a93964fd4802980424105f50e89f09d5f1e2350c3e643148ebd137e9e2
MD5 8728d98a6b44369de59c95832229298c
BLAKE2b-256 bd8b40d1b207d03dbd724e3c6c737eb42710344c83bd62006b5a07a75dc92349

See more details on using hashes here.

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

Hashes for graphics_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff777c91bbcc706ddb08906ee6d3d024451625de085ab2143fcea5aef728a24e
MD5 31ca61a2ccb0ac58f8de269bb0045825
BLAKE2b-256 c4400a0a5332fcaa6e00407e7d1f9b3e8d5be260fae4abc770a99383915c9792

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