tinypng-mcp-server

by aiyogg
Verified

TinyPNG용 MCP 서버

용법

bun 이나 node 사용하여 서버를 실행하세요

  1. 종속성을 설치하고 빌드합니다.

지엑스피1

  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 서버를 자동으로 설치하려면:

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

MCP를 통해 TinyPNG 사용

  1. Usage
    1. Use bun or node to run the server
      1. Installing via Smithery
        1. Tools
          ID: k5xtvwzye9