MCP server

Pinin

io.github.Pinin-ai/pinin

MCP server OK 8 tools

Get a review See pricing

Restore, colorize and upscale old photographs. Enterprise plan required, one credit per restoration.

Technical sheet

Author
Pinin-ai (registry namespace)
Repository
github.com/Pinin-ai/pinin-mcp
Site
pinin.ai/developers/docs
Version
1.2.2
Transport
Streamable HTTP stdio
Authentication
None (observed by our test)
Server address
https://pinin.ai/api/mcp Streamable HTTP required header : Authorization
Packages
pinin-mcp 1.2.2 npm stdio
Tools
8
Categories
—
Last updated
3 Dec 2026
Published
3 Dec 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 1 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 4 Dec 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.Pinin-ai/pinin.svg?lang=en)](https://latlas.dev/en/mcp/io.github.Pinin-ai/pinin)
HTML
<a href="https://latlas.dev/en/mcp/io.github.Pinin-ai/pinin"><img src="https://latlas.dev/badge/statut/mcp/io.github.Pinin-ai/pinin.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.Pinin-ai/pinin.svg?lang=en)](https://latlas.dev/en/mcp/io.github.Pinin-ai/pinin)
HTML
<a href="https://latlas.dev/en/mcp/io.github.Pinin-ai/pinin"><img src="https://latlas.dev/badge/fiche/io.github.Pinin-ai/pinin.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://pinin.ai/api/mcp
Last result
OK 4 Dec 2026, 17:30
Response time
432 ms (initialize + tools/list)
Protocol version
2025-06-18
Announced name
pinin 1.0.0
Tools
8

History

DateResultResponseTools
4 Dec 2026, 17:30OK432 ms8

Exposed tools (8, from tools/list, 4 Dec 2026)

pinin_restore_photo

Restore a photograph

Queue photographs for restoration — damage repair, colorization, deblurring, upscaling — on the account behind the key. Send one photo as a public https `image_url` (preferred) or as `image_base64`, or up to 100 with `images`. Costs one credit per image, charged when the job settles and refunded automatically if it fails. Returns the new job in `pending` and does not wait: read the result with pinin_get_restoration. Pass `idempotency_key` when a retry must not charge twice, and `dry_run: true` to price a request without spending. Not for reading, listing or cancelling existing jobs — those are pinin_get_restoration, pinin_list_restorations and pinin_cancel_restoration.

ParameterTypeRequiredDescription
image_urlstringnoPublic https URL of one photograph. Any image format; the URL must be reachable by Pinin, not a private or localhost address.
imagesarray<string | object>noBatch of up to 100 photographs, each a public https URL string or an object with `image_url`. Use this instead of `image_url` for more than one photo; `images` wins if both are given.
image_base64stringnoInline image as base64 or a data URL. Single image only, and only when the photo cannot be hosted: prefer `image_url` for anything over a few megabytes.
mime_typestringnoContent type of `image_base64`, for example `image/jpeg` or `image/png`. Ignored when the input is a URL.
modeenum: "all-in-one" | "dust-scratch" | "colorize" | "deblur-upscale" | "upscale-only"noWhat to do to the photo. `all-in-one` (default) repairs damage and improves the image in one pass; `dust-scratch` removes specks and scratches only; `colorize` adds colour to black-and-white photos; `deblur-upscale` fixes soft focus and enlarges; `upscale-only` enlarges without other changes. Call…
seedintegernoDeterministic output: the same seed with the same image and mode gives the same result. Omit for a fresh variation.
metadataobjectnoYour own JSON object, max 2 KB. Stored on the job, returned by pinin_get_restoration and echoed in webhook payloads — use it to carry your own identifier.
idempotency_keystringno8–128 printable ASCII characters. A repeat with the same key returns the jobs the first call created instead of queueing and charging again.
dry_runbooleannoPrice the request without spending credits or queueing anything. The answer is a `dry_run` object with `credits_required`, `credits_balance` and `valid` instead of a restoration.

pinin_get_restoration

Get a restoration

Read one restoration by id: status (`pending`, `processing`, `completed`, `failed`), mode, credits charged, the failure detail when it failed, when the files expire, and signed image URLs plus a share link once it completes. Call it after pinin_restore_photo, waiting at least the `retry_after` seconds the response carries; to follow several jobs, sweep pinin_list_restorations with `updated_since` instead of polling each id. Read-only and free. An unchanged pending job may answer from its weak ETag without a body.

ParameterTypeRequiredDescription
idstringyesRestoration id returned by pinin_restore_photo — the `id` field of the restoration document.

pinin_list_restorations

List restorations

List the account's restorations, newest first, one page at a time, with `has_more` and the `next_cursor` / `next_cursor_id` pair for the following page. Filter by `status` or `mode`, or pass `updated_since` to collect every job that changed since the instant your poller last ran — that is the reconciliation sweep, and it replaces tracking ids. Use this instead of pinin_get_restoration when following more than one job; use pinin_get_restoration for the full document of a single id. Read-only and free.

ParameterTypeRequiredDescription
limitintegernoPage size, 1–100. Default 20.
statusenum: "pending" | "processing" | "completed" | "failed"noReturn only jobs in this state. Omit for every job regardless of state.
modeenum: "all-in-one" | "dust-scratch" | "colorize" | "deblur-upscale" | "upscale-only"noReturn only jobs queued with this restoration mode. Omit for every mode.
created_beforestringnoISO 8601 cursor: `next_cursor` from the previous page. Pages newest-first, so this walks backwards in time.
created_before_idstringnoTiebreaker cursor: `next_cursor_id` from the previous page. Send it with `created_before` or the page boundary can repeat a job.
updated_sincestringnoISO 8601 instant; only jobs whose state changed at or after it. The sweep a poller runs instead of remembering ids.

pinin_download_restoration

Download a restored photo

Get the signed URL for a finished photograph, valid about an hour, with `expires_at` so you know when it lapses. `image: "restored"` (default) is the repaired file; `"original"` is the file that was sent in. Call it only once a job is `completed` — a pending, processing or failed job has nothing to download, and re-reading a completed job already returns the same URLs. Read-only and free: it re-signs the link, not the credits, and does not touch the job.

ParameterTypeRequiredDescription
idstringyesRestoration id of a completed job — the `id` field from pinin_restore_photo or pinin_list_restorations.
imageenum: "restored" | "original"noWhich file to link. `restored` (default) is the repaired photograph; `original` is the submitted file.

pinin_cancel_restoration

Cancel a restoration

Cancel a restoration that has not started processing. A queued job has not been charged, so cancelling costs nothing and refunds nothing; once the pipeline has picked it up the call fails with `too_late_to_cancel` and the credit stands. Check pinin_get_restoration first when the state is unknown. Writes job state — with pinin_restore_photo it is the only tool that changes anything.

ParameterTypeRequiredDescription
idstringyesRestoration id to cancel — the `id` field from pinin_restore_photo or pinin_list_restorations.

pinin_get_account

Account, plan and limits

Read the account behind the key: plan tier and status, credit balance, batch cap, concurrency, the key's requests per minute, the monthly cap and spend so far, and how many keys are active. Read it before queueing a large batch to size the request, and after a plan or balance failure — it stays readable on an empty balance, so a blocked account can see why. Read-only and free. For per-day history use pinin_get_usage.

No parameters.

pinin_get_usage

Usage analytics

Read usage analytics for the last `days`: totals for requests, errors, restorations and credits; the current month's credits used and balance; a per-key breakdown; and a per-day series. Use it to explain a spend, a spike in errors or a quiet account; use pinin_get_account for the current limits and balance on their own. Read-only and free.

ParameterTypeRequiredDescription
daysintegernoWindow in days, 1–90. Default 30. The monthly block is calendar-month, not this window.

pinin_list_modes

Available restoration modes

List the restoration modes available to this account, each with its id, display name, what it changes in the photograph and its credit cost. Read it before choosing `mode` for pinin_restore_photo, or to explain the options to a user in their own words. Takes no arguments, costs nothing and does not touch any job.

No parameters.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://pinin.ai/api/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http pinin https://pinin.ai/api/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : pinin ; URL : https://pinin.ai/api/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : pinin ; Server URL : https://pinin.ai/api/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "pinin": {
      "url": "https://pinin.ai/api/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "pinin": {
      "type": "http",
      "url": "https://pinin.ai/api/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "pinin": {
      "url": "https://pinin.ai/api/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "pinin": {
      "httpUrl": "https://pinin.ai/api/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.pinin]
url = "https://pinin.ai/api/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Pinin · L’Atlas · Tested on

Markdown
[Pinin — L’Atlas](https://latlas.dev/en/mcp/io.github.Pinin-ai/pinin)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 4 Dec 2026. L’Atlas adds no data beyond this source and its own tests.