mcp-gdx-image-webify
An MCP server for converting images to WebP or AVIF formats using the sharp library.
README
MCP-GDX-Image-Webify
Description
MCP-GDX-Image-Webify is an MCP Server (Stdio) based on Node.js and typescript, that allows you to convert images into the WebP or AVIF formats using the sharp library. It supports multiple image formats such as JPG, JPEG, PNG, WebP, TIFF, AVIF, GIF, and SVG. The tool allows you to specify the quality of the conversion and the output directory for the converted images. On result it shows original size, new size and saving.
Installation
Prerequisites
Install
- Clone the repository:
git clone https://github.com/geckod22/MCP-GDX-Image-Webify.git
cd MCP-GDX-Image-Webify
- Install deps
npm install
- Build
npm run build
MCP Client configuration
<details open> <summary>Automatic</summary>
Just run:
npm run installToClients
then follow the steps.
At the moment the script supports the following clients: Claude Desktop, Gemini Cli, Visual Code </details> <details> <summary>Manual</summary> General config:
{
"mcpServers": {
"chrome-devtools": {
"command": "node",
"args": ["your_path\\MCP-GDX-Image-Webify\\build\\index.js"]
}
}
}
<details> <summary>Claude Desktop</summary> Follow the <a href="https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_other-options-to-add-an-mcp-server">guide</a> and use the standard config from above. </details> <details> <summary>Copilot / VS Code</summary>
Follow the MCP install <a href="https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_other-options-to-add-an-mcp-server">guide</a>, and use the above general config. </details> <details> <summary>Cursor</summary>
Click the button to install:
Go to Cursor Settings -> MCP -> New MCP Server. Use the General config above.
</details>
<details>
<summary>Gemini CLI</summary>
Follow the <a href="https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md#how-to-set-up-your-mcp-server">MCP guide</a> and use the standard config from above.
</details> <details> <summary>Windsurf</summary> Follow the <a href="https://docs.windsurf.com/windsurf/cascade/mcp#mcp-config-json">configure MCP guide</a> using the standard config from above. </details> </details>
Your first prompt
Ex of usage. Open your project folder and run gemini cli, then Enter the following prompt to check if everything is working:
Convert the images in the current project images folder to webp with quality 80.
Testing
Run the Inspector:
npx @modelcontextprotocol/inspector node build/index.js
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.
License
This project is licensed under the MIT License.
Credits
This project uses Sharp for high-performance image processing, licensed under the Apache License 2.0.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.