Tinypng MCP server

Connect Tinypng to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Tinypng MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the resize image tool in Tinypng
  • Use the save to cloud storage tool in Tinypng
  • Use the convert image tool in Tinypng
  • Use the compress image tool in Tinypng
  • Use the get compression count tool in Tinypng

Supported Tools

resize_image

Resize Image

Compress and resize an image in one step. First compresses the source image via TinyPNG, then resizes it using the specified method. Supports four resize methods: **scale** (proportional by width or height), **fit** (fit within dimensions), **cover** (fill exact dimensions with intelligent cropping), and **thumb** (advanced cover with cut-out detection). Optionally convert format and preserve metadata in the same request.

save_to_cloud

Save to Cloud Storage

Compress an image and save it directly to Amazon S3 or Google Cloud Storage. Combines compression with cloud upload in a single operation. Optionally resize, convert format, and preserve metadata before uploading. Supports the documented Cache-Control storage header. Existing target objects can be overwritten; usage and cloud effects are retained.

convert_image

Convert Image

Compress and convert an image to a different format. Supports converting between AVIF, WebP, JPEG, and PNG. You can specify a single target format, multiple formats (the smallest result is returned), or use "*/*" to get the smallest among all supported formats. Optionally fill transparent backgrounds with a color when converting to non-transparent formats like JPEG.

compress_image

Compress Image

Compress an image using TinyPNG's lossy compression engine. Supports AVIF, WebP, JPEG, and PNG formats. The image type is automatically detected and optimized with the appropriate engine. Provide a publicly accessible URL to the image. Returns a downloadable optimized image and available compression statistics. You can optionally preserve metadata (copyright, creation date, GPS location) in the compressed output.

get_compression_count

Get Compression Count

Retrieve the number of compressions performed during the current calendar month. Uses the documented empty validation request without submitting an image. It does not identify the account owner or guarantee remaining quota.

Connect Tinypng to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Tinypng in Metorial. In your Metorial portal, enable the Tinypng MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Tinypng tools.

Run Tinypng through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Tinypng and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Tinypng tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Tinypng

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Read label definitions and search files by label. Browse the Drive apps installed for your account. Store app-specific data in a hidden per-user folder.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs.

Google Slides

Create, read, edit, and delete Google Slides presentations. Create and manipulate slides with predefined or custom layouts. Insert, style, and replace text across slides, including bulk placeholder replacement for template-based generation. Add and position shapes, text boxes, lines, and images. Embed and refresh charts linked to Google Sheets. Manage speaker notes, duplicate or reorder slides, and perform batch updates combining multiple operations in a single call. Supports automated report and deck generation using templates with placeholder text and image substitution.

Technical notes for Tinypng

Compress AVIF, WebP, JPEG, and PNG images using lossy compression while preserving visual quality. Resize images using scale, fit, cover, and thumb methods. Convert images between AVIF, WebP, JPEG, and PNG formats. Preserve image metadata such as copyright, creation date, and GPS location. Save optimized images directly to Amazon S3 or Google Cloud Storage buckets. Track monthly compression usage.

Frequently asked questions

Common questions about connecting Tinypng to AI agents with Metorial.

  1. How many tools does the Tinypng MCP server have?
    The Tinypng MCP server exposes 5 tools, including Resize Image, Save to Cloud Storage, Convert Image. Each one is governed and traced through Metorial.
  2. Tinypng exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Tinypng MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Tinypng and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Tinypng MCP server yourself or use the hosted gateway.

Connect Tinypng to production AI agents

See how Metorial gives your team governed access to Tinypng, with tracing and security controls built in.