5.0.2 • Published 4 months ago

hackpsd v5.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

hackpsd

A tool for manipulating PSD files, exposing functionality through the Model Context Protocol (MCP).

Installation

npm install -g hackpsd

Usage

The tool can be used in two ways:

  1. As a command-line tool:
npx hackpsd
  1. As an MCP server that exposes the following tools:

updatePsd

Updates a PSD file with a new image and outputs a PNG.

Parameters:

  • originalPsdPath: Path to the original PSD file
  • newImagePath: Path to the new image to insert
  • outputPngPath: Path where the output PNG should be saved

Example:

const result = await client.callTool("updatePsd", {
  originalPsdPath: "path/to/template.psd",
  newImagePath: "path/to/new-image.png",
  outputPngPath: "path/to/output.png"
});

Development

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Run the MCP server:
npm run mcp-server

License

ISC

5.0.2

4 months ago

5.0.1

4 months ago

5.0.0

5 months ago

3.0.0

5 months ago

2.0.0

5 months ago