tt-design-mcp 1.0.0 → 1.0.1
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 +13 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,19 @@ npm install -D tt-design-mcp
|
|
|
28
28
|
|
|
29
29
|
### 2. 配置 MCP Client
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
如果使用 Claude Code,推荐在已安装 `tt-design` 的项目根目录执行:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
claude mcp add --scope project --transport stdio tt-design -- npx tt-design-mcp
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
如果在 Windows 上使用 Claude Code,请加上 `cmd /c` 包装:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
claude mcp add --scope project --transport stdio tt-design -- cmd /c npx tt-design-mcp
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
如果需要手动配置,也可以在 Claude Code 等 MCP Client 的配置中添加:
|
|
32
44
|
|
|
33
45
|
```json
|
|
34
46
|
{
|