Skip to main content

Unified MCP server for graphics manipulation with multiple backends

Project description

graphics-mcp

Code style: crackerjack Runtime: oneiric Framework: FastMCP uv Python: 3.13+

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.2.tar.gz (244.7 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.2-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

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

Hashes for graphics_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 021f13098434693b955ac460a84bb59a1efc9c8a887750d09839c60c7b2e09f9
MD5 2166962f0e0234bb0fc857629045adea
BLAKE2b-256 b4a296433373fa95bf40ea44e04756903cd020ad4669a1111607c72d664d2fc8

See more details on using hashes here.

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

Hashes for graphics_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e1de367d61caa4b56111360c43b6d8e381133b9a8c009bb632c1989098812873
MD5 eb2bc4d98137242d2984a0e596d5ed77
BLAKE2b-256 d09728b51217a4fa9880dd21733b3c181cfbee3d4afb6ac545085f5494852980

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