Pinin
io.github.Pinin-ai/pinin
MCP server OK 8 tools
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
[](https://latlas.dev/en/mcp/io.github.Pinin-ai/pinin)<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
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.Pinin-ai/pinin)<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
| Date | Result | Response | Tools |
|---|---|---|---|
| 4 Dec 2026, 17:30 | OK | 432 ms | 8 |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| image_url | string | no | Public https URL of one photograph. Any image format; the URL must be reachable by Pinin, not a private or localhost address. |
| images | array<string | object> | no | Batch 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_base64 | string | no | Inline 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_type | string | no | Content type of `image_base64`, for example `image/jpeg` or `image/png`. Ignored when the input is a URL. |
| mode | enum: "all-in-one" | "dust-scratch" | "colorize" | "deblur-upscale" | "upscale-only" | no | What 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… |
| seed | integer | no | Deterministic output: the same seed with the same image and mode gives the same result. Omit for a fresh variation. |
| metadata | object | no | Your 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_key | string | no | 8–128 printable ASCII characters. A repeat with the same key returns the jobs the first call created instead of queueing and charging again. |
| dry_run | boolean | no | Price 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Restoration 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limit | integer | no | Page size, 1–100. Default 20. |
| status | enum: "pending" | "processing" | "completed" | "failed" | no | Return only jobs in this state. Omit for every job regardless of state. |
| mode | enum: "all-in-one" | "dust-scratch" | "colorize" | "deblur-upscale" | "upscale-only" | no | Return only jobs queued with this restoration mode. Omit for every mode. |
| created_before | string | no | ISO 8601 cursor: `next_cursor` from the previous page. Pages newest-first, so this walks backwards in time. |
| created_before_id | string | no | Tiebreaker cursor: `next_cursor_id` from the previous page. Send it with `created_before` or the page boundary can repeat a job. |
| updated_since | string | no | ISO 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Restoration id of a completed job — the `id` field from pinin_restore_photo or pinin_list_restorations. |
| image | enum: "restored" | "original" | no | Which 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Restoration 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| days | integer | no | Window 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.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://pinin.ai/api/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http pinin https://pinin.ai/api/mcpCustomize > Connectors > + Add > Add custom connector ; Name : pinin ; URL : https://pinin.ai/api/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : pinin ; Server URL : https://pinin.ai/api/mcp ; Create as a plugin{
"mcpServers": {
"pinin": {
"url": "https://pinin.ai/api/mcp"
}
}
}{
"mcpServers": {
"pinin": {
"type": "http",
"url": "https://pinin.ai/api/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"pinin": {
"url": "https://pinin.ai/api/mcp"
}
}
}{
"mcpServers": {
"pinin": {
"httpUrl": "https://pinin.ai/api/mcp"
}
}
}[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
[Pinin — L’Atlas](https://latlas.dev/en/mcp/io.github.Pinin-ai/pinin)Source : Registre officiel MCP · retrieved 4 Dec 2026. L’Atlas adds no data beyond this source and its own tests.