open-index/open-npm huggingface dataset:
npm package: @image-mcp/cli
Description: Agent-first CLI for Image MCP image generation, editing, jobs, and skill install flows
Latest version: 0.1.6

# `@image-mcp/cli`

Agent-first CLI for Image MCP.

This package gives agents and humans a direct workflow surface for:

- browser OAuth login
- model discovery
- uploads
- image create and edit jobs
- job polling and cancellation
- local skill installation

## Install

```bash
npm install -g @image-mcp/cli
```

Or run it directly:

```bash
npx --yes @image-mcp/cli --help
```

## Quick Start

```bash
image-mcp login
image-mcp whoami
image-mcp models --limit 5
image-mcp create "studio product shot" --model nano-banana-2
image-mcp skill install --agent all
```

## Canonical Model IDs

Use provider-neutral public ids:

- `nano-banana`
- `nano-banana/edit`
- `nano-banana-2`
- `nano-banana-2/edit`

Slash-style edit ids are canonical.

## Main Commands

- `login`
- `logout`
- `whoami`
- `models`
- `activity`
- `upload`
- `create`
- `edit`
- `job get|list|wait|cancel`
- `doctor`
- `skill install`

## Auth

The default flow opens the browser for OAuth and stores a local session. You can also point the CLI at another deployment with:

```bash
image-mcp whoami --base-url https://image-mcp.com
```

If you are using `npx` without a global install:

```bash
npx --yes @image-mcp/cli login
npx --yes @image-mcp/cli --help
npx --yes @image-mcp/cli whoami
```

Per-command help also works as:

```bash
image-mcp help create
image-mcp help job wait
```

## Product Surfaces

Image MCP ships four product surfaces:

- CLI
- Skill
- JSON API
- MCP

For most agent workflows, the CLI + skill path is the best default.
npm package: @image-tracer-ts/browser
Description: Platform-specific bindings for image-tracer-ts. Turn images into SVG files in browsers.
Author: Moritz Ringler
Latest version: 1.0.3

# @image-tracer-ts/browser


Trace images into SVG in the browser.

![alt Bitmap to Svg](https://raw.githubusercontent.com/jankovicsandras/imagetracerjs/HEAD/docimages/s1.png)

Adds browser-specific convenience methods to [@image-tracer-ts/core](https://www.npmjs.com/package/@image-tracer-ts/core) to load data from different image types (PNG, JPEG, etc.) and locations (URLs, file objects, etc.).

Provides ESM and CJS packages.

A similar package is available for Node.js in [@image-tracer-ts/nodejs](https://www.npmjs.com/package/@image-tracer-ts/nodejs).

---

## Basic Usage

```
import { ImageTracerBrowser, Options } from '@image-tracer/browser';
const options: Partial<Options> = {fillStyle: 'stroke'}
const svgString = ImageTracerBrowser.fromUrl('https://.../image.png', options);
```

---

## Tracing different source types


Basic syntax for tracing an image by URL:
```
ImageTracerBrowser.fromUrl<OutputType = string>(
  url: string,
  options: Partial<Options>,
  drawer: ImageDrawer<OutputType> | null = null
 ): Promise<string | OutputType>
```

Similarly, there is `fromBuffer()` (for ArrayBuffers), `fromFile()` (for File objects) and `fromImageData()` (for ImageData).

Import `ImageLoader` from `@image-tracer/browser` to convert sources into ImageData manually.

Passing a custom ImageDrawer as third parameter to the `from*()` methods allows to change how output is created from traced data.


---

## Options

Same as [@image-tracer-ts/core](https://www.npmjs.com/package/@image-tracer-ts/core)
npm package: @image-tracer-ts/nodejs
Description: Platform-specific bindings for image-tracer-ts. Turn images into SVG files in Nodejs.
Author: Moritz Ringler
Latest version: 1.0.4

# @image-tracer-ts/nodejs

Trace images into SVG in nodejs.

![alt Bitmap to Svg](https://raw.githubusercontent.com/jankovicsandras/imagetracerjs/HEAD/docimages/s1.png)

Adds nodejs-specific convenience methods to [@image-tracer-ts/core](https://www.npmjs.com/package/@image-tracer-ts/core) to load data from different image types (PNG, JPEG, etc.) and locations (mainly filenames), as well as command line support.

Provides ESM and CJS packages.

A similar package is available for browser usage in [@image-tracer-ts/browser](https://www.npmjs.com/package/@image-tracer-ts/browser).

---

## Basic Usage


```
import { ImageTracerNodejs } from '@image-tracer-ts/nodejs' 
const svgString = ImageTracerNodejs.fromFileName(
  fileName: string,
  options: Partial<ImageTracerNodejsOptions> | null = null,
  drawer: ImageDrawer<string> | null = null
): Promise<void>
```

### CLI

To trace images from the command line, run the `.cjs` module with a path to an image along with the desired options (prefixed with `--`): 
```
$ node ./packages/nodejs/dist/image-tracer-nodejs.cjs ./image.png --out image.svg --fillStyle stroke
```

---

## Options

For tracer options see [@image-tracer-ts/core](https://www.npmjs.com/package/@image-tracer-ts/core).

When passed as command line parameter, options have to be prefixed with `--` (i.e. `--blurRadius 5`).

Package specific options:
| Option | Type | Default | Description |
|--------|------|---------|-------------|
| output | `png`  \| `svg` \| `(png|svg)[]` | `svg` | Output file type |
| out | string | input file name | Output filename (file type extension will be added if necessary) |
| preset | Preset name from core package | `null` | Use a named preset |