New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hackpsd

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hackpsd

A tool for manipulating PSD files

latest
npmnpm
Version
5.0.2
Version published
Weekly downloads
2
Maintainers
0
Weekly downloads
 
Created
Source

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:

  • As a command-line tool:
npx hackpsd
  • 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

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

License

ISC

Keywords

psd

FAQs

Package last updated on 03 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts