one-design-mcp 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +133 -2
  2. package/dist/server.js +6215 -0
  3. package/package.json +50 -4
package/README.md CHANGED
@@ -1,3 +1,134 @@
1
- # Temporary Holding Version
1
+ # One Design for Claude (MCP)
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Every one.design tool that can run outside a browser, for Claude and any app that speaks MCP.
4
+ Everything runs on your own computer: your files are read and saved locally and never uploaded.
5
+
6
+ Setup guide, examples and questions: **https://one.design/claude**
7
+
8
+ The few tools that run an AI model in the browser (Cutout, Blur Faces, Magic Eraser, Brand
9
+ Guidelines) open on one.design instead, where they also run on your device.
10
+
11
+ ## Tools
12
+
13
+ **Optimise**
14
+
15
+ | Tool | Plan | What it does |
16
+ |---|---|---|
17
+ | `compress_images` | Free | Smaller images, by quality or to a size (e.g. under 500 KB) |
18
+ | `resize_images` | Free | To a width, height, both or a percent: fit inside, fill and crop, or pad |
19
+ | `convert_images` | Free | To WebP, JPEG, PNG or AVIF, including iPhone HEIC photos |
20
+ | `fit_fill` | Free | The whole picture on a set canvas, with a blurred or colour fill |
21
+ | `rename_files` | Free | Rename a set with a pattern: `{name}`, `{n}`, `{date}`, `{w}x{h}` |
22
+ | `slim_svg` | Free | Smaller SVGs, with a render check |
23
+ | `multi_crop` | Pro | Several crops and sizes from each image at once |
24
+ | `grid_slide` | Pro | Profile grids in posting order, and carousel slides |
25
+ | `make_web_image_set` | Pro | Responsive widths and formats plus the srcset snippet |
26
+ | `make_listing_photos` | Pro | Product photos framed for Amazon, Etsy, eBay, Shopify… |
27
+ | `make_campaign_kit` | Pro | One creative as a matched set of social, web and ad sizes |
28
+
29
+ **Privacy**
30
+
31
+ | Tool | Plan | What it does |
32
+ |---|---|---|
33
+ | `clean_metadata` | Free | Removes GPS, camera, dates, XMP, IPTC and AI labels without touching the pixels |
34
+ | `redact_images` | Free | Covers parts of screenshots: solid, blur or pixelate; same boxes across a set |
35
+ | `lock_link` | Free | Any link behind a password (AES-256, nothing stored on a server) |
36
+
37
+ **Brand**
38
+
39
+ | Tool | Plan | What it does |
40
+ |---|---|---|
41
+ | `make_qr_code` | Free (1 at a time) / Pro (batches) | QR codes in your colours, PNG or SVG |
42
+ | `watermark_images` | Free | Text or logo, in a corner or tiled |
43
+ | `extract_palette` | Free | The colours in an image, with swatches |
44
+ | `make_icon_pack` | Free | Favicons, app icons, a web manifest and the HTML |
45
+ | `make_stamps` | Free | Postage stamps, rubber stamps and seals |
46
+ | `make_stat_shot` | Free (with a small credit) / Pro | Milestones as shareable images |
47
+ | `make_logo_package` | Pro | A master logo as a full delivery folder |
48
+ | `frame_screenshots` | Pro | Screenshots in browser, phone, tablet or laptop frames |
49
+ | `make_store_screenshots` | Pro | App Store and Google Play screenshots with titles |
50
+ | `make_bento` | Pro | A bento grid of photos, text and colour tiles |
51
+
52
+ **Documents**
53
+
54
+ | Tool | Plan | What it does |
55
+ |---|---|---|
56
+ | `pdf_toolkit` | Free | Merge, split, extract, reorder, rotate, info, clean PDF metadata |
57
+ | `make_proof_sheet` | Pro | Images as a PDF contact sheet |
58
+ | `make_cards` | Pro | Spreadsheet rows into branded cards |
59
+ | `check_delivery` | Pro | Checks a batch against a delivery spec and says which tool fixes what |
60
+
61
+ **Account and guide**
62
+
63
+ | Tool | What it does |
64
+ |---|---|
65
+ | `plan_and_pricing` | Your plan, what Free and Pro include, and the price |
66
+ | `buy_pro` | Opens Stripe checkout for Pro (Lifetime) in your browser |
67
+ | `sign_in`, `verify_sign_in`, `sign_out` | Sign in with an emailed code to unlock Pro here |
68
+ | `manage_billing` | Receipts, card and invoices |
69
+ | `brand_library` | Your synced Brand Libraries: colours, fonts, logos (Pro) |
70
+ | `list_tools` | Every one.design tool, its plan and how to run it |
71
+ | `open_in_one_design` | Opens a tool on the site (for Cutout, Blur Faces, Magic Eraser, Brand Guidelines) |
72
+
73
+ ## Prompts (ready-made jobs)
74
+
75
+ `blog-images`, `social-post`, `client-delivery`, `portfolio-piece`, `shop-listing`,
76
+ `app-store-launch`, `brand-kit`, `share-privately`, `website-images`, `milestone-post`.
77
+
78
+ ## Resources
79
+
80
+ `one-design://guide` (how to get good results), `one-design://presets/sizes` (social, store, web,
81
+ marketplace and print sizes), `one-design://tools` (the full catalogue), `one-design://plans`.
82
+
83
+ ## Plans
84
+
85
+ - **Free**: the Free tools, 5 files per batch, 1 QR code at a time, a small credit on Stat Shot, no
86
+ Brand Libraries.
87
+ - **Pro**: every tool, batches of 50, 50 QR codes at once, no credit, Brand Libraries.
88
+ Lifetime £29.99 once (launch price, was £79.99).
89
+
90
+ Pro is bought on Stripe (`buy_pro`, or one.design/pricing) and unlocks here when you sign in with
91
+ the same email (`sign_in`). The session is kept in `~/.config/one-design/mcp-account.json`.
92
+
93
+ ## Try asking
94
+
95
+ - "Compress everything in ~/Desktop/shoot to under 500 KB"
96
+ - "Remove the location from these photos before I post them"
97
+ - "Make App Store screenshots from these with these titles…"
98
+ - "Turn this logo into a favicon pack and a full logo package"
99
+ - "Merge these PDFs and take out page 3"
100
+ - "What's free and what's Pro?" / "Buy Pro"
101
+
102
+ ## Install
103
+
104
+ Needs Node.js 20 or newer.
105
+
106
+ **Claude Code**
107
+
108
+ ```bash
109
+ claude mcp add one-design -- npx -y one-design-mcp
110
+ ```
111
+
112
+ **Claude Desktop**: Settings → Developer → Edit Config, then add to `claude_desktop_config.json`:
113
+
114
+ ```json
115
+ {
116
+ "mcpServers": {
117
+ "one-design": { "command": "npx", "args": ["-y", "one-design-mcp"] }
118
+ }
119
+ }
120
+ ```
121
+
122
+ ## Developing
123
+
124
+ ```bash
125
+ npm install
126
+ npm run build
127
+ claude mcp add one-design -- node /path/to/one-design/mcp/dist/server.js
128
+ ```
129
+
130
+ The build takes the site's public Supabase address and anon key from `../.env.local` (or
131
+ `ONE_DESIGN_SUPABASE_URL` / `ONE_DESIGN_SUPABASE_ANON_KEY`) so sign-in and checkout work.
132
+ `ONE_DESIGN_PAYMENTS=off` makes a free-beta build with every tool open. Link Lock's encryption is
133
+ the website's own (`src/lib/linklock.ts`), bundled at build time, so links made here open on
134
+ one.design. Plan rules mirror `src/lib/plans.ts` and `src/lib/plan.ts`: keep `src/plan.ts` in step.