mcp-ghost-optimized 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 +39 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,14 +8,47 @@ Le MCP officiel `@fanyangmeng/ghost-mcp` retourne ~14K tokens par appel. Ce MCP
|
|
|
8
8
|
|
|
9
9
|
## Installation
|
|
10
10
|
|
|
11
|
+
### Via Claude Code CLI
|
|
12
|
+
|
|
11
13
|
```bash
|
|
14
|
+
# Installation globale
|
|
15
|
+
claude mcp add ghost-optimized -e GHOST_URL=https://votre-blog.ghost.io -e GHOST_ADMIN_API_KEY=id:secret -- npx -y mcp-ghost-optimized
|
|
16
|
+
|
|
17
|
+
# Installation dans un projet spécifique
|
|
18
|
+
claude mcp add ghost-optimized -s project -e GHOST_URL=https://votre-blog.ghost.io -e GHOST_ADMIN_API_KEY=id:secret -- npx -y mcp-ghost-optimized
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
> Le nom `ghost-optimized` évite les conflits si vous avez déjà un MCP Ghost installé.
|
|
22
|
+
|
|
23
|
+
### Via `.mcp.json` (manuel)
|
|
24
|
+
|
|
25
|
+
Ajouter dans votre `.mcp.json` :
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"mcpServers": {
|
|
30
|
+
"ghost-optimized": {
|
|
31
|
+
"command": "npx",
|
|
32
|
+
"args": ["-y", "mcp-ghost-optimized"],
|
|
33
|
+
"env": {
|
|
34
|
+
"GHOST_URL": "https://votre-blog.ghost.io",
|
|
35
|
+
"GHOST_ADMIN_API_KEY": "id:secret"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Installation locale
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
git clone https://github.com/Mathunterix/mcp-ghost-perso.git
|
|
46
|
+
cd mcp-ghost-perso
|
|
12
47
|
npm install
|
|
13
48
|
npm run build
|
|
14
49
|
```
|
|
15
50
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Ajouter dans `.mcp.json` :
|
|
51
|
+
Puis dans `.mcp.json` :
|
|
19
52
|
|
|
20
53
|
```json
|
|
21
54
|
{
|
|
@@ -25,14 +58,15 @@ Ajouter dans `.mcp.json` :
|
|
|
25
58
|
"args": ["/chemin/vers/mcp-ghost-perso/dist/index.js"],
|
|
26
59
|
"env": {
|
|
27
60
|
"GHOST_URL": "https://votre-blog.ghost.io",
|
|
28
|
-
"GHOST_ADMIN_API_KEY": "id:secret"
|
|
29
|
-
"GHOST_DEFAULT_TEMPLATE": "custom-template-perso"
|
|
61
|
+
"GHOST_ADMIN_API_KEY": "id:secret"
|
|
30
62
|
}
|
|
31
63
|
}
|
|
32
64
|
}
|
|
33
65
|
}
|
|
34
66
|
```
|
|
35
67
|
|
|
68
|
+
## Configuration
|
|
69
|
+
|
|
36
70
|
### Variables d'environnement
|
|
37
71
|
|
|
38
72
|
| Variable | Obligatoire | Description |
|