Skip to main content
Glama

tinypng-mcp-server

TinyPNG用のMCPサーバー

使用法

bunまたはnodeを使用してサーバーを実行します

  1. 依存関係をインストールしてビルドする
pnpm i pnpm build
  1. mcp.jsonファイルを編集する
{ "mcpServers": { "tinypng": { "command": "bun", // or "node" "args": ["/path/to/tinypng-mcp-server/src/index.ts"], // or "dist/index.js" "env": { "TINYPNG_API_KEY": "your-tinypng-api-key" } } } }

Smithery経由でインストール

Smithery経由で Claude Desktop 用の TinyPNG MCP Server を自動的に��ンストールするには:

npx -y @smithery/cli install @aiyogg/tinypng-mcp-server --client claude

ツール

  1. ローカルイメージを圧縮する
{ name: 'compress_local_image', description: 'Compress a local image file', inputSchema: { type: 'object', properties: { imagePath: { type: 'string', description: 'The ABSOLUTE path to the image file to compress', example: '/Users/user/Downloads/image.jpg', }, outputPath: { type: 'string', description: 'The ABSOLUTE path to save the compressed image file', example: '/Users/user/Downloads/image_compressed.jpg', }, outputFormat: { type: 'string', description: 'The format to save the compressed image file', enum: SUPPORTED_IMAGE_TYPES, example: 'image/jpeg', }, }, required: ['imagePath'], }, }
  1. リモートイメージを圧縮する
{ name: 'compress_remote_image', description: 'Compress a remote image file by giving the URL of the image', inputSchema: { type: 'object', properties: { imageUrl: { type: 'string', description: 'The URL of the image file to compress', example: 'https://example.com/image.jpg', }, outputPath: { type: 'string', description: 'The ABSOLUTE path to save the compressed image file', example: '/Users/user/Downloads/image_compressed.jpg', }, outputFormat: { type: 'string', description: 'The format to save the compressed image file', enum: SUPPORTED_IMAGE_TYPES, example: 'image/jpeg', }, }, required: ['imageUrl'], }, }
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

MCP経由でTinyPNGを使用する

  1. 使用法
    1. bunまたはnodeを使用してサーバーを実行します
      1. Smithery経由でインストール
        1. ツール

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            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 information on width, height, type, and compressi
            Last updated -
            4
            131
            3
            JavaScript
            MIT License
            • Apple

          View all related MCP servers

          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/aiyogg/tinypng-mcp-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server