ti18n-mcp 0.1.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 ADDED
@@ -0,0 +1,53 @@
1
+ # ti18n-mcp
2
+
3
+ 将 Excel 转换为 ti18n 平台可用格式的 MCP 工具。
4
+
5
+ ## 功能
6
+
7
+ - 将用户上传的 Excel 文件转换为 ti18n 平台可用的 Excel 格式
8
+ - 支持 `.xlsx` 和 `.xls` 格式
9
+ - 自动生成输出文件或指定输出路径
10
+
11
+ ## 安装
12
+
13
+ ```bash
14
+ pnpm add ti18n-mcp
15
+ ```
16
+
17
+ ## 使用
18
+
19
+ ### 作为 MCP 工具
20
+
21
+ 在 MCP 配置中添加:
22
+
23
+ ```json
24
+ {
25
+ "mcpServers": {
26
+ "ti18n": {
27
+ "command": "npx",
28
+ "args": ["ti18n-mcp"]
29
+ }
30
+ }
31
+ }
32
+ ```
33
+
34
+ ### 工具参数
35
+
36
+ | 参数 | 类型 | 必填 | 说明 |
37
+ |------|------|------|------|
38
+ | `inputPath` | string | 是 | 输入的 Excel 文件路径 |
39
+ | `outputPath` | string | 否 | 输出的 Excel 文件路径,默认自动生成 |
40
+
41
+ ## 示例
42
+
43
+ ```
44
+ 将 ./translations.xlsx 转换为 ti18n 格式
45
+ ```
46
+
47
+ 输出文件将保存为 `./translations_ti18n.xlsx`
48
+
49
+ <img src="https://cdn.uwayfly.com/article/2026/2/own_mike_84wtHAPysCtMx3H4.gif" width="500" />
50
+
51
+ ## License
52
+
53
+ MIT
@@ -0,0 +1,2 @@
1
+
2
+ export { }