@enokdev/springdocs-mcp 1.1.0 → 1.2.0

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 CHANGED
@@ -5,15 +5,15 @@
5
5
  [![Node.js](https://img.shields.io/badge/Node.js-18+-green.svg)](https://nodejs.org/)
6
6
  [![GitHub](https://img.shields.io/badge/GitHub-tky0065/springdocs--mcp-blue.svg)](https://github.com/tky0065/springdocs-mcp)
7
7
 
8
- Un serveur **Model Context Protocol (MCP)** public qui donne accès à toute la documentation Spring Boot et l'écosystème Spring complet directement dans Claude Desktop.
8
+ A public **Model Context Protocol (MCP)** server that provides access to the complete Spring Boot documentation and Spring ecosystem directly in Claude Desktop.
9
9
 
10
- ## 🚀 Installation rapide
10
+ ## 🚀 Quick Installation
11
11
 
12
12
  ```bash
13
13
  npm install -g @enokdev/springdocs-mcp
14
14
  ```
15
15
 
16
- Puis ajoutez à votre `claude_desktop_config.json` :
16
+ Then add to your `claude_desktop_config.json`:
17
17
  ```json
18
18
  {
19
19
  "mcpServers": {
@@ -24,196 +24,308 @@ Puis ajoutez à votre `claude_desktop_config.json` :
24
24
  }
25
25
  ```
26
26
 
27
- ## ✨ Fonctionnalités
27
+ ## ✨ Features
28
28
 
29
- - 🌐 **Accès complet** à spring.io/projects (tous les projets Spring)
30
- - 📖 **Guides pratiques** spring.io/guides avec filtrage
31
- - 📚 **Documentation de référence** docs.spring.io
32
- - � **Recherche intelligente** dans tout l'écosystème Spring
33
- - 💡 **Base de connaissances** intégrée des concepts Spring Boot
34
- - ⚡ **7 outils MCP** pour une exploration complète
29
+ - 🌐 **Complete access** to spring.io/projects (all Spring projects)
30
+ - 📖 **Practical guides** spring.io/guides with filtering
31
+ - 📚 **Reference documentation** docs.spring.io
32
+ - 🔍 **Intelligent search** across the entire Spring ecosystem
33
+ - 💡 **Built-in knowledge base** of Spring Boot concepts and best practices
34
+ - ⚡ **7 MCP tools** for comprehensive exploration
35
35
 
36
- ## 🛠️ Utilisation
36
+ ## 🛠️ Usage
37
37
 
38
- ### Démarrage du serveur
38
+ ### Starting the server
39
39
 
40
40
  ```bash
41
41
  npm start
42
42
  ```
43
43
 
44
- ou
44
+ or
45
45
 
46
46
  ```bash
47
47
  node build/index.js
48
48
  ```
49
49
 
50
- ## 🛠️ Outils disponibles
50
+ ## 🛠️ Available Tools
51
51
 
52
- Le serveur MCP propose **7 outils** pour explorer la documentation Spring :
52
+ The MCP server provides **7 tools** to explore Spring documentation:
53
53
 
54
54
  ### 1. `search_spring_docs`
55
- Recherche dans la documentation Spring Boot avec des mots-clés.
55
+ Search through Spring Boot documentation with keywords.
56
56
 
57
- **Paramètres :**
58
- - `query` (string, requis) : Mots-clés à rechercher
59
- - `docType` (string, optionnel) : Type de documentation (`guides`, `reference`, `api`, `all`)
60
- - `limit` (number, optionnel) : Nombre maximum de résultats (défaut: 10)
57
+ **Parameters:**
58
+ - `query` (string, required): Keywords to search for
59
+ - `docType` (string, optional): Documentation type (`guides`, `reference`, `api`, `all`)
60
+ - `limit` (number, optional): Maximum number of results (default: 10)
61
61
 
62
62
  ### 2. `search_spring_projects`
63
- Recherche parmi tous les projets Spring disponibles sur spring.io/projects.
63
+ Search among all Spring projects available on spring.io/projects.
64
64
 
65
- **Paramètres :**
66
- - `query` (string, requis) : Mots-clés à rechercher dans les projets Spring
67
- - `limit` (number, optionnel) : Nombre maximum de projets à retourner (défaut: 10)
65
+ **Parameters:**
66
+ - `query` (string, required): Keywords to search in Spring projects
67
+ - `limit` (number, optional): Maximum number of projects to return (default: 10)
68
68
 
69
69
  ### 3. `get_spring_project`
70
- Récupère les détails complets d'un projet Spring spécifique.
70
+ Retrieve complete details of a specific Spring project.
71
71
 
72
- **Paramètres :**
73
- - `projectName` (string, requis) : Nom du projet Spring (ex: `spring-boot`, `spring-security`)
72
+ **Parameters:**
73
+ - `projectName` (string, required): Spring project name (e.g., `spring-boot`, `spring-security`)
74
74
 
75
75
  ### 4. `get_all_spring_guides`
76
- Récupère la liste de tous les guides Spring disponibles, optionnellement filtrés par catégorie.
76
+ Retrieve a list of all available Spring guides, optionally filtered by category.
77
77
 
78
- **Paramètres :**
79
- - `category` (string, optionnel) : Catégorie de guides à filtrer
80
- - `limit` (number, optionnel) : Nombre maximum de guides (défaut: 20)
78
+ **Parameters:**
79
+ - `category` (string, optional): Guide category to filter by
80
+ - `limit` (number, optional): Maximum number of guides (default: 20)
81
81
 
82
82
  ### 5. `get_spring_guide`
83
- Récupère le contenu complet d'un guide Spring Boot spécifique.
83
+ Retrieve the complete content of a specific Spring Boot guide.
84
84
 
85
- **Paramètres :**
86
- - `guideId` (string, requis) : Identifiant du guide (ex: `gs-rest-service`)
85
+ **Parameters:**
86
+ - `guideId` (string, required): Guide identifier (e.g., `gs-rest-service`)
87
87
 
88
88
  ### 6. `get_spring_reference`
89
- Récupère une section spécifique de la documentation de référence Spring Boot.
89
+ Retrieve a specific section of the Spring Boot reference documentation.
90
90
 
91
- **Paramètres :**
92
- - `section` (string, requis) : Section de la documentation (ex: `web`, `data`, `security`)
93
- - `subsection` (string, optionnel) : Sous-section pour une recherche plus précise
91
+ **Parameters:**
92
+ - `section` (string, required): Documentation section (e.g., `web`, `data`, `security`)
93
+ - `subsection` (string, optional): Subsection for more precise search
94
94
 
95
95
  ### 7. `search_spring_concepts`
96
- Recherche des concepts Spring Boot par catégorie avec explications détaillées.
96
+ Search Spring Boot concepts by category with detailed explanations.
97
97
 
98
- **Paramètres :**
99
- - `concept` (string, requis) : Concept à rechercher (ex: `auto-configuration`)
100
- - `category` (string, optionnel) : Catégorie (`core`, `web`, `data`, `security`, `testing`, `production`)
98
+ **Parameters:**
99
+ - `concept` (string, required): Concept to search for (e.g., `auto-configuration`)
100
+ - `category` (string, optional): Category (`core`, `web`, `data`, `security`, `testing`, `production`)
101
101
 
102
- ## � Sources de documentation
102
+ ## 📚 Documentation Sources
103
103
 
104
- Ce serveur MCP accède aux sources de documentation Spring suivantes :
104
+ This MCP server accesses the following Spring documentation sources:
105
105
 
106
- - **🌟 [spring.io/projects](https://spring.io/projects)** - Tous les projets Spring (Boot, Security, Data, Cloud, etc.)
107
- - **📖 [spring.io/guides](https://spring.io/guides)** - Guides pratiques et tutoriels
108
- - **📚 [docs.spring.io](https://docs.spring.io)** - Documentation de référence officielle
109
- - **🔧 API Documentation** - Documentation des classes et méthodes
110
- - **💡 Base de connaissances intégrée** - Concepts et bonnes pratiques Spring Boot
106
+ - **🌟 [spring.io/projects](https://spring.io/projects)** - All Spring projects (Boot, Security, Data, Cloud, etc.)
107
+ - **📖 [spring.io/guides](https://spring.io/guides)** - Practical guides and tutorials
108
+ - **📚 [docs.spring.io](https://docs.spring.io)** - Official reference documentation
109
+ - **🔧 API Documentation** - Class and method documentation
110
+ - **💡 Built-in knowledge base** - Spring Boot concepts and best practices
111
111
 
112
- ## �🔧 Configuration avec Claude Desktop
112
+ ## 🔧 Configuration with Claude Desktop
113
113
 
114
- Pour utiliser ce serveur avec Claude Desktop, ajoutez la configuration suivante dans votre fichier `claude_desktop_config.json` :
114
+ To use this server with Claude Desktop, add the following configuration to your `claude_desktop_config.json` file:
115
115
 
116
116
  ```json
117
117
  {
118
118
  "mcpServers": {
119
- "springboot-docs": {
120
- "command": "node",
121
- "args": ["/chemin/absolu/vers/springdocsmcp/build/index.js"]
119
+ "spring-docs": {
120
+ "command": "springdocs-mcp"
122
121
  }
123
122
  }
124
123
  }
125
124
  ```
126
125
 
127
- ### Localisation du fichier de configuration
126
+ ### Configuration file location
127
+
128
+ - **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
129
+ - **Windows**: `%APPDATA%\\Claude\\claude_desktop_config.json`
130
+
131
+ ## 🛠️ Configuration with JetBrains IDEs
128
132
 
129
- - **macOS** : `~/Library/Application Support/Claude/claude_desktop_config.json`
130
- - **Windows** : `%APPDATA%\\Claude\\claude_desktop_config.json`
133
+ ### Automatic Setup (Recommended)
131
134
 
132
- ## 📚 Exemples d'utilisation
135
+ Run the automatic configuration script:
133
136
 
134
- ### Recherche générale
137
+ ```bash
138
+ ./setup-jetbrains.sh
135
139
  ```
136
- Recherche "REST API" dans la documentation Spring Boot
140
+
141
+ This will configure the MCP server for all your installed JetBrains IDEs:
142
+ - **IntelliJ IDEA** (Ultimate & Community)
143
+ - **WebStorm**
144
+ - **PyCharm** (Professional & Community)
145
+ - **PhpStorm**, **RubyMine**, **CLion**, **GoLand**, **Rider**, **DataGrip**
146
+
147
+ ### Manual Configuration
148
+
149
+ Add to your IDE's Claude plugin configuration:
150
+
151
+ ```json
152
+ {
153
+ "spring-docs": {
154
+ "command": "/opt/homebrew/bin/springdocs-mcp",
155
+ "description": "Spring Documentation MCP Server"
156
+ }
157
+ }
137
158
  ```
138
159
 
139
- ### Recherche de projets Spring
160
+ ### Usage in JetBrains IDEs
161
+
162
+ Once configured, you can ask Claude in your IDE:
163
+ - "What Spring projects are available for security?"
164
+ - "Show me the Spring Boot REST API guide"
165
+ - "Explain Spring Boot auto-configuration"
166
+
167
+ See [JETBRAINS_SETUP.md](JETBRAINS_SETUP.md) for detailed instructions.
168
+
169
+ ## 📚 Usage Examples
170
+
171
+ ### General search
140
172
  ```
141
- Trouve des projets Spring liés à "security"
173
+ Search for "REST API" in Spring Boot documentation
142
174
  ```
143
175
 
144
- ### Détails d'un projet spécifique
176
+ ### Spring project search
145
177
  ```
146
- Montre-moi les détails du projet "spring-boot"
178
+ Find Spring projects related to "security"
147
179
  ```
148
180
 
149
- ### Liste des guides par catégorie
181
+ ### Specific project details
150
182
  ```
151
- Quels sont les guides Spring pour la catégorie "Web" ?
183
+ Show me details of the "spring-boot" project
152
184
  ```
153
185
 
154
- ### Récupération d'un guide spécifique
186
+ ### Guides by category
155
187
  ```
156
- Récupère le guide "gs-rest-service"
188
+ What are the Spring guides for the "Web" category?
157
189
  ```
158
190
 
159
- ### Exploration des concepts
191
+ ### Specific guide retrieval
160
192
  ```
161
- Explique le concept "auto-configuration" dans Spring Boot
193
+ Retrieve the "gs-rest-service" guide
162
194
  ```
163
195
 
164
- ## 🏗️ Architecture
196
+ ### Concept exploration
197
+ ```
198
+ Explain Spring Boot auto-configuration
199
+ ```
165
200
 
166
- Le projet est organisé comme suit :
201
+ ### Reference documentation
202
+ ```
203
+ Show me the Spring Boot web documentation
204
+ ```
167
205
 
206
+ ## 🚀 Development
207
+
208
+ ### Prerequisites
209
+ - Node.js >= 18.0.0
210
+ - npm >= 8.0.0
211
+
212
+ ### Installation for development
213
+ ```bash
214
+ # Clone the repository
215
+ git clone https://github.com/tky0065/springdocs-mcp.git
216
+ cd springdocs-mcp
217
+
218
+ # Install dependencies
219
+ npm install
220
+
221
+ # Build the project
222
+ npm run build
168
223
  ```
169
- src/
170
- ├── index.ts # Point d'entrée principal
171
- ├── services/
172
- │ └── springboot-docs.ts # Service de récupération de documentation
173
- └── tools/
174
- └── index.ts # Définitions des outils MCP
224
+
225
+ ### Testing
226
+ ```bash
227
+ # Run tests
228
+ npm test
229
+
230
+ # Or use the test script
231
+ ./test.sh
232
+ ```
233
+
234
+ ### Available Scripts
235
+ - `npm run build` - Compile TypeScript
236
+ - `npm run start` - Start the server
237
+ - `npm run dev` - Development mode with auto-reload
238
+ - `npm run watch` - Watch mode for TypeScript
239
+
240
+ ## 🧪 Testing
241
+
242
+ Test the server functionality:
243
+
244
+ ```bash
245
+ # Test all tools
246
+ ./test.sh
247
+
248
+ # Or test manually
249
+ echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list", "params": {}}' | node build/index.js
250
+ ```
251
+
252
+ ## 📝 Example Requests
253
+
254
+ ### Initialize the server
255
+ ```json
256
+ {
257
+ "jsonrpc": "2.0",
258
+ "id": 1,
259
+ "method": "initialize",
260
+ "params": {
261
+ "protocolVersion": "2025-06-18",
262
+ "capabilities": {},
263
+ "clientInfo": {"name": "test", "version": "1.0.0"}
264
+ }
265
+ }
175
266
  ```
176
267
 
177
- ### Composants principaux
268
+ ### Search Spring projects
269
+ ```json
270
+ {
271
+ "jsonrpc": "2.0",
272
+ "id": 2,
273
+ "method": "tools/call",
274
+ "params": {
275
+ "name": "search_spring_projects",
276
+ "arguments": {"query": "security", "limit": 3}
277
+ }
278
+ }
279
+ ```
178
280
 
179
- - **SpringBootMCPServer** : Serveur MCP principal qui gère les requêtes
180
- - **SpringBootDocsService** : Service pour récupérer et traiter la documentation
181
- - **ToolDefinitions** : Définitions des outils exposés via MCP
281
+ ### Get Spring Boot project details
282
+ ```json
283
+ {
284
+ "jsonrpc": "2.0",
285
+ "id": 3,
286
+ "method": "tools/call",
287
+ "params": {
288
+ "name": "get_spring_project",
289
+ "arguments": {"projectName": "spring-boot"}
290
+ }
291
+ }
292
+ ```
182
293
 
183
- ## 🔒 Sécurité
294
+ ## 🤝 Contributing
184
295
 
185
- - Le serveur accède uniquement aux ressources publiques de `docs.spring.io`
186
- - Aucune donnée sensible n'est stockée ou transmise
187
- - Toutes les requêtes HTTP sont en lecture seule
296
+ We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.
188
297
 
189
- ## 🐛 Dépannage
298
+ ### Development Workflow
299
+ 1. Fork the repository
300
+ 2. Create a feature branch
301
+ 3. Make your changes
302
+ 4. Add tests if applicable
303
+ 5. Submit a pull request
190
304
 
191
- ### Erreurs courantes
305
+ ## 📄 License
192
306
 
193
- 1. **"Cannot find module"** : Vérifiez que `npm install` a été exécuté
194
- 2. **"Serveur non démarré"** : Vérifiez que la compilation avec `npm run build` s'est bien passée
195
- 3. **"Documentation non trouvée"** : Vérifiez votre connexion internet
307
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
196
308
 
197
- ### Logs
309
+ ## 🔗 Links
198
310
 
199
- Le serveur écrit ses logs sur `stderr` pour éviter d'interférer avec le protocole MCP sur `stdout`.
311
+ - **npm package**: https://www.npmjs.com/package/@enokdev/springdocs-mcp
312
+ - **GitHub repository**: https://github.com/tky0065/springdocs-mcp
313
+ - **Issues**: https://github.com/tky0065/springdocs-mcp/issues
314
+ - **Documentation**: https://tky0065.github.io/springdocs-mcp
200
315
 
201
- ## 🤝 Contribution
316
+ ## 📊 Stats
202
317
 
203
- Les contributions sont les bienvenues ! N'hésitez pas à :
318
+ - **Downloads**: https://npm-stat.com/charts.html?package=@enokdev/springdocs-mcp
319
+ - **GitHub Stars**: https://github.com/tky0065/springdocs-mcp/stargazers
204
320
 
205
- 1. Forker le projet
206
- 2. Créer une branche pour votre fonctionnalité
207
- 3. Commiter vos changements
208
- 4. Pousser vers la branche
209
- 5. Ouvrir une Pull Request
321
+ ## 🙏 Acknowledgments
210
322
 
211
- ## 📄 Licence
323
+ - [Spring Framework Team](https://spring.io/team) for the excellent documentation
324
+ - [Anthropic](https://www.anthropic.com/) for the Model Context Protocol
325
+ - [Spring Community](https://spring.io/community) for continuous support
212
326
 
213
- Ce projet est sous licence MIT. Voir le fichier `LICENSE` pour plus de détails.
327
+ ---
214
328
 
215
- ## 🔗 Ressources utiles
329
+ **Made with ❤️ by [EnokDev](https://github.com/tky0065)**
216
330
 
217
- - [Documentation Spring Boot](https://docs.spring.io/spring-boot/docs/current/reference/html/)
218
- - [Model Context Protocol](https://modelcontextprotocol.io/)
219
- - [SDK MCP TypeScript](https://github.com/modelcontextprotocol/typescript-sdk)
331
+ *Access the complete Spring ecosystem directly in Claude Desktop!*
package/README_FR.md ADDED
@@ -0,0 +1,219 @@
1
+ # 📚 Spring Documentation MCP Server
2
+
3
+ [![npm version](https://badge.fury.io/js/@enokdev%2Fspringdocs-mcp.svg)](https://badge.fury.io/js/@enokdev%2Fspringdocs-mcp)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+ [![Node.js](https://img.shields.io/badge/Node.js-18+-green.svg)](https://nodejs.org/)
6
+ [![GitHub](https://img.shields.io/badge/GitHub-tky0065/springdocs--mcp-blue.svg)](https://github.com/tky0065/springdocs-mcp)
7
+
8
+ A public **Model Context Protocol (MCP)** server that provides access to the complete Spring Boot documentation and Spring ecosystem directly in Claude Desktop.
9
+
10
+ ## 🚀 Quick Installation
11
+
12
+ ```bash
13
+ npm install -g @enokdev/springdocs-mcp
14
+ ```
15
+
16
+ Then add to your `claude_desktop_config.json`:
17
+ ```json
18
+ {
19
+ "mcpServers": {
20
+ "spring-docs": {
21
+ "command": "springdocs-mcp"
22
+ }
23
+ }
24
+ }
25
+ ```
26
+
27
+ ## ✨ Features
28
+
29
+ - 🌐 **Complete access** to spring.io/projects (all Spring projects)
30
+ - 📖 **Practical guides** spring.io/guides with filtering
31
+ - 📚 **Reference documentation** docs.spring.io
32
+ - � **Recherche intelligente** dans tout l'écosystème Spring
33
+ - 💡 **Base de connaissances** intégrée des concepts Spring Boot
34
+ - ⚡ **7 outils MCP** pour une exploration complète
35
+
36
+ ## 🛠️ Utilisation
37
+
38
+ ### Démarrage du serveur
39
+
40
+ ```bash
41
+ npm start
42
+ ```
43
+
44
+ ou
45
+
46
+ ```bash
47
+ node build/index.js
48
+ ```
49
+
50
+ ## 🛠️ Outils disponibles
51
+
52
+ Le serveur MCP propose **7 outils** pour explorer la documentation Spring :
53
+
54
+ ### 1. `search_spring_docs`
55
+ Recherche dans la documentation Spring Boot avec des mots-clés.
56
+
57
+ **Paramètres :**
58
+ - `query` (string, requis) : Mots-clés à rechercher
59
+ - `docType` (string, optionnel) : Type de documentation (`guides`, `reference`, `api`, `all`)
60
+ - `limit` (number, optionnel) : Nombre maximum de résultats (défaut: 10)
61
+
62
+ ### 2. `search_spring_projects`
63
+ Recherche parmi tous les projets Spring disponibles sur spring.io/projects.
64
+
65
+ **Paramètres :**
66
+ - `query` (string, requis) : Mots-clés à rechercher dans les projets Spring
67
+ - `limit` (number, optionnel) : Nombre maximum de projets à retourner (défaut: 10)
68
+
69
+ ### 3. `get_spring_project`
70
+ Récupère les détails complets d'un projet Spring spécifique.
71
+
72
+ **Paramètres :**
73
+ - `projectName` (string, requis) : Nom du projet Spring (ex: `spring-boot`, `spring-security`)
74
+
75
+ ### 4. `get_all_spring_guides`
76
+ Récupère la liste de tous les guides Spring disponibles, optionnellement filtrés par catégorie.
77
+
78
+ **Paramètres :**
79
+ - `category` (string, optionnel) : Catégorie de guides à filtrer
80
+ - `limit` (number, optionnel) : Nombre maximum de guides (défaut: 20)
81
+
82
+ ### 5. `get_spring_guide`
83
+ Récupère le contenu complet d'un guide Spring Boot spécifique.
84
+
85
+ **Paramètres :**
86
+ - `guideId` (string, requis) : Identifiant du guide (ex: `gs-rest-service`)
87
+
88
+ ### 6. `get_spring_reference`
89
+ Récupère une section spécifique de la documentation de référence Spring Boot.
90
+
91
+ **Paramètres :**
92
+ - `section` (string, requis) : Section de la documentation (ex: `web`, `data`, `security`)
93
+ - `subsection` (string, optionnel) : Sous-section pour une recherche plus précise
94
+
95
+ ### 7. `search_spring_concepts`
96
+ Recherche des concepts Spring Boot par catégorie avec explications détaillées.
97
+
98
+ **Paramètres :**
99
+ - `concept` (string, requis) : Concept à rechercher (ex: `auto-configuration`)
100
+ - `category` (string, optionnel) : Catégorie (`core`, `web`, `data`, `security`, `testing`, `production`)
101
+
102
+ ## � Sources de documentation
103
+
104
+ Ce serveur MCP accède aux sources de documentation Spring suivantes :
105
+
106
+ - **🌟 [spring.io/projects](https://spring.io/projects)** - Tous les projets Spring (Boot, Security, Data, Cloud, etc.)
107
+ - **📖 [spring.io/guides](https://spring.io/guides)** - Guides pratiques et tutoriels
108
+ - **📚 [docs.spring.io](https://docs.spring.io)** - Documentation de référence officielle
109
+ - **🔧 API Documentation** - Documentation des classes et méthodes
110
+ - **💡 Base de connaissances intégrée** - Concepts et bonnes pratiques Spring Boot
111
+
112
+ ## �🔧 Configuration avec Claude Desktop
113
+
114
+ Pour utiliser ce serveur avec Claude Desktop, ajoutez la configuration suivante dans votre fichier `claude_desktop_config.json` :
115
+
116
+ ```json
117
+ {
118
+ "mcpServers": {
119
+ "springboot-docs": {
120
+ "command": "node",
121
+ "args": ["/chemin/absolu/vers/springdocsmcp/build/index.js"]
122
+ }
123
+ }
124
+ }
125
+ ```
126
+
127
+ ### Localisation du fichier de configuration
128
+
129
+ - **macOS** : `~/Library/Application Support/Claude/claude_desktop_config.json`
130
+ - **Windows** : `%APPDATA%\\Claude\\claude_desktop_config.json`
131
+
132
+ ## 📚 Exemples d'utilisation
133
+
134
+ ### Recherche générale
135
+ ```
136
+ Recherche "REST API" dans la documentation Spring Boot
137
+ ```
138
+
139
+ ### Recherche de projets Spring
140
+ ```
141
+ Trouve des projets Spring liés à "security"
142
+ ```
143
+
144
+ ### Détails d'un projet spécifique
145
+ ```
146
+ Montre-moi les détails du projet "spring-boot"
147
+ ```
148
+
149
+ ### Liste des guides par catégorie
150
+ ```
151
+ Quels sont les guides Spring pour la catégorie "Web" ?
152
+ ```
153
+
154
+ ### Récupération d'un guide spécifique
155
+ ```
156
+ Récupère le guide "gs-rest-service"
157
+ ```
158
+
159
+ ### Exploration des concepts
160
+ ```
161
+ Explique le concept "auto-configuration" dans Spring Boot
162
+ ```
163
+
164
+ ## 🏗️ Architecture
165
+
166
+ Le projet est organisé comme suit :
167
+
168
+ ```
169
+ src/
170
+ ├── index.ts # Point d'entrée principal
171
+ ├── services/
172
+ │ └── springboot-docs.ts # Service de récupération de documentation
173
+ └── tools/
174
+ └── index.ts # Définitions des outils MCP
175
+ ```
176
+
177
+ ### Composants principaux
178
+
179
+ - **SpringBootMCPServer** : Serveur MCP principal qui gère les requêtes
180
+ - **SpringBootDocsService** : Service pour récupérer et traiter la documentation
181
+ - **ToolDefinitions** : Définitions des outils exposés via MCP
182
+
183
+ ## 🔒 Sécurité
184
+
185
+ - Le serveur accède uniquement aux ressources publiques de `docs.spring.io`
186
+ - Aucune donnée sensible n'est stockée ou transmise
187
+ - Toutes les requêtes HTTP sont en lecture seule
188
+
189
+ ## 🐛 Dépannage
190
+
191
+ ### Erreurs courantes
192
+
193
+ 1. **"Cannot find module"** : Vérifiez que `npm install` a été exécuté
194
+ 2. **"Serveur non démarré"** : Vérifiez que la compilation avec `npm run build` s'est bien passée
195
+ 3. **"Documentation non trouvée"** : Vérifiez votre connexion internet
196
+
197
+ ### Logs
198
+
199
+ Le serveur écrit ses logs sur `stderr` pour éviter d'interférer avec le protocole MCP sur `stdout`.
200
+
201
+ ## 🤝 Contribution
202
+
203
+ Les contributions sont les bienvenues ! N'hésitez pas à :
204
+
205
+ 1. Forker le projet
206
+ 2. Créer une branche pour votre fonctionnalité
207
+ 3. Commiter vos changements
208
+ 4. Pousser vers la branche
209
+ 5. Ouvrir une Pull Request
210
+
211
+ ## 📄 Licence
212
+
213
+ Ce projet est sous licence MIT. Voir le fichier `LICENSE` pour plus de détails.
214
+
215
+ ## 🔗 Ressources utiles
216
+
217
+ - [Documentation Spring Boot](https://docs.spring.io/spring-boot/docs/current/reference/html/)
218
+ - [Model Context Protocol](https://modelcontextprotocol.io/)
219
+ - [SDK MCP TypeScript](https://github.com/modelcontextprotocol/typescript-sdk)