Get the FREE Ultimate OpenClaw Setup Guide →

imagemagick_mcp_server

MCP server from Yoshino-Yukitaro/imagemagick_mcp_server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio yoshino-yukitaro-imagemagick_mcp_server bun main.ts

How to use

This MCP server provides a wrapper around an ImageMagick-based workflow powered by a Bun runtime. In the MCP Servers panel, you add a server entry that points to the Imagemagick MCP server's main entry (main.ts) so that you can invoke image processing tasks through the MCP interface. Once configured, you can send dedicated image manipulation tasks (resizing, format conversion, compositing, etc.) via the MCP API exposed by the server. The Bun runtime will execute the TypeScript code (main.ts) under the specified working directory and return results or errors to your client. Use this server when you want to perform image processing in an automated, scriptable fashion as part of your MCP-powered workflow.

How to install

Prerequisites:

  • Bun runtime installed on your system (bun create, bun run, etc.).
  • Git installed to clone repositories if needed.
  • Access to the MCP Servers UI where you can edit the project MCP configuration.

Install steps:

  1. Ensure Bun is installed on your machine. Follow instructions at https://bun.sh/ to install Bun.
  2. Clone or download the imagemagick_mcp_server project to your desired path.
  3. In the MCP Servers area of your project, add or update the mcp.json with the following server configuration (adjust the cwd to your actual path):
{
  "mcpServers": {
    "imagemagick": {
      "command": "bun",
      "args": ["main.ts"],
      "cwd": "/absolute/path/to/imagemagick_mcp_server",
      "env": {}
    }
  }
}
  1. Save and reload the MCP Servers tab to pick up the new configuration. The server will run main.ts under Bun when invoked by the MCP system.
  2. Use the MCP interface to trigger image processing tasks as needed.

Additional notes

Notes and tips:

  • Ensure the working directory (cwd) correctly points to the root of the imagemagick_mcp_server where main.ts resides.
  • If your environment requires specific environment variables (e.g., IMAGEMAGICK_PATH, API keys, or custom binaries), populate the env section accordingly instead of leaving it empty.
  • The server uses Bun to execute main.ts; ensure any TypeScript dependencies are installed in the project and that main.ts exports the expected MCP handlers.
  • If you encounter permission or path issues, verify that Bun has access to the project directory and that the absolute path is correct for your OS.
  • This setup assumes you want to run a TypeScript-based MCP server that leverages ImageMagick capabilities; adjust dependencies in your project as needed.

Related MCP Servers

Sponsor this space

Reach thousands of developers