finhay-mcp-server 1.0.5 → 1.0.7
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 +27 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,29 +14,45 @@ Ban se nhan duoc:
|
|
|
14
14
|
|
|
15
15
|
### Buoc 2: Ket noi voi Claude
|
|
16
16
|
|
|
17
|
-
Chon **mot trong
|
|
17
|
+
Chon **mot trong bon** cach sau:
|
|
18
18
|
|
|
19
|
-
#### Cach 1: Cai dat
|
|
19
|
+
#### Cach 1: Cai dat nhanh (can Node.js)
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
Neu ban da co Node.js (>= 18), chay lenh sau:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
npx -y finhay-mcp-server --install
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
Script se hoi API Key/Secret (Secret duoc an bang dau `*`), tu dong ghi config vao Claude Desktop.
|
|
28
28
|
|
|
29
|
-
#### Cach 2:
|
|
29
|
+
#### Cach 2: Cai dat tu dong (khong can Node.js)
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
Mo Terminal (macOS) hoac PowerShell (Windows), dan lenh sau va nhan Enter:
|
|
32
|
+
|
|
33
|
+
**macOS:**
|
|
34
|
+
```bash
|
|
35
|
+
curl -fsSL https://raw.githubusercontent.com/finhay-pro/finhay-skills-hub/main/skills/_shared/scripts/mcp/install.sh | bash
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**Windows (PowerShell):**
|
|
39
|
+
```powershell
|
|
40
|
+
irm https://raw.githubusercontent.com/finhay-pro/finhay-skills-hub/main/skills/_shared/scripts/mcp/install.ps1 | iex
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Script se tu dong cai Node.js (neu chua co), hoi API Key/Secret, va cau hinh Claude Desktop.
|
|
44
|
+
|
|
45
|
+
#### Cach 3: Claude Code CLI
|
|
46
|
+
|
|
47
|
+
Neu ban da cai [Claude Code](https://docs.anthropic.com/en/docs/claude-code) va muon su dung trong terminal:
|
|
32
48
|
|
|
33
49
|
```bash
|
|
34
50
|
claude mcp add finhay -- npx -y finhay-mcp-server
|
|
35
51
|
```
|
|
36
52
|
|
|
37
|
-
|
|
53
|
+
> Luu y: Cach nay chi them MCP server vao Claude Code CLI, **khong dong bo** sang Claude Desktop. Neu muon dung tren Claude Desktop, hay dung Cach 1, 2 hoac 4.
|
|
38
54
|
|
|
39
|
-
#### Cach
|
|
55
|
+
#### Cach 4: Cau hinh thu cong
|
|
40
56
|
|
|
41
57
|
**Buoc 3a.** Tao file credentials tai `~/.finhay/credentials/.env`:
|
|
42
58
|
|
|
@@ -55,7 +71,7 @@ FINHAY_API_SECRET=sk_live_yyy
|
|
|
55
71
|
"mcpServers": {
|
|
56
72
|
"finhay": {
|
|
57
73
|
"command": "npx",
|
|
58
|
-
"args": ["-y", "
|
|
74
|
+
"args": ["-y", "finhay-mcp-server"]
|
|
59
75
|
}
|
|
60
76
|
}
|
|
61
77
|
}
|
|
@@ -63,6 +79,8 @@ FINHAY_API_SECRET=sk_live_yyy
|
|
|
63
79
|
|
|
64
80
|
> API Key/Secret **khong nam** trong file config Claude — duoc luu rieng tai `~/.finhay/credentials/.env` (dung chung voi Finhay Skills).
|
|
65
81
|
|
|
82
|
+
Sau khi hoan tat, khoi dong lai Claude Desktop la xong.
|
|
83
|
+
|
|
66
84
|
### Buoc 3: Su dung
|
|
67
85
|
|
|
68
86
|
Mo Claude, hoi:
|