apt-mcp-agent-setup 1.3.23 → 1.3.25

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.
@@ -2,51 +2,51 @@
2
2
 
3
3
  How the design-to-code skills connect to external design tools.
4
4
 
5
- ## Figma (if configured)
5
+ ## Figma
6
6
 
7
7
  | Setting | Value |
8
8
  |---|---|
9
9
  | **MCP Server** | `GLips/Figma-Context-MCP` |
10
- | **Auth** | `FIGMA_ACCESS_TOKEN` env var (Personal Access Token, free) |
11
- | **Mode** | Read-only — extracts layout, styles, assets |
12
- | **Get token** | https://www.figma.com/developers/api#access-tokens |
10
+ | **Auth** | `FIGMA_ACCESS_TOKEN` environment variable |
11
+ | **Mode** | Read-only layout, style, and asset extraction |
13
12
 
14
- ### Usage
13
+ Paste a Figma file or frame URL in chat. The agent reads the design and routes the result to the design-to-code flow.
15
14
 
16
- Paste a Figma file or frame URL in chat:
17
- ```
18
- https://figma.com/file/{fileKey}/{fileName}
19
- https://figma.com/file/{fileKey}?node-id={nodeId}
20
- ```
21
-
22
- Agent auto-detects → extracts design → generates code.
23
-
24
- ## Stitch (if configured)
15
+ ## Stitch
25
16
 
26
17
  | Setting | Value |
27
18
  |---|---|
28
- | **MCP Server** | `@_davideast/stitch-mcp` |
29
- | **Auth** | Google account (browser login) |
30
- | **Mode** | Collaborative — agent creates → user tweaks → agent pulls code |
31
- | **Cost** | Free (Google Labs Beta) |
32
- | **Enable** | `STITCH_ENABLED=true` env var |
19
+ | **MCP Server** | `@_davideast/stitch-mcp@0.9.0` |
20
+ | **Transport** | `proxy` over stdio |
21
+ | **Activation** | Automatic for the `stitch` and `system` presets |
22
+ | **Mode** | Agent creates, user edits in Stitch, agent pulls code |
33
23
 
34
- ### Usage
24
+ Authenticate once, then restart the MCP client:
35
25
 
36
- Ask agent to design a screen:
26
+ ```bash
27
+ npx --yes @_davideast/stitch-mcp@0.9.0 init
37
28
  ```
38
- "Design login page cho banking app"
39
- "Tạo giao diện dashboard từ specs này"
29
+
30
+ Check authentication and API access with:
31
+
32
+ ```bash
33
+ npx --yes @_davideast/stitch-mcp@0.9.0 doctor --verbose
40
34
  ```
41
35
 
42
- Agent creates on Stitch → shares link → user tweaks → says "pull code".
36
+ `STITCH_API_KEY` can replace browser authentication. `STITCH_ENABLED=true` remains an optional compatibility override. Set `STITCH_ENABLED=false` to disable the backend even when the preset includes Stitch.
43
37
 
44
- ## Environment Variables
38
+ ### Public tools
45
39
 
46
- ```bash
47
- # Figma (free)
48
- export FIGMA_ACCESS_TOKEN=figd_xxxxx
40
+ - `design-stitch-create-project`
41
+ - `design-stitch-list-projects`
42
+ - `design-stitch-get-project`
43
+ - `design-stitch-list`
44
+ - `design-stitch-get-screen`
45
+ - `design-stitch-generate`
46
+ - `design-stitch-edit`
47
+ - `design-stitch-get-code`
48
+ - `design-stitch-get-image`
49
49
 
50
- # Stitch (free beta)
51
- export STITCH_ENABLED=true
52
- ```
50
+ There is no separate Design DNA tool. The agent derives design tokens from screen metadata and downloaded code.
51
+
52
+ The Stitch MCP package is an independent experimental project. It is not maintained or endorsed by Google.