@tinify-ai/mcp-server
This server turns raw images into production-ready assets using AI-powered compression, resizing, upscaling, format conversion, and SEO metadata generation, along with tools for managing your GlassyPic account and credits.
Optimize Images
Smart Compression — Lossy compression with typically 60–80% file size reduction; accepts local absolute file paths or remote URLs (up to 50 MB)
Format Conversion — Convert between JPG, PNG, WebP, AVIF, GIF, SVG, and ICO; HEIC, TIFF, and BMP inputs are auto-converted
Resize & Crop — Proportional scaling or exact dimensions with white padding (
pad) or smart crop (crop)AI Upscaling — Upscale images 2× or 4× using Real-ESRGAN
SEO Metadata Generation — AI-generated alt text, keywords, and SEO-friendly filename slug (costs 1 extra credit, enabled by default)
Animated GIF Support — Process animated GIFs frame-by-frame; animation preserved when output is GIF; other formats keep only the first frame
SVG Optimization — Optimize SVGs via SVGO, trace raster images to vector SVG, or convert SVG to raster formats
ICO/Favicon Generation — Generate a full favicon set (16, 24, 32, 48, 256px) from any image
File Size Targeting — Attempt to meet a maximum output file size via additional compression
Account & Credit Management
login — Authenticate via browser (Google, Facebook, or email/magic link) to unlock higher credit limits
logout — Sign out and revert to guest mode (20 free credits/day)
status — Check current account tier, credits remaining, and reset time
upgrade — Open the GlassyPic pricing page to view Free (50/day), Pro (3,000/month), or Max (10,000/month) plans
Credit Costs: Each optimization costs 3 credits + 1 credit if SEO tag generation is enabled. Guest users get 20 free credits/day with no signup required.
Allows login via Facebook account to authenticate and access tinify.ai credits.
Allows login via Google account to authenticate and access tinify.ai credits.
Allows login via email/magic link (Magic authentication) to access tinify.ai credits.
Supports SVG as an input and output format, with vector optimization and raster-to-vector conversion.
Uses SVGO for SVG optimization when processing SVG files.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@tinify-ai/mcp-serverOptimize /Users/me/photo.jpg with SEO metadata"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@glassypic/mcp-server
MCP server for GlassyPic. One tool that turns raw images into production-ready assets. Support upscaling, resizing/cropping, compression, file format conversion, and SEO filename & alt text generation. Just describe the outcome you want in natrual language.
Quick Start
Add to your MCP client config:
{
"mcpServers": {
"glassypic": {
"command": "npx",
"args": ["-y", "@glassypic/mcp-server@latest"]
}
}
}No signup required. Works out of the box with 20 free daily credits.
Windows users: If the server doesn't appear after editing a JSON config, your client likely can't resolve
npxfrom PATH (a common, silent failure). Wrap the command withcmd /c:{ "mcpServers": { "glassypic": { "command": "cmd", "args": ["/c", "npx", "-y", "@glassypic/mcp-server@latest"] } } }This applies to the hand-edited JSON configs below (Claude Desktop, Cursor, Windsurf, Cline). The CLI commands (Claude Code, Gemini CLI, Codex CLI) are unaffected.
Client-Specific Setup
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"glassypic": {
"command": "npx",
"args": ["-y", "@glassypic/mcp-server@latest"]
}
}
}claude mcp add glassypic -- npx -y @glassypic/mcp-server@latestAdd to .cursor/mcp.json in your project root:
{
"mcpServers": {
"glassypic": {
"command": "npx",
"args": ["-y", "@glassypic/mcp-server@latest"]
}
}
}Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"glassypic": {
"command": "npx",
"args": ["-y", "@glassypic/mcp-server@latest"]
}
}
}Open Cline settings → MCP Servers → Add, then paste:
{
"mcpServers": {
"glassypic": {
"command": "npx",
"args": ["-y", "@glassypic/mcp-server@latest"]
}
}
}gemini mcp add --transport stdio glassypic npx -y @glassypic/mcp-server@latestOr edit ~/.gemini/settings.json (global) or .gemini/settings.json in your project root:
{
"mcpServers": {
"glassypic": {
"command": "npx",
"args": ["-y", "@glassypic/mcp-server@latest"]
}
}
}Verify it's running inside Gemini CLI with /mcp list.
codex mcp add glassypic -- npx -y @glassypic/mcp-server@latestOr edit ~/.codex/config.toml manually:
[mcp_servers.glassypic]
command = "npx"
args = ["-y", "@glassypic/mcp-server@latest"]Related MCP server: pruna-mcp-server
Tool: optimize_image
One tool that turns raw images into production-ready assets using AI-powered algorithm and multi-step agents (typically 60-80% size reduction), with optional resize, upscale, format conversion, and SEO metadata generation. Supports JPEG, PNG, WebP, HEIC, GIF, AVIF, TIFF, and BMP. Accepts absolute local file paths or remote URLs.
Parameters
Parameter | Type | Required | Default | Description |
| string | Yes | — | Absolute local file path or remote URL |
| string | No | auto | File path or directory (ending in |
| string | No | original |
|
| int | No | — | Target width in pixels |
| int | No | — | Target height in pixels |
| int | No | — | AI upscale factor: |
| string | No | pad |
|
| bool | No | true | Generate SEO metadata and rename file to SEO slug. Costs 1 extra credit |
| int | No | — | Target maximum output file size in bytes. Server attempts to meet this via additional compression. Not guaranteed |
| int | No | 100 | Max frames to process for animated GIFs (1–100). Reduces credit cost by sampling fewer frames |
| bool | No | — | Set to |
Resize Behavior
Dimensions provided | Behavior |
|
Width only | Proportional scale | N/A |
Height only | Proportional scale | N/A |
Width + Height | Exact dimensions, white padding |
|
Width + Height | Exact dimensions, smart crop |
|
Examples
Basic compression — just compress, keep format and dimensions:
{ "input": "/Users/me/photos/hero.png" }Convert to WebP:
{ "input": "/Users/me/hero.png", "output_format": "webp" }Resize proportionally — set one dimension, the other scales:
{ "input": "/Users/me/hero.png", "output_width_px": 1200 }Exact dimensions with padding — white bars fill the gap:
{ "input": "/Users/me/hero.png", "output_width_px": 1080, "output_height_px": 1080 }Exact dimensions with smart crop:
{ "input": "/Users/me/hero.png", "output_width_px": 1080, "output_height_px": 1080, "output_resize_behavior": "crop" }AI upscale 4x:
{ "input": "/Users/me/icon.png", "output_upscale_factor": 4 }From URL, save to directory:
{ "input": "https://example.com/photo.jpg", "output_path": "/Users/me/assets/" }Skip SEO to save 1 credit:
{ "input": "/Users/me/hero.png", "output_seo_tag_gen": false }Output
Returns a text summary and structured metadata:
Optimized: /Users/me/photos/modern-office-workspace.webp
Size: 142.3 KB
Compression: 73%
Format: webp
Dimensions: 1920x1080
Alt text: Modern office workspace with laptop and coffee cup on wooden deskStructured output fields:
{
"output_path": "/Users/me/photos/modern-office-workspace.webp",
"output_size_bytes": 145715,
"output_width_px": 1920,
"output_height_px": 1080,
"output_format": "webp",
"compression_ratio": 0.27,
"seo_alt_text": "Modern office workspace with laptop and coffee cup on wooden desk",
"seo_keywords": ["office", "workspace", "laptop", "desk", "modern"],
"seo_filename": "modern-office-workspace"
}Supported Formats
Format | Input | Output | Notes |
JPG | Yes | Yes | |
PNG | Yes | Yes | |
WebP | Yes | Yes | |
AVIF | Yes | Yes | |
GIF | Yes | Yes | Animated GIFs preserved when output is GIF |
SVG | Yes | Yes | SVG→SVG optimized via SVGO; raster↔SVG conversion supported |
ICO | Yes | Yes | Smart rebuild: generates 16, 24, 32, 48, 256px favicon set |
HEIC/HEIF | Yes* | No | Auto-converted to JPG at upload |
TIFF | Yes* | No | Auto-converted to JPG at upload |
BMP | Yes* | No | Auto-converted to JPG at upload |
GlassyPic supports high-quality conversion between any input and output format combination. Converting an animated GIF to a non-GIF format (JPG, PNG, WebP, AVIF) preserves only the first frame. Converting an animated GIF to a GIF format supports upscaling/resizing while preserving the animation and quality. You may also reduce animated GIF file size by decreasing the number of output frames.
Max upload file size: 50 MB.
SVG & ICO Examples
# Optimize an SVG file (keeps as vector)
Optimize logo.svg and keep it as SVG
# Convert SVG to raster
Convert icon.svg to a 512x512 PNG
# Trace raster to vector SVG
Convert my logo.png to a vector SVG
# Generate favicon set from any image
Convert logo.png to an ICO favicon
# Generate single-size ICO
Convert logo.png to a 32x32 ICO
# Extract largest icon from ICO
Convert favicon.ico to PNGHow It Works
Local file or URL
→ Upload to GlassyPic API
→ Smart compression (lossy, typically 60-80% reduction)
→ AI SEO tag generation (alt text, keywords, filename)
→ Optional: resize, upscale, format conversion
→ Download optimized file
→ Save with SEO filename slug (or .glassypic suffix if SEO disabled)All processing happens server-side via the GlassyPic API. The MCP server is a thin client that orchestrates the pipeline.
Credits
Guest | Free | Pro | Max | |
Credits/day or month | 20/day | 50/day | 3,000/month | 10,000/month |
Images/day (default settings) | ~5 | ~12 | ~750 | ~2,500 |
Cost per image | 3 credits + 1 SEO | same | same | same |
Signup required | No | Free signup | Paid | Paid |
Session data is stored locally at ~/.glassypic/session.json and persists across invocations.
Account & Credits
Log in to unlock more credits and share them across the web app and MCP server:
Use the login tool to sign in.
Use the status tool to check your current credits.
Use the upgrade tool to open the pricing page.
Use the logout tool to sign out.login
Opens a browser window to complete login (Google, Facebook, or email/magic link). After approval, your account is linked and credits are shared with the web app.
Login complete: user@example.com (Pro tier, 2,850 of 3,000 credits remaining)status
Check your current account status and credits before batch processing:
Logged in as user@example.com (Pro tier)
Credits: 2,850 of 3,000 remaining
Resets: 03/01/2026, 12:00 AM PSTlogout
Revokes the session and reverts to guest mode (20 credits/day).
upgrade
Opens glassypic.com/pricing in your browser.
Tips for AI Agents
Paste this into your CLAUDE.md or system prompt to help agents use the tool effectively:
## GlassyPic MCP
Tools: optimize_image, login, logout, status, upgrade
- Use status to check credits before batch processing
- Each optimize_image call costs 3 credits + 1 if SEO enabled (default)
- Guest: 20 credits/day. Free account: 50/day. Pro: 3,000/month.
- Always use absolute file paths, not relative.
- Set only width OR height for proportional resize. Set both for exact dimensions.
- When both dimensions are set, use output_resize_behavior: "crop" for photos, "pad" for logos/icons.
- output_seo_tag_gen (default true) renames the file to an SEO slug and generates alt text + keywords.
- Set output_seo_tag_gen: false to save 1 credit when SEO metadata is not needed.
- GIF is supported for both input and output; animated GIFs stay animated when output_format is "gif".
- Converting an animated GIF to jpg/png/webp/avif preserves only the first frame.
- HEIC, TIFF, BMP inputs are auto-converted to JPG.
- For batch processing, call optimize_image once per file.
- If credits run out, use login to sign in or upgrade to open pricing.Troubleshooting
Server not appearing in tool list:
Restart your MCP client after editing the config
Ensure Node.js >= 18 is installed:
node --versionTry running directly:
npx -y @glassypic/mcp-server@latest(should start without errors)On Windows: if the server silently never loads, wrap the command with
cmd /c("command": "cmd","args": ["/c", "npx", "-y", "@glassypic/mcp-server@latest"]) — see the Windows note under Quick Start
"Insufficient credits" error:
Use the
statustool to check remaining creditsUse the
logintool to sign in for more credits (free accounts get 50/day)Use the
upgradetool to see paid plans (Pro: 3,000/month, Max: 10,000/month)Disable SEO tags (
output_seo_tag_gen: false) to reduce cost to 3 credits/image
Login browser window doesn't open:
Open this URL manually:
https://glassypic.com/mcp/authorizeand enter the code shown in the terminalEnsure a browser is installed and accessible
Session token issues:
Session data is stored at
~/.glassypic/session.jsonDelete this file to reset and start fresh
Use
logoutthenloginto re-authenticate
File not found:
Use absolute paths for local files
For URLs, ensure the image is publicly accessible
Timeout errors:
Large images or AI upscaling can take 30-60 seconds
The server has a 60-second timeout per job
Requirements
Node.js >= 18
An MCP-compatible client (Claude Desktop, Claude Code, Cursor, Windsurf, Cline, OpenAI Codex CLI, Gemini CLI, etc.)
License
MIT - see LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-qualityCmaintenanceA lightweight MCP server for image processing and cloud uploads that automates resizing, converting, optimizing, and uploading images to services like AWS S3, Cloudflare R2, and Google Cloud Storage.Last updated5018MIT
- AlicenseAqualityBmaintenanceMCP server for Pruna AI — ultra-fast image generation, editing, upscaling, and video generation directly from your AI assistant.Last updated82MIT
- Alicense-qualityCmaintenanceMCP server for image optimization, conversion, AI generation, and gallery management via SnapiX API.Last updated39MIT
- Alicense-qualityAmaintenanceMCP server for generating, editing, and processing images via multiple providers including Kilo, OpenRouter, OpenAI, and Gemini, with local tools for background removal, resizing, and cropping.Last updated542MIT
Related MCP Connectors
MCP server for Midjourney AI image generation and editing
MCP server for Wan AI video generation
MCP server for NanoBanana AI image generation and editing
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/onepunchtechnology/glassypic-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server