@feimacode/open-design-agent-kit-mcp 0.1.5 → 0.1.8

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 +29 -29
  2. package/out/index.js +127791 -1656
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -1,31 +1,38 @@
1
1
  # @feimacode/open-design-agent-kit-mcp
2
2
 
3
- The [OpenDesign](https://github.com/nexu-io/open-design) skill/design-system/artifact workflow as a standalone MCP server — for Claude Code, Codex, Cursor, or any other MCP-capable coding agent. Same nine tools and the same content library (163 skills, 114 design templates, 152 brand design systems, 167 remixable examples) as the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=feima.open-design-agent-kit), over stdio instead of native `languageModelTools`.
3
+ **Pro-grade design for any MCP-capable coding agent. One command, nothing else to run.**
4
4
 
5
- No daemon, no account, no editor required. Your agent's own selected model does the actual generation with its normal file-editing tools; this server only composes instructions and does the bookkeeping (manifests, active design system) around them.
5
+ This is [Open Design](https://github.com/nexu-io/open-design)'s design library and workflow, packaged as a plain stdio MCP server for Claude Code, Codex, Cursor, and anything else that speaks MCP. It includes 163 skills, 114 design templates, 152 brand design systems, and 167 remixable examples. Ask your agent for a deck, a landing page, a dashboard, or a prototype, and it builds one that looks designed rather than generated, as real files in your project.
6
6
 
7
- ## What you get
7
+ - **No desktop app, no daemon, no account.** Your agent launches the server on demand over stdio, and it exits when the agent does.
8
+ - **No API keys or model settings.** The server never calls a model. Your agent's own selected model does the generation with its normal file-editing tools. The server supplies the library and handles the bookkeeping (manifests, active design system).
9
+ - **Zero config.** It works in the current project out of the box. The active design system is remembered in `.open-design/config.json`.
10
+ - **Plain files.** Everything it produces is ordinary HTML plus small JSON sidecars in your repo, so you can diff, review, and commit it.
11
+
12
+ It has the same core tools and the same content as the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=feima.open-design-agent-kit), over MCP instead of native `languageModelTools`.
13
+
14
+ ## See what it builds
8
15
 
9
16
  Four of the ~280 vendored skills and templates, rendered exactly as-is:
10
17
 
11
18
  <table>
12
19
  <tr>
13
20
  <td width="50%" valign="top">
14
- <img src="../../docs/screenshots/examples/dating-web.png" alt="Consumer dating-app dashboard, editorial typography" width="100%"/><br/>
21
+ <img src="https://raw.githubusercontent.com/feimacode/open-design-agent-kit/main/docs/screenshots/examples/dating-web.png" alt="Consumer dating-app dashboard, editorial typography" width="100%"/><br/>
15
22
  <sub><b>"Design a dating-site dashboard — mutuals, match rate, a 30-day trend."</b></sub>
16
23
  </td>
17
24
  <td width="50%" valign="top">
18
- <img src="../../docs/screenshots/examples/gamified-app.png" alt="Gamified habit-tracking mobile app, three phone frames" width="100%"/><br/>
25
+ <img src="https://raw.githubusercontent.com/feimacode/open-design-agent-kit/main/docs/screenshots/examples/gamified-app.png" alt="Gamified habit-tracking mobile app, three phone frames" width="100%"/><br/>
19
26
  <sub><b>"A habit-tracking app with daily quests and XP."</b></sub>
20
27
  </td>
21
28
  </tr>
22
29
  <tr>
23
30
  <td width="50%" valign="top">
24
- <img src="../../docs/screenshots/examples/deck-swiss-international.png" alt="Board strategy deck, Swiss International style" width="100%"/><br/>
31
+ <img src="https://raw.githubusercontent.com/feimacode/open-design-agent-kit/main/docs/screenshots/examples/deck-swiss-international.png" alt="Board strategy deck, Swiss International style" width="100%"/><br/>
25
32
  <sub><b>"A board-ready strategy deck, Swiss International style."</b></sub>
26
33
  </td>
27
34
  <td width="50%" valign="top">
28
- <img src="../../docs/screenshots/examples/card-xiaohongshu.png" alt="Xiaohongshu-style swipeable knowledge card" width="100%"/><br/>
35
+ <img src="https://raw.githubusercontent.com/feimacode/open-design-agent-kit/main/docs/screenshots/examples/card-xiaohongshu.png" alt="Xiaohongshu-style swipeable knowledge card" width="100%"/><br/>
29
36
  <sub><b>"5 tips, as a Xiaohongshu-style swipeable card carousel."</b></sub>
30
37
  </td>
31
38
  </tr>
@@ -47,7 +54,7 @@ That's a plain stdio MCP server. Register it with your agent:
47
54
  claude mcp add open-design -- npx -y @feimacode/open-design-agent-kit-mcp
48
55
  ```
49
56
 
50
- Or install the [Claude Code plugin](https://github.com/feimacode/open-design-agent-kit#ways-to-use-it) instead — it registers this server automatically and adds 23 curated `/open-design:*` skills on top.
57
+ Or install the [Claude Code plugin](https://github.com/feimacode/open-design-agent-kit/blob/main/docs/getting-started/claude-code.md) instead: it registers this server automatically and adds the Open Design skills on top.
51
58
 
52
59
  **Codex CLI**
53
60
 
@@ -63,7 +70,7 @@ command = "npx"
63
70
  args = ["-y", "@feimacode/open-design-agent-kit-mcp"]
64
71
  ```
65
72
 
66
- See [docs/codex.md](https://github.com/feimacode/open-design-agent-kit/blob/main/docs/codex.md) for the matching `SKILL.md` you can copy into `.agents/skills/open-design/`.
73
+ Or run `npx @feimacode/open-design-agent-kit init --tools codex` to add the matching skills too. See [Codex setup](https://github.com/feimacode/open-design-agent-kit/blob/main/docs/getting-started/codex.md).
67
74
 
68
75
  **Any other MCP host** — the generic config shape:
69
76
 
@@ -78,30 +85,23 @@ See [docs/codex.md](https://github.com/feimacode/open-design-agent-kit/blob/main
78
85
  }
79
86
  ```
80
87
 
81
- ## Tools
88
+ ## Tools and prompts
82
89
 
83
- | Tool | Does |
84
- |---|---|
85
- | `list_open_design_skills` | Browse skills, design templates, and remixable examples — filter by free-text query or an exact mode (`prototype`, `deck`, `design-system`, `image`, `video`, `template`, `utility`, `audio`). |
86
- | `list_open_design_design_systems` | Browse the ~152 brand design systems — filter by query or category. |
87
- | `prepare_open_design_brief` | Compose generation instructions from a skill, an optional design system, and your brief. Writes nothing — you author the file(s) yourself, then register them. |
88
- | `register_open_design_artifact` | Validate an artifact you've written and record its manifest sidecar (`<entry>.artifact.json`). |
89
- | `get_open_design_artifact` | Read back a registered artifact's manifest, entry content, and any open comments. |
90
- | `set_active_design_system` | Set (or clear) the workspace's active design system, used automatically by `prepare_open_design_brief`. |
91
- | `create_open_design_design_system` | Compose instructions to author a new `DESIGN.md`, optionally seeded from a reference URL's colors/fonts. |
92
- | `port_open_design_artifact_to_app` | Compose instructions to port a finished artifact into your real app as idiomatic production code. |
93
- | `remix_open_design_example` | Copy a curated example artifact into the workspace as a starting point, and get instructions to modify — not regenerate — it. |
90
+ 11 tools, the same as the VS Code extension's (minus community sharing):
94
91
 
95
- JSON Schemas mirror the VS Code extension's `languageModelTools` 1:1 — see [`src/index.ts`](https://github.com/feimacode/open-design-agent-kit/blob/main/packages/mcp-server/src/index.ts) for the exact shapes.
92
+ - **Catalog:** `list_open_design_skills`, `list_open_design_design_systems`
93
+ - **Generating:** `prepare_open_design_brief`, `register_open_design_artifact`, `get_open_design_artifact`, `remix_open_design_example`
94
+ - **Design systems:** `set_active_design_system`, `create_open_design_design_system`
95
+ - **Beyond the prototype:** `port_open_design_artifact_to_app`, `pull_open_design_figma_frame`
96
+ - **Export:** `export_open_design_artifact` (PNG/JPEG, deck PowerPoint/PDF, page PDF; needs an installed Chrome, Edge or Chromium)
96
97
 
97
- ## Configuration
98
+ MCP prompts: `open-design-social-post`, and one `od-<mode>-<id>` prompt per remixable example.
98
99
 
99
- | Environment variable | Default | |
100
- |---|---|---|
101
- | `OPEN_DESIGN_WORKSPACE_ROOT` | the launching process's `cwd` | Where artifacts get written and `.open-design/config.json` (active design system) is read/written. |
102
- | `OPEN_DESIGN_OUTPUT_DIR` | `.open-design` | Workspace-relative directory new artifacts are suggested under. |
100
+ Arguments, results and errors: [tools reference](https://github.com/feimacode/open-design-agent-kit/blob/main/docs/reference/tools.md). Prompts: [prompts and commands](https://github.com/feimacode/open-design-agent-kit/blob/main/docs/reference/prompts-and-commands.md#claude-code).
101
+
102
+ ## Configuration
103
103
 
104
- Both Claude Code and Codex already launch a local stdio MCP server with `cwd` set to the active project, so the default is usually right — the override exists for testing or an unusual host.
104
+ Zero config by default. The server works in the directory your agent starts it in. Optional environment variables (`OPEN_DESIGN_WORKSPACE_ROOT`, `OPEN_DESIGN_OUTPUT_DIR`, `OPEN_DESIGN_FIGMA_TOKEN`, `OPEN_DESIGN_BROWSER_PATH`) are described in [settings and environment variables](https://github.com/feimacode/open-design-agent-kit/blob/main/docs/reference/settings-and-env.md#environment-variables).
105
105
 
106
106
  ## What's not here
107
107
 
@@ -109,7 +109,7 @@ Live preview, inline comments, and WYSIWYG editing are webview-based and stay VS
109
109
 
110
110
  ## More
111
111
 
112
- Full project layout, how content is vendored/synced, and development instructions live in the [main repo](https://github.com/feimacode/open-design-agent-kit).
112
+ [Documentation](https://github.com/feimacode/open-design-agent-kit/blob/main/docs/README.md) · [Troubleshooting](https://github.com/feimacode/open-design-agent-kit/blob/main/docs/troubleshooting.md) · [Social media posts](https://github.com/feimacode/open-design-agent-kit/blob/main/docs/guides/social-posts.md) · [Export decks and PDFs](https://github.com/feimacode/open-design-agent-kit/blob/main/docs/guides/export-decks.md)
113
113
 
114
114
  ## License
115
115