Image Tools MCP Server

A Model Context Protocol (MCP) service for retrieving image dimensions, supporting both URL and local file sources.

Local serverstdioTypeScript

What is the Image Tools MCP MCP server?

Image tools mcp mcp server connects Image Tools MCP to AI assistants that speak the Model Context Protocol. A Model Context Protocol (MCP) service for retrieving image dimensions, supporting both URL and local file sources.

What Image Tools MCP does

A Model Context Protocol (MCP) service for retrieving image dimensions and compressing images, supporting both URL and local file sources.

Key capabilities

  • Retrieve image dimensions from URLs
  • Get image dimensions from local files
  • Compress images from URLs using TinyPNG API
  • Compress local images using TinyPNG API
  • Convert images to different formats (webp, jpeg/jpg, png)
  • Returns width, height, type, MIME type, and compression information

Tools it exposes

Once connected, the assistant can call these 6 tools directly:

  • Usage — The Usage tool exposed by this server
  • get_image_size — The get_image_size tool exposed by this server
  • get_local_image_size — The get_local_image_size tool exposed by this server
  • compress_image_from_url — The compress_image_from_url tool exposed by this server
  • compress_local_image — The compress_local_image tool exposed by this server
  • figma — The figma tool exposed by this server

Installing the image tools mcp mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Configuration

Before the server will start you need to supply 4 environment variables: TINIFY_API_KEY, FIGMA_API_TOKEN, YOUR_TINIFY_API_KEY, YOUR_FIGMA_API_TOKEN. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Image Tools MCP sits in that group, and the shape of its toolset — Usage, get_image_size, get_local_image_size among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by kshern, written in TypeScript.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the image tools mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
UsageThe Usage tool exposed by this server.
get_image_sizeThe get_image_size tool exposed by this server.
get_local_image_sizeThe get_local_image_size tool exposed by this server.
compress_image_from_urlThe compress_image_from_url tool exposed by this server.
compress_local_imageThe compress_local_image tool exposed by this server.
figmaThe figma tool exposed by this server.

How to install the Image Tools MCP MCP server

{
  "mcpServers": {
    "image-tools": {
      "command": "npx",
      "args": ["image-tools-mcp"],
      "env": {
        "TINIFY_API_KEY": "<YOUR_TINIFY_API_KEY>",
        "FIGMA_API_TOKEN": "<YOUR_FIGMA_API_TOKEN>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
TINIFY_API_KEYCredential the server authenticates with.Yes
FIGMA_API_TOKENCredential the server authenticates with.Yes
YOUR_TINIFY_API_KEYCredential the server authenticates with.Yes
YOUR_FIGMA_API_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Image Tools MCP to Usage.
  • Use Image Tools MCP to get image size.
  • Use Image Tools MCP to get local image size.

Frequently asked questions

It connects Image Tools MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (Usage, get_image_size, get_local_image_size, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Image Tools MCP directly.