fresnel-mcp 0.1.1 → 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.
- package/README.md +20 -4
- package/dist/server.js +949 -336
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -15,14 +15,30 @@ MCP server for [fresnel](https://github.com/kajisho5/fresnel). It lets AI agents
|
|
|
15
15
|
- **Network:** none.
|
|
16
16
|
|
|
17
17
|
**Tools**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
|
|
19
|
+
<!-- spec:tools -->
|
|
20
|
+
12 tools, 3 resources and 1 prompt — generated from the [SPEC contract](https://github.com/kajisho5/fresnel/blob/main/docs/contract.json); every tool also runs from the CLI.
|
|
21
|
+
|
|
22
|
+
| Tool (MCP) | CLI | Role | What it does |
|
|
23
|
+
|---|---|---|---|
|
|
24
|
+
| `icon_create` | `fresnel create` | create | Creates a new `.icon` with a background (color, gradient or system) and an optional dark background |
|
|
25
|
+
| `icon_inspect` | `fresnel call icon_inspect` | inspect | Lists groups, layers, attributes and every variant |
|
|
26
|
+
| `icon_add_group` | `fresnel add-group` | edit | Adds a group (the unit that carries the glass settings) |
|
|
27
|
+
| `icon_add_layer` | `fresnel add-layer` | edit | Adds a layer from inline SVG, an image file or PNG data |
|
|
28
|
+
| `icon_set` | `fresnel set` | edit | Sets attributes for all appearances, or a dark / tinted / platform variant |
|
|
29
|
+
| `icon_move` | `fresnel move` | edit | Reorders groups and layers, or moves a layer to another group |
|
|
30
|
+
| `icon_align` | `fresnel align` | edit | Aligns or distributes groups or layers (to each other or to the canvas) |
|
|
31
|
+
| `icon_remove` | `fresnel remove` | edit | Deletes a group or layer (unused assets go too) |
|
|
32
|
+
| `icon_validate` | `fresnel call icon_validate` | check | Runs the icon checks (schema and Apple HIG) |
|
|
33
|
+
| `icon_render` | `fresnel call icon_render` | render | Returns a PNG of one appearance as an image the model can see |
|
|
34
|
+
| `icon_render_sheet` | `fresnel render-sheet` | render | Returns all six appearances side by side as one PNG |
|
|
35
|
+
| `icon_export` | `fresnel call icon_export` | export | Writes `.icon`, `.icns`, `AppIcon.appiconset` and PNG sets |
|
|
36
|
+
<!-- /spec:tools -->
|
|
22
37
|
|
|
23
38
|
**Resources**
|
|
24
39
|
- `fresnel://guide/icon-design`
|
|
25
40
|
- `fresnel://schema/icon-json`
|
|
41
|
+
- `fresnel://contract` — the SPEC contract: every tool with its input/output JSON Schema, role, verification steps and examples (also `npx fresnel-icon contract --json`)
|
|
26
42
|
|
|
27
43
|
**Prompt**
|
|
28
44
|
- `design_app_icon`
|