# PigmentaLab

> DTF and textile pre-press: print check, background removal, upscaling, halftones and gang sheets.

- name: io.pigmentalab/mcp
- version: 0.5.2
- connection class: R2 (oauth_consent_once)
- trust: 95/100
- quality: 94/100 (strong)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.pigmentalab%2Fmcp
- tools: https://api.protogrid.dev/v1/servers/io.pigmentalab%2Fmcp/tools

**An agent can connect after a one-time OAuth consent by a human.** Remote endpoint behind OAuth 2. Tokens stay with the agent; the registry only exposes the authorization metadata.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "pigmentalab": {
      "type": "http",
      "url": "https://mcp.pigmentalab.io/mcp",
      "headers": {
        "X-API-Key": "${X_API_KEY}"
      }
    }
  }
}
```

Placeholders to fill: `${X_API_KEY}`.

## Trust

- hygiene: 100
- liveness: 98
- freshness: 100
- provenance: 85
- drivers: +repository +dns-namespace +website +reachable +uptime-96% +updated-20d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 94/100 (strong)

### protocol: n/a (weight 25)

- n/a `protocol.modern`, `protocol.stateless`, `protocol.transport`, `protocol.list_ttl`: no remote answered a protocol handshake (not probed yet, unreachable, or local-only)

### authorization: 100 (weight 15)

- pass `auth.prm`: Protected Resource Metadata (RFC 9728) published
- pass `auth.as_metadata`: authorization server metadata reachable
- pass `auth.cimd`: Client ID Metadata Documents supported
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 89 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 11 of 11 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: pigmenta_pricing (idempotentHint); pigmenta_account (idempotentHint); pigmenta_create_upload (idempotentHint); …
- pass `tools.token_cost`: about 2,205 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 11, about 2,205 tokens to load them all
- tool set hash: abe3acab3b8681da2590d115f05d24d9
- badge: [![protogrid quality](https://protogrid.dev/badge/io.pigmentalab/mcp.svg)](https://protogrid.dev/servers/io.pigmentalab/mcp)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Remotes

- https://mcp.pigmentalab.io/mcp (streamable-http, auth oauth2, reachable true, uptime30d 0.95689654)

## Packages

_none_

## Tools (11)

- `create_gangsheet`: Arrange several designs on a roll to print them together with as little waste as possible — a gang sheet. Give one entry per design with how many copies and what print height in cm. Costs 5 credits plus 3 per linear metre of the finished sheet, charged when it completes. Always returns a job_id: poll pigmenta_job_status.
- `halftone_image`: Turn artwork into a halftone of dots, which prints softer and lighter on a garment. style: 'artistic' (default) or 'garment' (adapts the dots to the garment color: pass garment_hex, e.g. #202020). dot_spacing is the distance between dots in pixels, max_radius their largest radius. Costs 0.5 credit (1 over 25 megapixels).
- `improve_image`: Fix a picture before printing. operation: 'colors' (default; saturation, contrast, brightness, sharpness: 1.0 means no change, 0.5 credit), 'denoise' (removes grain and compression dirt, 1 credit), 'logo' (clean edges and flat colors for logos and drawings, 1 credit) or 'face' (restores blurry faces, 1 credit). Over 25 megapixels costs double. If it runs long you get a job_id: poll pigmenta_job_status.
- `inspect_image_for_print`: Answer the question a print shop asks every day: can this artwork be printed at N cm without looking bad? Reports real pixel size, the largest print height at 300 dpi (optimal) and 150 dpi (floor), whether it has transparency, rough ink coverage, and warnings. Read-only, runs on CPU, costs NO credits. Run this before upscaling or laying out a sheet — it often makes the paid tool unnecessary. Pass target_height_cm to get a straight yes/no for a specific size.
- `knockout_color`: Make black, white or one chosen color transparent (a knockout, for DTF on dark or light garments). remove: 'black' (default), 'white' or 'color' (then color_hex is required, like #FF0000). tolerance 0-255 sets how close a pixel must be. Costs 0.5 credit (1 over 25 megapixels). If it runs long you get a job_id: poll pigmenta_job_status, do not call it again.
- `pigmenta_account`: Check which PigmentaLab account this connection is using and how many credits it has left. Read-only and free. Use it to confirm the connection works before spending credits, or when a tool reports an insufficient balance.
- `pigmenta_create_upload`: Create a short-lived link where the person can drop an image file, and get back a handle to pass to the other tools. Use this whenever you need a file the person has NOT attached in a way you can forward — on Claude and Gemini that is always the case. Tell the person to open the link, drop the file and tell you when it is done; then call the tool you wanted with the handle. The page speaks the person's browser language.
- `pigmenta_job_status`: Check a job started by another PigmentaLab tool and, when it is done, get the preview and the download link. Wait the number of seconds the previous response suggested before calling, and keep polling this instead of re-running the original tool.
- `pigmenta_pricing`: List what every PigmentaLab tool costs in credits. Read-only, free, needs no account. Use it to answer 'how much would this cost' before running a paid tool.
- `remove_background`: Remove the background and return a PNG with transparency, ready to print on a garment. Costs 1 credit (2 for images over 25 megapixels). Takes about 10-30 seconds; if it runs long you get a job_id — poll pigmenta_job_status, do not call this again.
- `upscale_image`: Enlarge an image to a target PRINT HEIGHT in centimetres at 300 dpi, keeping edges clean for textile printing. height_cm is the height of the finished print, not the longest side. Costs 1 credit (2 over 25 megapixels). Run inspect_image_for_print first: if the image already covers the size, this is not needed.
