# How to integrate TinyPNG MCP with Hermes

```json
{
  "title": "How to integrate TinyPNG MCP with Hermes",
  "toolkit": "TinyPNG",
  "toolkit_slug": "tinypng",
  "framework": "Hermes",
  "framework_slug": "hermes-agent",
  "url": "https://composio.dev/toolkits/tinypng/framework/hermes-agent",
  "markdown_url": "https://composio.dev/toolkits/tinypng/framework/hermes-agent.md",
  "updated_at": "2026-05-06T08:31:42.605Z"
}
```

## Introduction

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.
This guide explains the easiest and most robust way to connect your TinyPNG account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

## Also integrate TinyPNG with

- [OpenAI Agents SDK](https://composio.dev/toolkits/tinypng/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/tinypng/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/tinypng/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/tinypng/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/tinypng/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/tinypng/framework/openclaw)
- [CLI](https://composio.dev/toolkits/tinypng/framework/cli)
- [Google ADK](https://composio.dev/toolkits/tinypng/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/tinypng/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/tinypng/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/tinypng/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/tinypng/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/tinypng/framework/crew-ai)

## TL;DR

### What is Composio Connect?
Composio Connect is a consumer offering that lets anyone plug 1,000+ applications directly into their agent harness — including Hermes. It can:
- Search and load tools from relevant toolkits on-demand, reducing context usage.
- Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
- Manage app authentication end-to-end with zero manual overhead.

## Connect TinyPNG to Hermes

### Integrating TinyPNG with Hermes
### Using Composio Connect CLI
1. Install the Composio CLI
Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

```bash
curl -fsSL https://composio.dev/install | bash
```

## What is the TinyPNG MCP server, and what's possible with it?

The TinyPNG MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your TinyPNG account. It provides structured and secure access so your agent can perform TinyPNG operations on your behalf.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `TINYPNG_GET_COMPRESSION_COUNT` | Get TinyPNG Compression Count | Tool to retrieve the number of compressions made this month. use when you need to monitor your tinypng api usage. |
| `TINYPNG_SHRINK_AND_GET_IMAGE_ID` | Shrink and get image ID | Tool to shrink an image and return its tinypng image id. use when you need only the compressed image identifier from the api response location header. |
| `TINYPNG_TINIFY_COMPRESS_AND_CONVERT_IMAGE` | Compress and Convert Image | Tool to compress and convert an image. use when you need to optimize an image and change its format (avif, webp, jpeg, png). |
| `TINYPNG_TINIFY_COMPRESS_AND_PRESERVE_METADATA` | Compress and preserve metadata | Tool to compress an image while preserving specified metadata fields. use when critical metadata (e.g., copyright, creation date, or gps location) must be retained in the output. |
| `TINYPNG_TINIFY_COMPRESS_AND_STORE_IN_AZURE` | Compress and Store Image in Azure | Tool to compress an image using tinify and upload it directly to azure blob storage. use when you want to optimize images and store them to azure in one step. |
| `TINYPNG_TINIFY_OUTPUT` | Download Compressed Image | Tool to retrieve a compressed image by its image id. use after compressing an image to download the result. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

The TinyPNG MCP server provides comprehensive access to TinyPNG operations through Composio. Once connected, Hermes can perform all major TinyPNG actions on your behalf using natural language commands.

## Complete Code

None listed.

## Conclusion

### Way Forward
With TinyPNG connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.
From here, you can extend Hermes further:
- Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
- Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
- Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.
If you run into trouble or want to share what you've built, join the [community](https://discord.com/invite/composio) or check out the [Docs](https://docs.composio.dev?utm_source=toolkits&utm_medium=framework_template&utm_campaign=hermes&utm_content=docs) for deeper configuration options.

## How to build TinyPNG MCP Agent with another framework

- [OpenAI Agents SDK](https://composio.dev/toolkits/tinypng/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/tinypng/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/tinypng/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/tinypng/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/tinypng/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/tinypng/framework/openclaw)
- [CLI](https://composio.dev/toolkits/tinypng/framework/cli)
- [Google ADK](https://composio.dev/toolkits/tinypng/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/tinypng/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/tinypng/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/tinypng/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/tinypng/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/tinypng/framework/crew-ai)

## Related Toolkits

- [Google Drive](https://composio.dev/toolkits/googledrive) - Google Drive is a cloud storage platform for uploading, sharing, and collaborating on files. It's perfect for keeping your documents accessible and organized across devices.
- [Google Sheets](https://composio.dev/toolkits/googlesheets) - Google Sheets is a cloud-based spreadsheet tool for real-time collaboration and data analysis. It lets teams work together from anywhere, updating information instantly.
- [Notion](https://composio.dev/toolkits/notion) - Notion is a collaborative workspace for notes, docs, wikis, and tasks. It streamlines team knowledge, project tracking, and workflow customization in one place.
- [Airtable](https://composio.dev/toolkits/airtable) - Airtable combines the flexibility of spreadsheets with the power of a database for easy project and data management. Teams use Airtable to organize, track, and collaborate with custom views and automations.
- [Google Docs](https://composio.dev/toolkits/googledocs) - Google Docs is a cloud-based word processor that enables document creation and real-time collaboration. Its seamless sharing and version history make team editing and content management a breeze.
- [Google Super](https://composio.dev/toolkits/googlesuper) - Google Super is an all-in-one suite combining Gmail, Drive, Calendar, Sheets, Analytics, and more. It gives you a unified platform to manage your digital life, boosting productivity and organization.
- [Asana](https://composio.dev/toolkits/asana) - Asana is a collaborative work management platform for teams to organize and track projects. It streamlines teamwork, boosts productivity, and keeps everyone aligned on goals.
- [Google Tasks](https://composio.dev/toolkits/googletasks) - Google Tasks is a to-do list and task management tool integrated into Gmail and Google Calendar. It helps you organize, track, and complete tasks across your Google ecosystem.
- [Linear](https://composio.dev/toolkits/linear) - Linear is a modern issue tracking and project planning tool for fast-moving teams. It helps streamline workflows, organize projects, and boost productivity.
- [Jira](https://composio.dev/toolkits/jira) - Jira is Atlassian’s platform for bug tracking, issue tracking, and agile project management. It helps teams organize work, prioritize tasks, and deliver projects efficiently.
- [Clickup](https://composio.dev/toolkits/clickup) - ClickUp is an all-in-one productivity platform for managing tasks, docs, goals, and team collaboration. It streamlines project workflows so teams can work smarter and stay organized in one place.
- [Monday](https://composio.dev/toolkits/monday) - Monday.com is a customizable work management platform for project planning and collaboration. It helps teams organize tasks, automate workflows, and track progress in real time.
- [Figma](https://composio.dev/toolkits/figma) - Figma is a collaborative interface design tool for teams and individuals. It streamlines design workflows with real-time collaboration and easy sharing.
- [Abyssale](https://composio.dev/toolkits/abyssale) - Abyssale is a creative automation platform for generating images, videos, GIFs, PDFs, and HTML5 content programmatically. It streamlines and scales visual content production for marketing, design, and operations teams.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [Affinda](https://composio.dev/toolkits/affinda) - Affinda is an AI-powered document processing platform that automates data extraction from resumes, invoices, and more. It streamlines document-heavy workflows by turning files into structured, actionable data.
- [Agiled](https://composio.dev/toolkits/agiled) - Agiled is an all-in-one business management platform for CRM, projects, and finance. It helps you streamline workflows, consolidate client data, and manage business processes in one place.
- [Agility cms](https://composio.dev/toolkits/agility_cms) - Agility CMS is a headless content management system for building and managing digital experiences across platforms. It lets teams update content quickly and deliver omnichannel experiences with ease.
- [Algodocs](https://composio.dev/toolkits/algodocs) - Algodocs is an AI-powered platform that automates data extraction from business documents. It delivers fast, secure, and accurate processing without templates or manual training.
- [Alttext ai](https://composio.dev/toolkits/alttext_ai) - AltText.ai is a service that generates alt text for images automatically. It helps boost accessibility and SEO for your visual content.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and TinyPNG MCP?

With a standalone TinyPNG MCP server, the agents and LLMs can only access a fixed set of TinyPNG tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from TinyPNG and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Hermes?

Yes, you can. Hermes fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right TinyPNG tools.

### Can I manage the permissions and scopes for TinyPNG while using Tool Router?

Yes, absolutely. You can configure which TinyPNG scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your TinyPNG data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
