@f2c/mcp 1.0.0-alpha.1 → 1.0.0-alpha.2
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 +10 -10
- package/dist/index.js +43 -46
- package/dist/index.js.map +8 -8
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @f2c/mcp(alpha)
|
|
2
2
|
|
|
3
3
|
## 版本说明
|
|
4
|
-
- 当前版本:`1.0.0-alpha.
|
|
4
|
+
- 当前版本:`1.0.0-alpha.2`
|
|
5
5
|
- 该版本为早期预览,接口与参数可能迭代更新;后续会根据使用反馈持续完善
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
## STDIO 模式运行
|
|
9
9
|
```bash
|
|
10
|
-
npx -y @f2c/mcp@1.0.0-alpha.
|
|
10
|
+
npx -y @f2c/mcp@1.0.0-alpha.2 --mcpServer=http://localhost:3000 --accessToken=唯一令牌
|
|
11
11
|
```
|
|
12
|
-
+ `mcpServer` 为 MCP 服务器地址,默认值为 `https://f2c-figma-mcp.yy.com
|
|
12
|
+
+ `mcpServer` 为 MCP 服务器地址,默认值为 `https://f2c-figma-mcp.yy.com`
|
|
13
13
|
+ `accessToken` 为 MCP 客户端令牌,默认值为空字符串
|
|
14
14
|
|
|
15
15
|
## IDE 配置示例(STDIO)
|
|
@@ -22,9 +22,9 @@ npx -y @f2c/mcp@1.0.0-alpha.1 --mcpServer=http://localhost:3000/mcp --accessToke
|
|
|
22
22
|
"command": "npx",
|
|
23
23
|
"args": [
|
|
24
24
|
"-y",
|
|
25
|
-
"@f2c/mcp@1.0.0-alpha.
|
|
26
|
-
"--mcpServer=
|
|
27
|
-
"--accessToken
|
|
25
|
+
"@f2c/mcp@1.0.0-alpha.2",
|
|
26
|
+
"--mcpServer=https://f2c-figma-mcp.yy.com",
|
|
27
|
+
"--accessToken=xxx-xxx-xxx-xxx"
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -42,9 +42,9 @@ npx -y @f2c/mcp@1.0.0-alpha.1 --mcpServer=http://localhost:3000/mcp --accessToke
|
|
|
42
42
|
"/c",
|
|
43
43
|
"npx",
|
|
44
44
|
"-y",
|
|
45
|
-
"@f2c/mcp@1.0.0-alpha.
|
|
46
|
-
"--mcpServer=
|
|
47
|
-
"--accessToken
|
|
45
|
+
"@f2c/mcp@1.0.0-alpha.2",
|
|
46
|
+
"--mcpServer=https://f2c-figma-mcp.yy.com",
|
|
47
|
+
"--accessToken=xxx-xxx-xxx-xxx"
|
|
48
48
|
]
|
|
49
49
|
}
|
|
50
50
|
}
|