← Back to search

@apresai/gimage-mcp

GitHub Actions Scanned 25d ago

MCP server for AI-powered image generation and processing with gimage

npm
? Not scanned yet

Versions

1.2.150latest
Jul 11, 2026
1.2.147
Jul 1, 2026
1.2.143
Jun 26, 2026
1.2.141
Jun 21, 2026
1.2.139
Jun 21, 2026
+ show 31 moreshow less
1.2.137
Jun 21, 2026
1.2.135
Jun 21, 2026
1.2.133
Jun 20, 2026
1.2.131
May 23, 2026
1.2.129
May 23, 2026
1.2.127
May 17, 2026
1.2.122
Apr 13, 2026
1.2.120
Apr 13, 2026
1.2.119
Apr 12, 2026
1.2.115
Feb 13, 2026
1.2.113
Feb 6, 2026
1.2.111
Jan 26, 2026
1.2.109
Jan 26, 2026
1.2.99
Dec 28, 2025
1.2.93
Dec 28, 2025
1.2.92
Dec 28, 2025
1.2.91
Dec 7, 2025
1.2.88
Dec 7, 2025
1.2.83
Nov 23, 2025
1.2.80
Nov 23, 2025
1.2.65
Nov 15, 2025
1.2.64
Nov 15, 2025
1.2.63
Nov 6, 2025
1.2.61
Nov 6, 2025
1.1.52
Nov 5, 2025
1.1.50
Nov 5, 2025
1.1.43
Nov 3, 2025
1.1.40
Nov 3, 2025
1.1.36
Nov 3, 2025
1.1.33
Nov 2, 2025
1.1.27
Nov 2, 2025

Tools 10

generate_image
annotations: verified low

Generate AI images using multiple providers (Gemini, Vertex AI, xAI Grok). Call list_models first to see available providers with pricing and capability flags. Quick start: generate_image(prompt='sunset', output='~/Desktop/sunset.png') uses the default Gemini provider. The 'count' parameter requests multiple images (Grok returns N exactly; the Gemini family is best-effort), saved as image_1.png, image_2.png, etc. Styles, seeds, image_size, and other options depend on provider capabilities; options the chosen provider does not support are reported in the response 'warning' field and ignored. IMPORTANT: Always specify output path (e.g., ~/Desktop/image.png).

readOnlyHint false idempotentHint false destructiveHint false
resize_image
annotations: none low

Resize an image to specific dimensions using high-quality Lanczos resampling. Supports three modes: 'crop' (default) preserves aspect ratio by filling the target size and cropping excess, 'fit' preserves aspect ratio by fitting within target bounds (may be smaller), 'stretch' forces exact dimensions (may distort). Use 'crop' for thumbnails/avatars, 'fit' for constrained display, 'stretch' for exact sizing.

crop_image
annotations: none low

Crop an image to a specific rectangular region. Specify coordinates and dimensions to extract. Example: crop_image(input='photo.png', x=0, y=100, width=800, height=600, output='cropped.png') extracts an 800x600 region starting at position (0,100). IMPORTANT: All parameters (x, y, width, height) are positional integers, not flags. Coordinates start at (0,0) in the top-left corner. Useful for creating hero images, removing borders, or focusing on specific areas. TIP: Use get_image_info first to check actual image dimensions before cropping.

compress_image
annotations: none low

Compress an image to reduce file size while maintaining visual quality. Quality ranges from 1 (lowest quality, smallest file) to 100 (highest quality, largest file). Default is 90 which provides excellent quality with good compression. Most effective on JPEG images. PNG images are compressed losslessly.

list_models
annotations: none low

List all available AI image generation providers with pricing, capabilities, and authentication status. Use this FIRST to discover: which providers are configured and ready to use, current per-image pricing, native image-size support, and which credentials are missing. Returns provider IDs (e.g., 'gemini/pro-3', 'vertex/flash-3.1'), pricing, capability flags, and availability status. RECOMMENDED: Call this before generate_image to choose the best provider for your needs.

scale_image
annotations: none low

Scale an image by a factor while preserving aspect ratio. Use this when you want to make an image larger or smaller proportionally. For example, factor 0.5 makes image half size, factor 2.0 makes it double size. Uses high-quality Lanczos resampling.

batch_resize
annotations: none low

Resize multiple images in a directory concurrently. Processes all image files (PNG, JPG, WebP, GIF, TIFF, BMP) in the input directory and saves resized versions to the output directory. Uses parallel workers for fast processing of large batches. Supports three modes: 'crop' (default) preserves aspect ratio by filling and cropping, 'fit' preserves aspect ratio by fitting within bounds, 'stretch' forces exact dimensions.

batch_compress
annotations: verified low

Compress multiple images in a directory concurrently to reduce file sizes. Processes all image files with specified quality setting. Reports total space saved across all images. Uses parallel workers for efficient processing.

