@lyrra/mcp-server 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +37 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,11 +13,11 @@ Transport HTTP Streamable avec OAuth 2.0 — le serveur MCP tourne comme service
13
13
  ## Installation
14
14
 
15
15
  ```bash
16
- cd backend/mcp-server
17
- npm install
18
- npm run build
16
+ npm install -g @lyrra/mcp-server
19
17
  ```
20
18
 
19
+ Ou utilisez directement avec `npx` (aucune installation requise) — voir la configuration ci-dessous.
20
+
21
21
  ## Configuration
22
22
 
23
23
  ### 1. Obtenir vos identifiants
@@ -28,25 +28,27 @@ Vous obtiendrez un **Client ID** et un **Client Secret** (affiché une seule foi
28
28
 
29
29
  ### 2. Claude Desktop (mode stdio)
30
30
 
31
- Ajoutez dans `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) :
31
+ Ajoutez dans `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) ou `%APPDATA%\Claude\claude_desktop_config.json` (Windows) :
32
32
 
33
33
  ```json
34
34
  {
35
35
  "mcpServers": {
36
36
  "lyrra-studio": {
37
- "command": "node",
38
- "args": ["/chemin/vers/backend/mcp-server/dist/index.js"],
37
+ "command": "npx",
38
+ "args": ["-y", "@lyrra/mcp-server"],
39
39
  "env": {
40
40
  "LYRRA_CLIENT_ID": "votre_client_id",
41
41
  "LYRRA_CLIENT_SECRET": "rak_votre_client_secret",
42
42
  "LYRRA_API_URL": "https://lyrrastudio.com/api",
43
- "LYRRA_EDUFLOW_API_URL": "https://lyrrastudio.com/eduflow"
43
+ "LYRRA_EDUFLOW_API_URL": "https://lyrrastudio.com/api/eduflow"
44
44
  }
45
45
  }
46
46
  }
47
47
  }
48
48
  ```
49
49
 
50
+ > Après modification, quittez complètement Claude Desktop (Cmd+Q / Ctrl+Q) et relancez-le.
51
+
50
52
  ### 3. Claude.ai (mode HTTP)
51
53
 
52
54
  Ajoutez le MCP serveur dans Claude.ai Settings → Integrations → Add MCP Server :
@@ -66,13 +68,34 @@ Ajoutez dans `.cursor/mcp.json` :
66
68
  {
67
69
  "mcpServers": {
68
70
  "lyrra-studio": {
69
- "command": "node",
70
- "args": ["backend/mcp-server/dist/index.js"],
71
+ "command": "npx",
72
+ "args": ["-y", "@lyrra/mcp-server"],
73
+ "env": {
74
+ "LYRRA_CLIENT_ID": "votre_client_id",
75
+ "LYRRA_CLIENT_SECRET": "rak_votre_client_secret",
76
+ "LYRRA_API_URL": "https://lyrrastudio.com/api",
77
+ "LYRRA_EDUFLOW_API_URL": "https://lyrrastudio.com/api/eduflow"
78
+ }
79
+ }
80
+ }
81
+ }
82
+ ```
83
+
84
+ ### 5. GitHub Copilot CLI / VS Code
85
+
86
+ Ajoutez dans `.vscode/mcp.json` ou les settings Copilot :
87
+
88
+ ```json
89
+ {
90
+ "mcpServers": {
91
+ "lyrra-studio": {
92
+ "command": "npx",
93
+ "args": ["-y", "@lyrra/mcp-server"],
71
94
  "env": {
72
95
  "LYRRA_CLIENT_ID": "votre_client_id",
73
96
  "LYRRA_CLIENT_SECRET": "rak_votre_client_secret",
74
97
  "LYRRA_API_URL": "https://lyrrastudio.com/api",
75
- "LYRRA_EDUFLOW_API_URL": "https://lyrrastudio.com/eduflow"
98
+ "LYRRA_EDUFLOW_API_URL": "https://lyrrastudio.com/api/eduflow"
76
99
  }
77
100
  }
78
101
  }
@@ -86,9 +109,9 @@ Ajoutez dans `.cursor/mcp.json` :
86
109
  | `LYRRA_CLIENT_ID` | - | Client ID (nom du client) |
87
110
  | `LYRRA_CLIENT_SECRET` | - | Client Secret (clé secrète, préfixe `rak_`) |
88
111
  | `LYRRA_API_URL` | `http://localhost:3001/api` | URL de l'API REST |
89
- | `LYRRA_EDUFLOW_API_URL` | `http://localhost:3001/eduflow` | URL de l'API EduFlow |
112
+ | `LYRRA_EDUFLOW_API_URL` | `http://localhost:3001/api/eduflow` | URL de l'API EduFlow |
90
113
 
91
- ## Tools disponibles (57)
114
+ ## Tools disponibles (58)
92
115
 
93
116
  ### 🔐 Authentification
94
117
  | Tool | Description |
@@ -109,6 +132,7 @@ Ajoutez dans `.cursor/mcp.json` :
109
132
  | `eduflow_change_status` | Changer le statut (draft/published/archived) |
110
133
  | `eduflow_export` | Exporter un parcours |
111
134
  | `eduflow_get_public` | Infos publiques d'un parcours |
135
+ | `eduflow_get_urls` | Obtenir les liens (prévisualisation, édition, analytics, etc.) |
112
136
 
113
137
  ### 🧱 Blocs
114
138
  | Tool | Description |
@@ -266,4 +290,4 @@ Le mode HTTP expose les endpoints suivants :
266
290
  | `MCP_HTTP_PORT` | `3002` | Port du serveur HTTP |
267
291
  | `MCP_BASE_URL` | `https://lyrrastudio.com` | URL publique de base |
268
292
  | `LYRRA_API_URL` | `http://localhost:3001/api` | URL de l'API backend |
269
- | `LYRRA_EDUFLOW_API_URL` | `http://localhost:3001/eduflow` | URL de l'API EduFlow |
293
+ | `LYRRA_EDUFLOW_API_URL` | `http://localhost:3001/api/eduflow` | URL de l'API EduFlow |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyrra/mcp-server",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "LYRRA Studio MCP Server - Pilotez LYRRA Studio depuis Claude AI, Cursor, etc.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",