@enokdev/springdocs-mcp 1.2.0 → 1.2.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 +42 -1
- package/build/debug.d.ts +3 -0
- package/build/debug.d.ts.map +1 -0
- package/build/debug.js +292 -0
- package/build/debug.js.map +1 -0
- package/build/index.js +16 -10
- package/build/index.js.map +1 -1
- package/package.json +11 -3
- package/.github/workflows/publish.yml +0 -64
- package/CHANGELOG.md +0 -82
- package/CHANGELOG_v1.2.0.md +0 -71
- package/CONTRIBUTING.md +0 -215
- package/EXAMPLES.md +0 -186
- package/EXAMPLES_FR.md +0 -186
- package/INSTALL.md +0 -123
- package/INSTALL_FR.md +0 -123
- package/JETBRAINS_SETUP.md +0 -171
- package/README_FR.md +0 -219
- package/RELEASE_NOTES_v1.1.0.md +0 -106
- package/RELEASE_NOTES_v1.2.0.md +0 -138
- package/TROUBLESHOOTING.md +0 -163
- package/claude_desktop_config.json +0 -7
- package/diagnostic.sh +0 -55
- package/docs/index.html +0 -147
- package/guid.md +0 -92
- package/publish.sh +0 -130
- package/setup-jetbrains.sh +0 -164
- package/src/index.ts +0 -287
- package/src/services/springboot-docs.ts +0 -615
- package/src/tools/index.ts +0 -144
- package/test-jetbrains.sh +0 -125
- package/test.sh +0 -64
- package/tsconfig.json +0 -24
package/CHANGELOG_v1.2.0.md
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
# 🆕 Changelog - Version 1.2.0
|
|
2
|
-
|
|
3
|
-
## [1.2.0] - 2025-08-21
|
|
4
|
-
|
|
5
|
-
### ✨ Added - JetBrains IDEs Support
|
|
6
|
-
|
|
7
|
-
- **🛠️ JetBrains IDEs Integration**: Full support for all JetBrains IDEs
|
|
8
|
-
- IntelliJ IDEA (Ultimate & Community)
|
|
9
|
-
- WebStorm
|
|
10
|
-
- PyCharm (Professional & Community)
|
|
11
|
-
- PhpStorm, RubyMine, CLion, GoLand, Rider, DataGrip
|
|
12
|
-
- Android Studio
|
|
13
|
-
|
|
14
|
-
- **🚀 Automatic Configuration Script**: `setup-jetbrains.sh`
|
|
15
|
-
- Detects all installed JetBrains IDEs
|
|
16
|
-
- Creates appropriate configuration files
|
|
17
|
-
- Works on macOS, Linux, and Windows
|
|
18
|
-
- Color-coded output and progress indicators
|
|
19
|
-
|
|
20
|
-
- **📚 JetBrains Documentation**: New `JETBRAINS_SETUP.md`
|
|
21
|
-
- Complete setup instructions
|
|
22
|
-
- IDE-specific configurations
|
|
23
|
-
- Usage examples and troubleshooting
|
|
24
|
-
- Manual and automatic setup options
|
|
25
|
-
|
|
26
|
-
- **🔧 Enhanced Scripts**:
|
|
27
|
-
- `npm run setup-jetbrains` - Configure JetBrains IDEs
|
|
28
|
-
- `npm run setup-all` - Configure all supported IDEs
|
|
29
|
-
|
|
30
|
-
### 🔄 Improved
|
|
31
|
-
|
|
32
|
-
- **📖 Enhanced README**: Added JetBrains configuration section
|
|
33
|
-
- **⚙️ VS Code Settings**: Updated `.vscode/settings.json` with MCP configuration
|
|
34
|
-
- **🛠️ Troubleshooting Guide**: Updated `TROUBLESHOOTING.md` with JetBrains support
|
|
35
|
-
|
|
36
|
-
### 🎯 Use Cases
|
|
37
|
-
|
|
38
|
-
Now developers can use the Spring Documentation MCP Server in:
|
|
39
|
-
- **Claude Desktop** - Chat interface
|
|
40
|
-
- **VS Code** - With Claude extension
|
|
41
|
-
- **JetBrains IDEs** - Integrated AI assistance
|
|
42
|
-
- **Command Line** - Direct MCP server access
|
|
43
|
-
|
|
44
|
-
### 🔧 Technical Details
|
|
45
|
-
|
|
46
|
-
- Cross-platform configuration detection
|
|
47
|
-
- IDE version-specific setup
|
|
48
|
-
- XML and JSON configuration formats
|
|
49
|
-
- Automatic path resolution for different OS
|
|
50
|
-
|
|
51
|
-
---
|
|
52
|
-
|
|
53
|
-
## Previous Versions
|
|
54
|
-
|
|
55
|
-
### [1.1.1] - 2025-08-21
|
|
56
|
-
- 📝 Documentation internationalization (English)
|
|
57
|
-
- 🌍 Public distribution preparation
|
|
58
|
-
|
|
59
|
-
### [1.1.0] - 2025-08-21
|
|
60
|
-
- ✨ Extended to complete Spring ecosystem
|
|
61
|
-
- 🆕 Added 3 new MCP tools (total: 7 tools)
|
|
62
|
-
- 🌐 Spring.io/projects integration
|
|
63
|
-
|
|
64
|
-
### [1.0.0] - 2025-08-21
|
|
65
|
-
- 🎉 Initial release
|
|
66
|
-
- 📚 Basic Spring Boot documentation access
|
|
67
|
-
- 🛠️ 4 core MCP tools
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
**Full Changelog**: https://github.com/tky0065/springdocs-mcp/compare/v1.1.1...v1.2.0
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
# Guide de Contribution - Spring Boot MCP Server
|
|
2
|
-
|
|
3
|
-
Merci de votre intérêt pour contribuer au projet Spring Boot MCP Server ! Ce guide vous aidera à comprendre comment participer au développement.
|
|
4
|
-
|
|
5
|
-
## 🛠️ Configuration de l'environnement de développement
|
|
6
|
-
|
|
7
|
-
### Prérequis
|
|
8
|
-
- Node.js >= 18.0.0
|
|
9
|
-
- npm >= 8.0.0
|
|
10
|
-
- TypeScript >= 5.0.0
|
|
11
|
-
- Git
|
|
12
|
-
|
|
13
|
-
### Installation
|
|
14
|
-
```bash
|
|
15
|
-
# Cloner le repository
|
|
16
|
-
git clone <votre-fork>
|
|
17
|
-
cd springdocsmcp
|
|
18
|
-
|
|
19
|
-
# Installer les dépendances
|
|
20
|
-
npm install
|
|
21
|
-
|
|
22
|
-
# Compiler le projet
|
|
23
|
-
npm run build
|
|
24
|
-
|
|
25
|
-
# Exécuter les tests
|
|
26
|
-
./test.sh
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## 📝 Structure du projet
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
springdocsmcp/
|
|
33
|
-
├── src/
|
|
34
|
-
│ ├── index.ts # Point d'entrée du serveur MCP
|
|
35
|
-
│ ├── services/
|
|
36
|
-
│ │ └── springboot-docs.ts # Service de documentation Spring Boot
|
|
37
|
-
│ └── tools/
|
|
38
|
-
│ └── index.ts # Définitions des outils MCP
|
|
39
|
-
├── build/ # Fichiers compilés TypeScript
|
|
40
|
-
├── package.json # Configuration npm
|
|
41
|
-
├── tsconfig.json # Configuration TypeScript
|
|
42
|
-
└── README.md # Documentation principale
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## 🔧 Développement
|
|
46
|
-
|
|
47
|
-
### Scripts disponibles
|
|
48
|
-
- `npm run build` - Compile le TypeScript
|
|
49
|
-
- `npm run dev` - Mode développement avec rechargement automatique
|
|
50
|
-
- `npm run test` - Exécute les tests (ou utilisez `./test.sh`)
|
|
51
|
-
- `npm run lint` - Vérifie le style de code
|
|
52
|
-
|
|
53
|
-
### Ajouter un nouvel outil
|
|
54
|
-
|
|
55
|
-
1. **Définir l'outil dans `src/tools/index.ts`** :
|
|
56
|
-
```typescript
|
|
57
|
-
export const NOUVEAU_OUTIL: Tool = {
|
|
58
|
-
name: "nouveau_outil",
|
|
59
|
-
description: "Description de votre nouvel outil",
|
|
60
|
-
inputSchema: {
|
|
61
|
-
type: "object",
|
|
62
|
-
properties: {
|
|
63
|
-
parametre: {
|
|
64
|
-
type: "string",
|
|
65
|
-
description: "Description du paramètre"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
required: ["parametre"]
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
2. **Implémenter la logique dans `src/services/springboot-docs.ts`** :
|
|
74
|
-
```typescript
|
|
75
|
-
public async nouveauOutil(parametre: string): Promise<string> {
|
|
76
|
-
// Votre logique ici
|
|
77
|
-
return "Résultat de l'outil";
|
|
78
|
-
}
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
3. **Ajouter le gestionnaire dans `src/index.ts`** :
|
|
82
|
-
```typescript
|
|
83
|
-
case "nouveau_outil":
|
|
84
|
-
const result = await this.docsService.nouveauOutil(args.parametre);
|
|
85
|
-
return { content: [{ type: "text", text: result }] };
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### Ajouter une nouvelle source de documentation
|
|
89
|
-
|
|
90
|
-
1. **Étendre le service** dans `src/services/springboot-docs.ts`
|
|
91
|
-
2. **Ajouter les nouvelles URLs** dans les constantes
|
|
92
|
-
3. **Implémenter les méthodes de parsing** spécifiques
|
|
93
|
-
4. **Tester avec le script de test**
|
|
94
|
-
|
|
95
|
-
## 🧪 Tests
|
|
96
|
-
|
|
97
|
-
### Tests automatisés
|
|
98
|
-
Exécutez le script de test pour vérifier que tous les outils fonctionnent :
|
|
99
|
-
```bash
|
|
100
|
-
./test.sh
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
### Tests manuels
|
|
104
|
-
Testez individuellement avec des requêtes JSON-RPC :
|
|
105
|
-
```bash
|
|
106
|
-
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "search_spring_docs", "arguments": {"query": "test"}}}' | node build/index.js
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
### Tests d'intégration
|
|
110
|
-
Testez avec Claude Desktop en ajoutant la configuration MCP et en utilisant les outils dans une conversation.
|
|
111
|
-
|
|
112
|
-
## 📋 Standards de code
|
|
113
|
-
|
|
114
|
-
### Style TypeScript
|
|
115
|
-
- Utilisez des types stricts
|
|
116
|
-
- Préférez `interface` pour les objets
|
|
117
|
-
- Documentez les fonctions publiques avec JSDoc
|
|
118
|
-
- Utilisez `async/await` pour les opérations asynchrones
|
|
119
|
-
|
|
120
|
-
### Nommage
|
|
121
|
-
- Fonctions et variables : `camelCase`
|
|
122
|
-
- Classes : `PascalCase`
|
|
123
|
-
- Constantes : `UPPER_SNAKE_CASE`
|
|
124
|
-
- Fichiers : `kebab-case.ts`
|
|
125
|
-
|
|
126
|
-
### Gestion d'erreurs
|
|
127
|
-
```typescript
|
|
128
|
-
try {
|
|
129
|
-
// Opération risquée
|
|
130
|
-
} catch (error) {
|
|
131
|
-
console.error('Erreur détaillée:', error);
|
|
132
|
-
throw new Error('Message d'erreur utilisateur');
|
|
133
|
-
}
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
## 🐛 Signalement de bugs
|
|
137
|
-
|
|
138
|
-
### Template de bug report
|
|
139
|
-
```markdown
|
|
140
|
-
**Description du bug**
|
|
141
|
-
Description claire et concise du problème.
|
|
142
|
-
|
|
143
|
-
**Étapes pour reproduire**
|
|
144
|
-
1. Étape 1
|
|
145
|
-
2. Étape 2
|
|
146
|
-
3. Voir l'erreur
|
|
147
|
-
|
|
148
|
-
**Comportement attendu**
|
|
149
|
-
Ce qui devrait se passer.
|
|
150
|
-
|
|
151
|
-
**Environnement**
|
|
152
|
-
- OS: [ex: macOS 14.0]
|
|
153
|
-
- Node.js: [ex: 18.17.0]
|
|
154
|
-
- Version du serveur: [ex: 1.0.0]
|
|
155
|
-
|
|
156
|
-
**Logs d'erreur**
|
|
157
|
-
```
|
|
158
|
-
Logs ou messages d'erreur
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
## ✨ Demandes de fonctionnalités
|
|
162
|
-
|
|
163
|
-
### Template de feature request
|
|
164
|
-
```markdown
|
|
165
|
-
**Fonctionnalité désirée**
|
|
166
|
-
Description claire de la fonctionnalité.
|
|
167
|
-
|
|
168
|
-
**Problème résolu**
|
|
169
|
-
Quel problème cette fonctionnalité résoudrait-elle ?
|
|
170
|
-
|
|
171
|
-
**Solution proposée**
|
|
172
|
-
Description de votre solution idéale.
|
|
173
|
-
|
|
174
|
-
**Alternatives considérées**
|
|
175
|
-
Autres solutions que vous avez envisagées.
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
## 🔄 Processus de contribution
|
|
179
|
-
|
|
180
|
-
1. **Fork** le repository
|
|
181
|
-
2. **Créez une branche** pour votre fonctionnalité (`git checkout -b feature/nouvelle-fonctionnalite`)
|
|
182
|
-
3. **Committez** vos changements (`git commit -am 'Ajoute nouvelle fonctionnalité'`)
|
|
183
|
-
4. **Poussez** vers la branche (`git push origin feature/nouvelle-fonctionnalite`)
|
|
184
|
-
5. **Créez une Pull Request**
|
|
185
|
-
|
|
186
|
-
### Checklist pour les Pull Requests
|
|
187
|
-
- [ ] Le code compile sans erreur (`npm run build`)
|
|
188
|
-
- [ ] Les tests passent (`./test.sh`)
|
|
189
|
-
- [ ] La documentation est mise à jour si nécessaire
|
|
190
|
-
- [ ] Les nouveaux outils sont documentés
|
|
191
|
-
- [ ] Le code suit les standards du projet
|
|
192
|
-
|
|
193
|
-
## 📚 Ressources utiles
|
|
194
|
-
|
|
195
|
-
- [Documentation MCP](https://modelcontextprotocol.io/docs)
|
|
196
|
-
- [Spécification MCP](https://spec.modelcontextprotocol.io/)
|
|
197
|
-
- [Documentation Spring Boot](https://docs.spring.io/spring-boot/docs/current/reference/html/)
|
|
198
|
-
- [TypeScript Handbook](https://www.typescriptlang.org/docs/)
|
|
199
|
-
|
|
200
|
-
## 🤝 Code de conduite
|
|
201
|
-
|
|
202
|
-
Nous nous engageons à créer un environnement accueillant et inclusif pour tous. Merci de :
|
|
203
|
-
- Être respectueux et professionnel
|
|
204
|
-
- Accepter les critiques constructives
|
|
205
|
-
- Se concentrer sur ce qui est le mieux pour la communauté
|
|
206
|
-
- Faire preuve d'empathie envers les autres
|
|
207
|
-
|
|
208
|
-
## 📞 Contact
|
|
209
|
-
|
|
210
|
-
Pour toute question ou discussion, n'hésitez pas à :
|
|
211
|
-
- Ouvrir une issue sur GitHub
|
|
212
|
-
- Participer aux discussions
|
|
213
|
-
- Contacter les mainteneurs
|
|
214
|
-
|
|
215
|
-
Merci pour votre contribution ! 🎉
|
package/EXAMPLES.md
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
# Usage Examples - Spring Documentation MCP Server
|
|
2
|
-
|
|
3
|
-
This file contains practical usage examples for the Spring Documentation MCP Server with Claude Desktop.
|
|
4
|
-
|
|
5
|
-
## 🚀 Usage Scenarios
|
|
6
|
-
|
|
7
|
-
### 1. Discovering Spring Projects
|
|
8
|
-
|
|
9
|
-
**Question to Claude:**
|
|
10
|
-
> "What Spring projects are available for security?"
|
|
11
|
-
|
|
12
|
-
**Tools used:** `search_spring_projects`
|
|
13
|
-
**Result:** List of Spring Security projects with descriptions
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
### 2. Learning a New Spring Project
|
|
18
|
-
|
|
19
|
-
**Question to Claude:**
|
|
20
|
-
> "Can you explain the Spring Cloud project?"
|
|
21
|
-
|
|
22
|
-
**Tools used:** `get_spring_project`
|
|
23
|
-
**Result:** Complete Spring Cloud documentation
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
### 3. Exploring Guides by Domain
|
|
28
|
-
|
|
29
|
-
**Question to Claude:**
|
|
30
|
-
> "Show me all Spring Boot guides for web development"
|
|
31
|
-
|
|
32
|
-
**Tools used:** `get_all_spring_guides`
|
|
33
|
-
**Result:** List of web guides with links and descriptions
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
### 4. Solving a Specific Problem
|
|
38
|
-
|
|
39
|
-
**Question to Claude:**
|
|
40
|
-
> "How do I create a REST API with Spring Boot?"
|
|
41
|
-
|
|
42
|
-
**Tools used:** `search_spring_docs`, `get_spring_guide`
|
|
43
|
-
**Result:** Detailed guide and reference documentation
|
|
44
|
-
|
|
45
|
-
---
|
|
46
|
-
|
|
47
|
-
### 5. Understanding Concepts
|
|
48
|
-
|
|
49
|
-
**Question to Claude:**
|
|
50
|
-
> "Explain Spring Boot auto-configuration to me"
|
|
51
|
-
|
|
52
|
-
**Tools used:** `search_spring_concepts`
|
|
53
|
-
**Result:** Detailed explanation with examples
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
## 🎯 Specific Query Examples
|
|
58
|
-
|
|
59
|
-
### Documentation Search
|
|
60
|
-
```
|
|
61
|
-
User: "How to configure Spring Security?"
|
|
62
|
-
Claude uses: search_spring_docs("Spring Security configuration")
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### Project Exploration
|
|
66
|
-
```
|
|
67
|
-
User: "What are the Spring projects for data?"
|
|
68
|
-
Claude uses: search_spring_projects("data")
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
### Specialized Guides
|
|
72
|
-
```
|
|
73
|
-
User: "Spring Boot guides for testing"
|
|
74
|
-
Claude uses: get_all_spring_guides(category="Testing")
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### Reference Documentation
|
|
78
|
-
```
|
|
79
|
-
User: "Spring Boot documentation for web security"
|
|
80
|
-
Claude uses: get_spring_reference("security", "web")
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
### Advanced Concepts
|
|
84
|
-
```
|
|
85
|
-
User: "What is Spring Actuator?"
|
|
86
|
-
Claude uses: search_spring_concepts("actuator", "production")
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
## 💡 Optimal Usage Tips
|
|
92
|
-
|
|
93
|
-
### 1. Be Specific in Your Questions
|
|
94
|
-
- ❌ "Spring Boot"
|
|
95
|
-
- ✅ "How to configure a database with Spring Boot?"
|
|
96
|
-
|
|
97
|
-
### 2. Use Relevant Keywords
|
|
98
|
-
- ❌ "Help"
|
|
99
|
-
- ✅ "REST API", "JPA", "Security", "Testing"
|
|
100
|
-
|
|
101
|
-
### 3. Explore by Domain
|
|
102
|
-
- "Spring projects for cloud"
|
|
103
|
-
- "Spring Boot guides for microservices"
|
|
104
|
-
- "Spring Security documentation"
|
|
105
|
-
|
|
106
|
-
### 4. Ask for Practical Examples
|
|
107
|
-
- "Show me an example of a REST controller"
|
|
108
|
-
- "How to test a Spring Boot application?"
|
|
109
|
-
- "H2 database configuration"
|
|
110
|
-
|
|
111
|
-
---
|
|
112
|
-
|
|
113
|
-
## 🔧 Recommended Workflows
|
|
114
|
-
|
|
115
|
-
### Workflow 1: Discovering a New Domain
|
|
116
|
-
1. **Search projects** → `search_spring_projects("domain")`
|
|
117
|
-
2. **Explore a project** → `get_spring_project("project-name")`
|
|
118
|
-
3. **Find guides** → `get_all_spring_guides(category="Domain")`
|
|
119
|
-
4. **Read a specific guide** → `get_spring_guide("guide-id")`
|
|
120
|
-
|
|
121
|
-
### Workflow 2: Problem Solving
|
|
122
|
-
1. **Search documentation** → `search_spring_docs("problem")`
|
|
123
|
-
2. **Understand concepts** → `search_spring_concepts("concept")`
|
|
124
|
-
3. **Consult reference** → `get_spring_reference("section")`
|
|
125
|
-
4. **Follow practical guide** → `get_spring_guide("guide-id")`
|
|
126
|
-
|
|
127
|
-
### Workflow 3: Structured Learning
|
|
128
|
-
1. **Basic concepts** → `search_spring_concepts("core")`
|
|
129
|
-
2. **Beginner guides** → `get_all_spring_guides(category="Getting Started")`
|
|
130
|
-
3. **Reference documentation** → `get_spring_reference("web")`
|
|
131
|
-
4. **Advanced projects** → `search_spring_projects("advanced")`
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
## 🌟 Advanced Use Cases
|
|
136
|
-
|
|
137
|
-
### Developing a Complete REST API
|
|
138
|
-
```
|
|
139
|
-
1. "What are the guides for creating a REST API?"
|
|
140
|
-
2. "Show me the guide for creating a REST service"
|
|
141
|
-
3. "How to secure a REST API with Spring Security?"
|
|
142
|
-
4. "Documentation on REST API testing"
|
|
143
|
-
5. "Production concepts for REST APIs"
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### Migration to Spring Boot 3
|
|
147
|
-
```
|
|
148
|
-
1. "What Spring projects are compatible with Boot 3?"
|
|
149
|
-
2. "Spring Boot 2 to 3 migration guide"
|
|
150
|
-
3. "Spring Boot 3 new features"
|
|
151
|
-
4. "Spring Boot 3 reference documentation"
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
### Microservices Architecture
|
|
155
|
-
```
|
|
156
|
-
1. "Spring projects for microservices"
|
|
157
|
-
2. "Spring Cloud guides"
|
|
158
|
-
3. "Distributed configuration concepts"
|
|
159
|
-
4. "Spring Cloud Gateway documentation"
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
---
|
|
163
|
-
|
|
164
|
-
## 📖 Expected Response Types
|
|
165
|
-
|
|
166
|
-
### Search Results (search_*)
|
|
167
|
-
- Resource titles
|
|
168
|
-
- Short descriptions
|
|
169
|
-
- Direct URLs
|
|
170
|
-
- Content types
|
|
171
|
-
|
|
172
|
-
### Detailed Content (get_*)
|
|
173
|
-
- Complete documentation in Markdown
|
|
174
|
-
- Code examples
|
|
175
|
-
- Configuration
|
|
176
|
-
- Best practices
|
|
177
|
-
|
|
178
|
-
### Concepts (search_spring_concepts)
|
|
179
|
-
- Clear definitions
|
|
180
|
-
- Concrete examples
|
|
181
|
-
- Associated keywords
|
|
182
|
-
- Use cases
|
|
183
|
-
|
|
184
|
-
---
|
|
185
|
-
|
|
186
|
-
*This MCP server gives you access to the entire Spring ecosystem directly in Claude Desktop!*
|
package/EXAMPLES_FR.md
DELETED
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
# Exemples d'utilisation du serveur MCP Spring Documentation
|
|
2
|
-
|
|
3
|
-
Ce fichier contient des exemples pratiques d'utilisation du serveur MCP Spring Documentation avec Claude Desktop.
|
|
4
|
-
|
|
5
|
-
## 🚀 Scénarios d'utilisation
|
|
6
|
-
|
|
7
|
-
### 1. Découverte des projets Spring
|
|
8
|
-
|
|
9
|
-
**Question à Claude :**
|
|
10
|
-
> "Quels sont les projets Spring disponibles pour la sécurité ?"
|
|
11
|
-
|
|
12
|
-
**Outils utilisés :** `search_spring_projects`
|
|
13
|
-
**Résultat :** Liste des projets Spring Security avec descriptions
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
### 2. Apprentissage d'un nouveau projet Spring
|
|
18
|
-
|
|
19
|
-
**Question à Claude :**
|
|
20
|
-
> "Peux-tu m'expliquer le projet Spring Cloud ?"
|
|
21
|
-
|
|
22
|
-
**Outils utilisés :** `get_spring_project`
|
|
23
|
-
**Résultat :** Documentation complète de Spring Cloud
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
### 3. Exploration des guides par domaine
|
|
28
|
-
|
|
29
|
-
**Question à Claude :**
|
|
30
|
-
> "Montre-moi tous les guides Spring Boot pour le développement web"
|
|
31
|
-
|
|
32
|
-
**Outils utilisés :** `get_all_spring_guides`
|
|
33
|
-
**Résultat :** Liste des guides web avec liens et descriptions
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
### 4. Résolution d'un problème spécifique
|
|
38
|
-
|
|
39
|
-
**Question à Claude :**
|
|
40
|
-
> "Comment créer une API REST avec Spring Boot ?"
|
|
41
|
-
|
|
42
|
-
**Outils utilisés :** `search_spring_docs`, `get_spring_guide`
|
|
43
|
-
**Résultat :** Guide détaillé et documentation de référence
|
|
44
|
-
|
|
45
|
-
---
|
|
46
|
-
|
|
47
|
-
### 5. Compréhension des concepts
|
|
48
|
-
|
|
49
|
-
**Question à Claude :**
|
|
50
|
-
> "Explique-moi l'auto-configuration dans Spring Boot"
|
|
51
|
-
|
|
52
|
-
**Outils utilisés :** `search_spring_concepts`
|
|
53
|
-
**Résultat :** Explication détaillée avec exemples
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
## 🎯 Exemples de requêtes spécifiques
|
|
58
|
-
|
|
59
|
-
### Recherche de documentation
|
|
60
|
-
```
|
|
61
|
-
Utilisateur: "Comment configurer Spring Security ?"
|
|
62
|
-
Claude utilise: search_spring_docs("Spring Security configuration")
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### Exploration de projets
|
|
66
|
-
```
|
|
67
|
-
Utilisateur: "Quels sont les projets Spring pour les données ?"
|
|
68
|
-
Claude utilise: search_spring_projects("data")
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
### Guides spécialisés
|
|
72
|
-
```
|
|
73
|
-
Utilisateur: "Guides Spring Boot pour les tests"
|
|
74
|
-
Claude utilise: get_all_spring_guides(category="Testing")
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### Documentation de référence
|
|
78
|
-
```
|
|
79
|
-
Utilisateur: "Documentation Spring Boot pour la sécurité web"
|
|
80
|
-
Claude utilise: get_spring_reference("security", "web")
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
### Concepts avancés
|
|
84
|
-
```
|
|
85
|
-
Utilisateur: "Qu'est-ce que Spring Actuator ?"
|
|
86
|
-
Claude utilise: search_spring_concepts("actuator", "production")
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
## 💡 Conseils d'utilisation optimale
|
|
92
|
-
|
|
93
|
-
### 1. Soyez spécifique dans vos questions
|
|
94
|
-
- ❌ "Spring Boot"
|
|
95
|
-
- ✅ "Comment configurer une base de données avec Spring Boot ?"
|
|
96
|
-
|
|
97
|
-
### 2. Utilisez des mots-clés pertinents
|
|
98
|
-
- ❌ "Aide"
|
|
99
|
-
- ✅ "REST API", "JPA", "Security", "Testing"
|
|
100
|
-
|
|
101
|
-
### 3. Explorez par domaine
|
|
102
|
-
- "Projets Spring pour le cloud"
|
|
103
|
-
- "Guides Spring Boot pour les microservices"
|
|
104
|
-
- "Documentation Spring Security"
|
|
105
|
-
|
|
106
|
-
### 4. Demandez des exemples pratiques
|
|
107
|
-
- "Montre-moi un exemple de contrôleur REST"
|
|
108
|
-
- "Comment tester une application Spring Boot ?"
|
|
109
|
-
- "Configuration d'une base de données H2"
|
|
110
|
-
|
|
111
|
-
---
|
|
112
|
-
|
|
113
|
-
## 🔧 Workflows recommandés
|
|
114
|
-
|
|
115
|
-
### Workflow 1: Découverte d'un nouveau domaine
|
|
116
|
-
1. **Rechercher les projets** → `search_spring_projects("domaine")`
|
|
117
|
-
2. **Explorer un projet** → `get_spring_project("nom-projet")`
|
|
118
|
-
3. **Trouver des guides** → `get_all_spring_guides(category="Domaine")`
|
|
119
|
-
4. **Lire un guide spécifique** → `get_spring_guide("guide-id")`
|
|
120
|
-
|
|
121
|
-
### Workflow 2: Résolution d'un problème
|
|
122
|
-
1. **Rechercher dans la doc** → `search_spring_docs("problème")`
|
|
123
|
-
2. **Comprendre les concepts** → `search_spring_concepts("concept")`
|
|
124
|
-
3. **Consulter la référence** → `get_spring_reference("section")`
|
|
125
|
-
4. **Suivre un guide pratique** → `get_spring_guide("guide-id")`
|
|
126
|
-
|
|
127
|
-
### Workflow 3: Apprentissage structuré
|
|
128
|
-
1. **Concepts de base** → `search_spring_concepts("core")`
|
|
129
|
-
2. **Guides pour débutants** → `get_all_spring_guides(category="Getting Started")`
|
|
130
|
-
3. **Documentation de référence** → `get_spring_reference("web")`
|
|
131
|
-
4. **Projets avancés** → `search_spring_projects("advanced")`
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
## 🌟 Cas d'usage avancés
|
|
136
|
-
|
|
137
|
-
### Développement d'une API REST complète
|
|
138
|
-
```
|
|
139
|
-
1. "Quels sont les guides pour créer une API REST ?"
|
|
140
|
-
2. "Montre-moi le guide pour créer un service REST"
|
|
141
|
-
3. "Comment sécuriser une API REST avec Spring Security ?"
|
|
142
|
-
4. "Documentation sur les tests d'API REST"
|
|
143
|
-
5. "Concepts de production pour les API REST"
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### Migration vers Spring Boot 3
|
|
147
|
-
```
|
|
148
|
-
1. "Quels sont les projets Spring compatibles avec Boot 3 ?"
|
|
149
|
-
2. "Guide de migration Spring Boot 2 vers 3"
|
|
150
|
-
3. "Nouvelles fonctionnalités Spring Boot 3"
|
|
151
|
-
4. "Documentation de référence Spring Boot 3"
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
### Architecture microservices
|
|
155
|
-
```
|
|
156
|
-
1. "Projets Spring pour les microservices"
|
|
157
|
-
2. "Guides Spring Cloud"
|
|
158
|
-
3. "Concepts de configuration distribuée"
|
|
159
|
-
4. "Documentation Spring Cloud Gateway"
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
---
|
|
163
|
-
|
|
164
|
-
## 📖 Types de réponses attendues
|
|
165
|
-
|
|
166
|
-
### Listes de résultats (search_*)
|
|
167
|
-
- Titres des ressources
|
|
168
|
-
- Descriptions courtes
|
|
169
|
-
- URLs directes
|
|
170
|
-
- Types de contenu
|
|
171
|
-
|
|
172
|
-
### Contenu détaillé (get_*)
|
|
173
|
-
- Documentation complète en Markdown
|
|
174
|
-
- Exemples de code
|
|
175
|
-
- Configuration
|
|
176
|
-
- Bonnes pratiques
|
|
177
|
-
|
|
178
|
-
### Concepts (search_spring_concepts)
|
|
179
|
-
- Définitions claires
|
|
180
|
-
- Exemples concrets
|
|
181
|
-
- Mots-clés associés
|
|
182
|
-
- Cas d'usage
|
|
183
|
-
|
|
184
|
-
---
|
|
185
|
-
|
|
186
|
-
*Ce serveur MCP vous donne accès à l'ensemble de l'écosystème Spring directement dans Claude Desktop !*
|