Developers
Connect an AI client to cut out images locally or share a tool link with settings already filled in.
Try a tool link
MCP
Add imgsite to your MCP client’s mcpServers configuration and restart the client. Try asking it to remove the background from photo.webp and save photo-cutout.png.
mcpServers · stdio · Node.js ≥ 22.18
{
"mcpServers": {
"imgsite": {
"command": "npx",
"args": [
"--yes",
"--package=https://picmiso.com/integrations/imgsite-links-0.1.0.tgz",
"imgsite-mcp"
],
"env": {
"IMGSITE_LOCALE": "en",
"IMGSITE_IMAGE_DIR": "~/Pictures/imgsite"
}
}
}
}Use remove_background to get a transparent PNG directly. For file paths, set IMGSITE_IMAGE_DIR to an existing folder you want to share. Clients can also send imageBase64 and receive the PNG inline. Fast runs offline after installation. Fine downloads an additional 96.4 MiB model on first use.
remove_background
{
"inputFile": "photo.webp",
"outputFile": "photo-cutout.png",
"mode": "subject",
"quality": "fine"
}create_image_tool_linkClaude Desktop CLI
Run this command to print a shareable link. Use --help to list tools and languages.
Terminal · Node.js ≥ 22.18
npx --yes --package="https://picmiso.com/integrations/imgsite-links-0.1.0.tgz" imgsite-link compress-image --locale en --maxEdge 800 --maxKB 200JavaScript SDK
Install the package and call createToolLink from a JavaScript module. The function returns a URL you can put in a message or a button.
npm · Node.js ≥ 22.18
npm install "https://picmiso.com/integrations/imgsite-links-0.1.0.tgz"JavaScript
import { createToolLink } from "imgsite-links";
const url = createToolLink("compress-image", {
locale: "en",
maxEdge: 800,
maxKB: 200,
});