image-tools
Image Tools MCP is a Model Context Protocol (MCP) service that retrieves image dimensions and compresses images from URLs and local files using the TinyPNG API. It supports converting images to formats like webp, jpeg/jpg, and png, providing detailed
What is image-tools?
image-tools is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to image tools mcp is a model context protocol (mcp) service that retrieves image dimensions and compresses images from urls and local files using the tinypng api. it supports converting images to format...
Image Tools MCP is a Model Context Protocol (MCP) service that retrieves image dimensions and compresses images from URLs and local files using the TinyPNG API. It supports converting images to formats like webp, jpeg/jpg, and png, providing detailed
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Image Tools MCP is a Model Context Protocol (MCP) service th
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx image-toolsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use image-tools
image-tools-mcp is a Model Context Protocol server that provides image dimension retrieval and compression capabilities for both URLs and local files. It integrates with the TinyPNG API for lossy compression and format conversion (WebP, JPEG, PNG), and also supports fetching and compressing images from Figma via the Figma API. Basic dimension tools work without any API keys.
Prerequisites
- Node.js 16+ and npx available on your system
- A TinyPNG API key from https://tinypng.com/developers (required for compression tools)
- A Figma API token from https://www.figma.com/developers (required for Figma tool only)
- Claude Desktop or another MCP-compatible client
Obtain a TinyPNG API key
Register for a free TinyPNG developer account at https://tinypng.com/developers. The free tier allows 500 compressions per month. Copy your API key from the dashboard.
# Visit: https://tinypng.com/developers
# Sign up and copy your API key from the dashboardTest the server directly with npx
Run the MCP server directly to confirm it starts correctly before integrating it into your client config.
npx image-tools-mcpAdd to Claude Desktop configuration
Edit your Claude Desktop config file to register the image-tools-mcp server with your API keys as environment variables.
{
"mcpServers": {
"image-tools": {
"command": "npx",
"args": ["image-tools-mcp"],
"env": {
"TINIFY_API_KEY": "your-tinypng-api-key",
"FIGMA_API_TOKEN": "your-figma-api-token"
}
}
}
}Restart Claude Desktop
Close and reopen Claude Desktop to load the new MCP server configuration. The image-tools server will appear in the connected tools list.
# macOS: Cmd+Q to quit Claude Desktop, then reopen
# Windows: Right-click system tray icon → Quit, then reopen
# Config file location (macOS):
# ~/Library/Application Support/Claude/claude_desktop_config.jsonVerify tools are available
In Claude Desktop, start a new conversation and ask Claude to list available image tools. You should see get_image_size, compress_image_from_url, and related tools.
# Ask Claude:
# "What image tools do you have available?"image-tools Examples
Client configuration
Claude Desktop claude_desktop_config.json entry for image-tools-mcp with both TinyPNG and Figma API keys.
{
"mcpServers": {
"image-tools": {
"command": "npx",
"args": ["image-tools-mcp"],
"env": {
"TINIFY_API_KEY": "your-tinypng-api-key-here",
"FIGMA_API_TOKEN": "your-figma-api-token-here"
}
}
}
}Prompts to try
Example prompts to use with Claude after connecting image-tools-mcp.
- "What are the dimensions of the image at https://example.com/photo.jpg?"
- "Compress https://mysite.com/hero.png using TinyPNG and convert it to WebP format"
- "Get the file size and dimensions of /Users/me/Desktop/logo.png"
- "Compress the local image at /tmp/banner.jpg and tell me how much space was saved"
- "Fetch images from my Figma file and compress them all to WebP"Troubleshooting image-tools
Compression tools fail with 'Unauthorized' error
Verify your TINIFY_API_KEY is correct and has not exceeded the monthly compression limit (500 free/month). Check the TinyPNG dashboard at https://tinypng.com/dashboard for usage. Ensure the key is set in the env section of your MCP config, not as a shell environment variable.
get_image_size returns an error for a URL
Some servers block requests without a proper User-Agent or require authentication. Try with a publicly accessible image URL first to confirm the tool works. For local files, use get_local_image_size and provide an absolute file path.
Figma tool fails to fetch images
Ensure FIGMA_API_TOKEN is set with a valid personal access token from https://www.figma.com/developers. The token needs read access to the target Figma file. Verify the Figma file ID and frame/node IDs are correct.
Frequently Asked Questions about image-tools
What is image-tools?
image-tools is a Model Context Protocol (MCP) server that image tools mcp is a model context protocol (mcp) service that retrieves image dimensions and compresses images from urls and local files using the tinypng api. it supports converting images to formats like webp, jpeg/jpg, and png, providing detailed It connects AI assistants to external tools and data sources through a standardized interface.
How do I install image-tools?
Follow the installation instructions on the image-tools GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with image-tools?
image-tools works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is image-tools free to use?
Yes, image-tools is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
image-tools Alternatives — Similar Developer Tools Servers
Looking for alternatives to image-tools? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up image-tools in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use image-tools?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.