readOnlyHint false idempotentHint true destructiveHint true
batch_convert
annotations: none low

Convert multiple images in a directory to a different format concurrently. Useful for converting entire directories to WebP for web optimization, or to PNG for lossless archival. Maintains original filenames with new extensions.

convert_image
annotations: none low

Convert an image between different formats (PNG, JPG/JPEG, WebP, GIF, TIFF, BMP). Useful for web optimization (converting to WebP), compatibility (PNG to JPG), or specific application requirements. Format detection is automatic based on file extension.

Permissions 4

network medium
Server uses network capabilities via: https
filesystem low
Server uses filesystem capabilities via: fs, fs sync ops, path
shell high
Server uses shell capabilities via: child_process, execSync(), spawn(), spawnSync()
env_vars low
Server uses env_vars capabilities via: process.env

Scan Findings 47

info
Tool 'generate_image' annotations are consistent annotation_checker · 80%
low
Tool 'resize_image' has no annotations annotation_checker · 100%
low
Tool 'crop_image' has no annotations annotation_checker · 100%
low
Tool 'compress_image' has no annotations annotation_checker · 100%
low
Tool 'list_models' has no annotations annotation_checker · 100%
low
Tool 'scale_image' has no annotations annotation_checker · 100%
low
Tool 'batch_resize' has no annotations annotation_checker · 100%
info
Tool 'batch_compress' annotations are consistent annotation_checker · 80%
low
Tool 'batch_convert' has no annotations annotation_checker · 100%
low
Tool 'convert_image' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Excessive dependency count: 156 direct dependencies dependency_analyzer · 90%
medium
Vulnerable dependency: github.com/disintegration/imaging@1.6.2 (GHSA-q7pp-wcgr-pffx) dependency_analyzer · 95%
medium
Vulnerable dependency: golang.org/x/image@0.44.0 (GO-2026-6222) dependency_analyzer · 95%
medium
Vulnerable dependency: golang.org/x/crypto@0.54.0 (GO-2026-5932) dependency_analyzer · 95%
medium
Vulnerable dependency: golang.org/x/crypto@0.54.0 (GO-2026-6303) dependency_analyzer · 95%
medium
Vulnerable dependency: golang.org/x/crypto@0.54.0 (GO-2026-6354) dependency_analyzer · 95%
medium
Vulnerable dependency: golang.org/x/crypto@0.54.0 (GO-2026-6355) dependency_analyzer · 95%
medium
Vulnerable dependency: google.golang.org/grpc@1.83.0 (GHSA-2v4p-qf9q-27wj) dependency_analyzer · 95%
medium
Vulnerable dependency: google.golang.org/grpc@1.83.0 (GHSA-qc2q-p7wx-3px3) dependency_analyzer · 95%
medium
Vulnerable dependency: google.golang.org/grpc@1.83.0 (GHSA-vp52-pcj8-j9qc) dependency_analyzer · 95%
medium
Vulnerable dependency: google.golang.org/grpc@1.83.0 (GO-2026-6348) dependency_analyzer · 95%
medium
Vulnerable dependency: google.golang.org/grpc@1.83.0 (GO-2026-6441) dependency_analyzer · 95%
medium
Vulnerable dependency: google.golang.org/grpc@1.83.0 (GO-2026-6443) dependency_analyzer · 95%
medium
Vulnerable dependency: golang.org/x/text@0.28.0 (GO-2026-5970) dependency_analyzer · 95%
medium
Vulnerable dependency: golang.org/x/text@0.14.0 (GO-2026-5970) dependency_analyzer · 95%
medium
High-entropy string (6.00 bits/char) in apresai-gimage-993bcf6/internal/lambdahandler/image_utils_test.go:85 entropy_analyzer · 54%
info
package.json metadata manifest_parser · 100%
info
Tool: generate_image manifest_parser · 85%
info
Tool: resize_image manifest_parser · 85%
info
Tool: crop_image manifest_parser · 85%
info
Tool: compress_image manifest_parser · 85%
info
Tool: list_models manifest_parser · 85%
info
Tool: scale_image manifest_parser · 85%
info
Tool: batch_resize manifest_parser · 85%
info
Tool: batch_compress manifest_parser · 85%
info
Tool: batch_convert manifest_parser · 85%
info
Tool: convert_image manifest_parser · 85%
info
Required env vars (17) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
medium
Permission: network access detected permission_analyzer · 80%
low
Permission: filesystem access detected permission_analyzer · 90%
high
Permission: shell access detected permission_analyzer · 95%
low
Permission: env_vars access detected permission_analyzer · 90%
critical
Tool poisoning in 'list_models': Cross-tool sequencing directive poisoning · 85%
info
SBOM generated: 136 components sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%