maifady-mcp 1.0.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/LICENSE +21 -0
- package/README.es.md +244 -0
- package/README.fr.md +244 -0
- package/README.ja.md +244 -0
- package/README.md +298 -0
- package/README.zh-CN.md +244 -0
- package/agents/accessibility-auditor.md +173 -0
- package/agents/api-designer.md +224 -0
- package/agents/api-doc-generator.md +204 -0
- package/agents/bundle-analyzer.md +208 -0
- package/agents/code-reviewer-lite.md +137 -0
- package/agents/code-reviewer-pro.md +227 -0
- package/agents/commit-message-writer.md +168 -0
- package/agents/complexity-analyzer.md +217 -0
- package/agents/coverage-improver.md +232 -0
- package/agents/dead-code-finder.md +228 -0
- package/agents/dockerfile-optimizer.md +245 -0
- package/agents/e2e-test-writer.md +231 -0
- package/agents/gitignore-generator.md +538 -0
- package/agents/kubernetes-yaml-writer.md +529 -0
- package/agents/microservices-architect.md +330 -0
- package/agents/migration-writer.md +341 -0
- package/agents/ml-pipeline-architect.md +271 -0
- package/agents/openapi-generator.md +468 -0
- package/agents/perf-profiler.md +267 -0
- package/agents/prompt-engineer.md +278 -0
- package/agents/react-modernizer.md +257 -0
- package/agents/readme-generator.md +327 -0
- package/agents/refactor-assistant.md +263 -0
- package/agents/regex-explainer.md +302 -0
- package/agents/schema-designer.md +403 -0
- package/agents/security-auditor.md +377 -0
- package/agents/sql-optimizer.md +337 -0
- package/agents/tech-writer.md +616 -0
- package/agents/terraform-writer.md +488 -0
- package/agents/test-generator.md +342 -0
- package/bin/maifady-mcp.js +3 -0
- package/dist/agents.js +78 -0
- package/dist/server.js +76 -0
- package/package.json +56 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Maifady
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.es.md
ADDED
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# 🔌 Servidor MCP Maifady
|
|
4
|
+
|
|
5
|
+
**30 agentes de IA especializados en ingeniería — para cualquier cliente compatible MCP**
|
|
6
|
+
|
|
7
|
+
> 🌍 [English](README.md) · [Français](README.fr.md) · **[Español](README.es.md)** · [中文](README.zh-CN.md) · [日本語](README.ja.md)
|
|
8
|
+
|
|
9
|
+
[](LICENSE)
|
|
10
|
+
[](https://modelcontextprotocol.io)
|
|
11
|
+
[](https://www.npmjs.com/package/maifady-mcp)
|
|
12
|
+
[](agents/)
|
|
13
|
+
[](#)
|
|
14
|
+
|
|
15
|
+
[**Instalación**](#-instalación) · [**Clientes**](#-clientes-soportados) · [**Agentes**](#-los-30-agentes) · [**Funcionamiento**](#-cómo-funciona)
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## ⚡ ¿Qué es esto?
|
|
22
|
+
|
|
23
|
+
**El servidor MCP Maifady** expone 30 agentes de ingeniería especializados a través del [Model Context Protocol](https://modelcontextprotocol.io) — el estándar abierto para conectar asistentes IA a herramientas. Instálalo una vez, usa los mismos 30 especialistas en:
|
|
24
|
+
|
|
25
|
+
- 🎨 **Cursor**
|
|
26
|
+
- 🖥️ **Claude Desktop**
|
|
27
|
+
- 💻 **Cline** (extensión VS Code)
|
|
28
|
+
- ⚡ **Zed**
|
|
29
|
+
- 🔧 **Cualquier otro cliente MCP**
|
|
30
|
+
|
|
31
|
+
Un código. Todos los clientes. Sin reinstalación por IDE.
|
|
32
|
+
|
|
33
|
+
- ✅ **100% gratis** — licencia MIT, sin registro, sin telemetría, sin claves API
|
|
34
|
+
- ✅ **100% local** — corre en tu máquina vía `npx` o instalación local
|
|
35
|
+
- ✅ **30 especialistas** — code review, optimización SQL, auditoría de seguridad, refactoring, Docker, K8s, Terraform, etc.
|
|
36
|
+
- ✅ **Nativo MCP** — transporte `stdio` estándar, compatible con [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk)
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## 🚀 Instalación
|
|
41
|
+
|
|
42
|
+
### Requisitos
|
|
43
|
+
|
|
44
|
+
- **Node.js ≥ 18** (necesario para `npx maifady-mcp`)
|
|
45
|
+
|
|
46
|
+
### Vía más rápida: `npx` (sin instalación)
|
|
47
|
+
|
|
48
|
+
Los ejemplos de configuración a continuación usan todos `npx -y maifady-mcp`, que descarga y ejecuta la última versión en cada invocación. **Sin instalación global necesaria.**
|
|
49
|
+
|
|
50
|
+
### O instalación global
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
npm install -g maifady-mcp
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Luego refiérelo como `maifady-mcp` en tu config (en vez de `npx -y maifady-mcp`).
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 🛠 Clientes soportados
|
|
61
|
+
|
|
62
|
+
### Cursor
|
|
63
|
+
|
|
64
|
+
Guarda en `.cursor/mcp.json` (por proyecto) o `~/.cursor/mcp.json` (global):
|
|
65
|
+
|
|
66
|
+
```json
|
|
67
|
+
{
|
|
68
|
+
"mcpServers": {
|
|
69
|
+
"maifady": {
|
|
70
|
+
"command": "npx",
|
|
71
|
+
"args": ["-y", "maifady-mcp"]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Abre Cursor → los 30 agentes aparecen como herramientas en el chat. Invócalos naturalmente:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
Revisa esta consulta por cuellos de botella: SELECT * FROM orders WHERE ...
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Cursor elegirá `maifady_sql_optimizer` automáticamente — o llamará a `maifady_list_agents` primero para ver lo disponible.
|
|
84
|
+
|
|
85
|
+
### Claude Desktop
|
|
86
|
+
|
|
87
|
+
Guarda en `claude_desktop_config.json`:
|
|
88
|
+
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
89
|
+
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
90
|
+
- **Linux**: `~/.config/Claude/claude_desktop_config.json`
|
|
91
|
+
|
|
92
|
+
```json
|
|
93
|
+
{
|
|
94
|
+
"mcpServers": {
|
|
95
|
+
"maifady": {
|
|
96
|
+
"command": "npx",
|
|
97
|
+
"args": ["-y", "maifady-mcp"]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Reinicia Claude Desktop. Los 30 agentes ya están disponibles — busca el icono 🔌 en la entrada del chat.
|
|
104
|
+
|
|
105
|
+
### Cline (extensión VS Code)
|
|
106
|
+
|
|
107
|
+
Abre el panel Cline → Settings → MCP Servers, o edita `cline_mcp_settings.json`:
|
|
108
|
+
|
|
109
|
+
```json
|
|
110
|
+
{
|
|
111
|
+
"mcpServers": {
|
|
112
|
+
"maifady": {
|
|
113
|
+
"command": "npx",
|
|
114
|
+
"args": ["-y", "maifady-mcp"],
|
|
115
|
+
"disabled": false,
|
|
116
|
+
"autoApprove": []
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Zed
|
|
123
|
+
|
|
124
|
+
Edita `~/.config/zed/settings.json` (Linux/macOS) o `%APPDATA%\Zed\settings.json` (Windows):
|
|
125
|
+
|
|
126
|
+
```json
|
|
127
|
+
{
|
|
128
|
+
"context_servers": {
|
|
129
|
+
"maifady": {
|
|
130
|
+
"command": {
|
|
131
|
+
"path": "npx",
|
|
132
|
+
"args": ["-y", "maifady-mcp"]
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Cualquier otro cliente MCP
|
|
140
|
+
|
|
141
|
+
El servidor habla MCP estándar vía `stdio`. Cualquier cliente que soporte el protocolo puede usarlo — ver [modelcontextprotocol.io/clients](https://modelcontextprotocol.io/clients).
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 🎯 Uso
|
|
146
|
+
|
|
147
|
+
Una vez conectado, tu cliente ve **31 herramientas**:
|
|
148
|
+
|
|
149
|
+
| Herramienta | Propósito |
|
|
150
|
+
|---|---|
|
|
151
|
+
| `maifady_list_agents` | Descubrimiento — lista los 30 agentes con descripciones. Llámalo primero si tu cliente necesita ayuda para enrutar. |
|
|
152
|
+
| `maifady_sql_optimizer` | Optimizar una consulta lenta |
|
|
153
|
+
| `maifady_code_reviewer_pro` | Review de PR nivel principal engineer |
|
|
154
|
+
| `maifady_security_auditor` | Auditoría de seguridad OWASP/ASVS |
|
|
155
|
+
| `maifady_dockerfile_optimizer` | Reducir + endurecer un Dockerfile |
|
|
156
|
+
| `maifady_terraform_writer` | Terraform production-grade |
|
|
157
|
+
| `maifady_react_modernizer` | Migrar React legacy a hooks |
|
|
158
|
+
| `maifady_accessibility_auditor` | Auditoría WCAG 2.2 AA |
|
|
159
|
+
| `maifady_e2e_test_writer` | E2E fiables Playwright/Cypress |
|
|
160
|
+
| `maifady_regex_explainer` | Decodificar + endurecer una regex |
|
|
161
|
+
| ... | ... 22 especialistas más ... |
|
|
162
|
+
|
|
163
|
+
Cada herramienta toma un solo parámetro `task` (string). El servidor devuelve el system prompt completo del agente alrededor de tu tarea — el LLM host adopta ese rol y produce la respuesta.
|
|
164
|
+
|
|
165
|
+
### Ejemplos
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
Usa maifady_sql_optimizer para arreglar esta consulta: SELECT * FROM orders WHERE YEAR(created_at)=2024
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
Ejecuta maifady_security_auditor en el flujo de auth en src/middleware/
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
O simplemente describe la tarea — la mayoría de clientes eligen la herramienta correcta automáticamente:
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
Este Dockerfile genera 1.2 GB. Hazlo más pequeño.
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## 🤖 Los 30 agentes
|
|
184
|
+
|
|
185
|
+
| Categoría | Agentes |
|
|
186
|
+
|---|---|
|
|
187
|
+
| **Calidad de código** | `code-reviewer-lite`, `code-reviewer-pro`, `security-auditor`, `refactor-assistant`, `dead-code-finder`, `complexity-analyzer` |
|
|
188
|
+
| **BD & Perf** | `sql-optimizer`, `schema-designer`, `migration-writer`, `perf-profiler` |
|
|
189
|
+
| **Tests** | `test-generator`, `e2e-test-writer`, `coverage-improver` |
|
|
190
|
+
| **Git & Docs** | `commit-message-writer`, `readme-generator`, `gitignore-generator`, `tech-writer`, `api-doc-generator` |
|
|
191
|
+
| **Frontend** | `react-modernizer`, `accessibility-auditor`, `bundle-analyzer` |
|
|
192
|
+
| **Backend & API** | `api-designer`, `openapi-generator`, `microservices-architect` |
|
|
193
|
+
| **DevOps & Cloud** | `dockerfile-optimizer`, `kubernetes-yaml-writer`, `terraform-writer` |
|
|
194
|
+
| **IA/ML & Utils** | `prompt-engineer`, `ml-pipeline-architect`, `regex-explainer` |
|
|
195
|
+
|
|
196
|
+
El system prompt completo de cada agente está en `agents/<slug>.md`. Léelos — cada prompt está escrito para ser honesto sobre el alcance, empujar hacia atrás en lo prematuro, y producir resultados concretos.
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## 🛠 Cómo funciona
|
|
201
|
+
|
|
202
|
+
1. **Arranque**: el servidor lee cada `agents/*.md` y parsea frontmatter + body.
|
|
203
|
+
2. **Registro**: cada agente se convierte en una herramienta MCP `maifady_<slug>` con su descripción.
|
|
204
|
+
3. **Invocación**: cuando un cliente llama a una herramienta con `{ task: "..." }`, el servidor devuelve un payload de texto que contiene:
|
|
205
|
+
- El system prompt del agente
|
|
206
|
+
- La tarea del usuario
|
|
207
|
+
- Un recordatorio de mantenerse en el alcance
|
|
208
|
+
4. **LLM host**: el LLM que llama (Claude, GPT-4, etc.) lee este payload y produce la respuesta **como ese especialista**.
|
|
209
|
+
|
|
210
|
+
Este enfoque — «prompt injection vía resultado de herramienta» — significa que el servidor en sí nunca llama a una API IA. Sin claves API, sin cuota, sin coste. El LLM host hace todo el trabajo.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## 🤝 Contribuir
|
|
215
|
+
|
|
216
|
+
PRs bienvenidos en:
|
|
217
|
+
- **Prompts de agentes** — mejorar el comportamiento de un especialista
|
|
218
|
+
- **UX de descubrimiento** — mejorar `maifady_list_agents` o las descripciones de herramientas
|
|
219
|
+
- **Nuevos clientes** — añadir un ejemplo de config para un cliente no cubierto
|
|
220
|
+
|
|
221
|
+
Ver [github.com/MaFady/maifady-plugin/blob/main/CONTRIBUTING.es.md](https://github.com/MaFady/maifady-plugin/blob/main/CONTRIBUTING.es.md).
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## 📜 Licencia
|
|
226
|
+
|
|
227
|
+
[MIT](LICENSE) — usa, fork, modifica, redistribuye libremente.
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
## 🌐 Ecosistema Maifady
|
|
232
|
+
|
|
233
|
+
- 🤖 [**maifady-plugin**](https://github.com/MaFady/maifady-plugin) — Plugin Claude Code nativo (CLI + Desktop)
|
|
234
|
+
- 🎨 [**maifady-cursor**](https://github.com/MaFady/maifady-cursor) — Reglas `.mdc` Cursor
|
|
235
|
+
- 🔌 [**maifady-mcp**](https://github.com/MaFady/maifady-mcp) — Servidor MCP universal (este repo)
|
|
236
|
+
- 🌍 [**maifady.com**](https://mafady.fr) — Documentación, catálogo, ejemplos
|
|
237
|
+
|
|
238
|
+
<div align="center">
|
|
239
|
+
|
|
240
|
+
**Hecho con ❤️ para desarrolladores de todo el mundo.**
|
|
241
|
+
|
|
242
|
+
[⬆ Volver arriba](#-servidor-mcp-maifady)
|
|
243
|
+
|
|
244
|
+
</div>
|
package/README.fr.md
ADDED
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# 🔌 Serveur MCP Maifady
|
|
4
|
+
|
|
5
|
+
**30 agents IA d'ingénierie spécialisés — pour tout client compatible MCP**
|
|
6
|
+
|
|
7
|
+
> 🌍 [English](README.md) · **[Français](README.fr.md)** · [Español](README.es.md) · [中文](README.zh-CN.md) · [日本語](README.ja.md)
|
|
8
|
+
|
|
9
|
+
[](LICENSE)
|
|
10
|
+
[](https://modelcontextprotocol.io)
|
|
11
|
+
[](https://www.npmjs.com/package/maifady-mcp)
|
|
12
|
+
[](agents/)
|
|
13
|
+
[](#)
|
|
14
|
+
|
|
15
|
+
[**Installation**](#-installation) · [**Clients**](#-clients-supportés) · [**Agents**](#-les-30-agents) · [**Fonctionnement**](#-comment-ça-marche)
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## ⚡ C'est quoi ?
|
|
22
|
+
|
|
23
|
+
**Le serveur MCP Maifady** expose 30 agents d'ingénierie spécialisés via le [Model Context Protocol](https://modelcontextprotocol.io) — la norme ouverte pour connecter les assistants IA à des outils. Installe-le une fois, utilise les mêmes 30 spécialistes dans :
|
|
24
|
+
|
|
25
|
+
- 🎨 **Cursor**
|
|
26
|
+
- 🖥️ **Claude Desktop**
|
|
27
|
+
- 💻 **Cline** (extension VS Code)
|
|
28
|
+
- ⚡ **Zed**
|
|
29
|
+
- 🔧 **N'importe quel autre client MCP**
|
|
30
|
+
|
|
31
|
+
Un seul code. Tous les clients. Pas de réinstallation par IDE.
|
|
32
|
+
|
|
33
|
+
- ✅ **100% gratuit** — licence MIT, pas d'inscription, pas de télémétrie, aucune clé API
|
|
34
|
+
- ✅ **100% local** — tourne sur ta machine via `npx` ou install local
|
|
35
|
+
- ✅ **30 spécialistes** — revue de code, optimisation SQL, audit sécurité, refactoring, Docker, K8s, Terraform, etc.
|
|
36
|
+
- ✅ **Natif MCP** — transport `stdio` standard, compatible [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk)
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## 🚀 Installation
|
|
41
|
+
|
|
42
|
+
### Prérequis
|
|
43
|
+
|
|
44
|
+
- **Node.js ≥ 18** (nécessaire pour `npx maifady-mcp`)
|
|
45
|
+
|
|
46
|
+
### Voie la plus rapide : `npx` (pas d'install)
|
|
47
|
+
|
|
48
|
+
Les exemples de config ci-dessous utilisent tous `npx -y maifady-mcp`, qui télécharge et lance la dernière version à chaque invocation. **Pas d'install globale nécessaire.**
|
|
49
|
+
|
|
50
|
+
### Ou installation globale
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
npm install -g maifady-mcp
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Puis réfère-le comme `maifady-mcp` dans ta config (au lieu de `npx -y maifady-mcp`).
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 🛠 Clients supportés
|
|
61
|
+
|
|
62
|
+
### Cursor
|
|
63
|
+
|
|
64
|
+
Enregistre dans `.cursor/mcp.json` (par projet) ou `~/.cursor/mcp.json` (global) :
|
|
65
|
+
|
|
66
|
+
```json
|
|
67
|
+
{
|
|
68
|
+
"mcpServers": {
|
|
69
|
+
"maifady": {
|
|
70
|
+
"command": "npx",
|
|
71
|
+
"args": ["-y", "maifady-mcp"]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Ouvre Cursor → les 30 agents apparaissent comme outils dans le chat. Invoque-les naturellement :
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
Review cette requête pour les bottlenecks : SELECT * FROM orders WHERE ...
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Cursor choisira `maifady_sql_optimizer` automatiquement — ou appellera `maifady_list_agents` d'abord pour voir ce qui est dispo.
|
|
84
|
+
|
|
85
|
+
### Claude Desktop
|
|
86
|
+
|
|
87
|
+
Enregistre dans `claude_desktop_config.json` :
|
|
88
|
+
- **macOS** : `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
89
|
+
- **Windows** : `%APPDATA%\Claude\claude_desktop_config.json`
|
|
90
|
+
- **Linux** : `~/.config/Claude/claude_desktop_config.json`
|
|
91
|
+
|
|
92
|
+
```json
|
|
93
|
+
{
|
|
94
|
+
"mcpServers": {
|
|
95
|
+
"maifady": {
|
|
96
|
+
"command": "npx",
|
|
97
|
+
"args": ["-y", "maifady-mcp"]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Redémarre Claude Desktop. Les 30 agents sont maintenant dispo — cherche l'icône 🔌 dans l'entrée du chat.
|
|
104
|
+
|
|
105
|
+
### Cline (extension VS Code)
|
|
106
|
+
|
|
107
|
+
Ouvre le panneau Cline → Settings → MCP Servers, ou édite `cline_mcp_settings.json` :
|
|
108
|
+
|
|
109
|
+
```json
|
|
110
|
+
{
|
|
111
|
+
"mcpServers": {
|
|
112
|
+
"maifady": {
|
|
113
|
+
"command": "npx",
|
|
114
|
+
"args": ["-y", "maifady-mcp"],
|
|
115
|
+
"disabled": false,
|
|
116
|
+
"autoApprove": []
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Zed
|
|
123
|
+
|
|
124
|
+
Édite `~/.config/zed/settings.json` (Linux/macOS) ou `%APPDATA%\Zed\settings.json` (Windows) :
|
|
125
|
+
|
|
126
|
+
```json
|
|
127
|
+
{
|
|
128
|
+
"context_servers": {
|
|
129
|
+
"maifady": {
|
|
130
|
+
"command": {
|
|
131
|
+
"path": "npx",
|
|
132
|
+
"args": ["-y", "maifady-mcp"]
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Tout autre client MCP
|
|
140
|
+
|
|
141
|
+
Le serveur parle MCP standard via `stdio`. Tout client supportant le protocole peut l'utiliser — voir [modelcontextprotocol.io/clients](https://modelcontextprotocol.io/clients).
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 🎯 Utilisation
|
|
146
|
+
|
|
147
|
+
Une fois connecté, ton client voit **31 outils** :
|
|
148
|
+
|
|
149
|
+
| Outil | Rôle |
|
|
150
|
+
|---|---|
|
|
151
|
+
| `maifady_list_agents` | Découverte — liste les 30 agents avec descriptions. Appelle-le d'abord si ton client a besoin d'aide pour router. |
|
|
152
|
+
| `maifady_sql_optimizer` | Optimiser une requête lente |
|
|
153
|
+
| `maifady_code_reviewer_pro` | Review PR niveau principal engineer |
|
|
154
|
+
| `maifady_security_auditor` | Audit sécurité OWASP/ASVS |
|
|
155
|
+
| `maifady_dockerfile_optimizer` | Réduire + durcir un Dockerfile |
|
|
156
|
+
| `maifady_terraform_writer` | Terraform production-grade |
|
|
157
|
+
| `maifady_react_modernizer` | Migrer React legacy vers hooks |
|
|
158
|
+
| `maifady_accessibility_auditor` | Audit WCAG 2.2 AA |
|
|
159
|
+
| `maifady_e2e_test_writer` | E2E fiables Playwright/Cypress |
|
|
160
|
+
| `maifady_regex_explainer` | Décoder + durcir une regex |
|
|
161
|
+
| ... | ... 22 spécialistes en plus ... |
|
|
162
|
+
|
|
163
|
+
Chaque outil prend un seul paramètre `task` (string). Le serveur retourne le system prompt complet de l'agent autour de ta tâche — le LLM hôte adopte ce rôle et produit la réponse.
|
|
164
|
+
|
|
165
|
+
### Exemples
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
Utilise maifady_sql_optimizer pour fixer cette requête : SELECT * FROM orders WHERE YEAR(created_at)=2024
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
Lance maifady_security_auditor sur le flow d'auth dans src/middleware/
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Ou décris simplement la tâche — la plupart des clients picotent le bon outil tout seuls :
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
Ce Dockerfile fait 1.2 GB. Réduis-le.
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## 🤖 Les 30 agents
|
|
184
|
+
|
|
185
|
+
| Catégorie | Agents |
|
|
186
|
+
|---|---|
|
|
187
|
+
| **Qualité du code** | `code-reviewer-lite`, `code-reviewer-pro`, `security-auditor`, `refactor-assistant`, `dead-code-finder`, `complexity-analyzer` |
|
|
188
|
+
| **DB & Perf** | `sql-optimizer`, `schema-designer`, `migration-writer`, `perf-profiler` |
|
|
189
|
+
| **Tests** | `test-generator`, `e2e-test-writer`, `coverage-improver` |
|
|
190
|
+
| **Git & Docs** | `commit-message-writer`, `readme-generator`, `gitignore-generator`, `tech-writer`, `api-doc-generator` |
|
|
191
|
+
| **Frontend** | `react-modernizer`, `accessibility-auditor`, `bundle-analyzer` |
|
|
192
|
+
| **Backend & API** | `api-designer`, `openapi-generator`, `microservices-architect` |
|
|
193
|
+
| **DevOps & Cloud** | `dockerfile-optimizer`, `kubernetes-yaml-writer`, `terraform-writer` |
|
|
194
|
+
| **IA/ML & Utils** | `prompt-engineer`, `ml-pipeline-architect`, `regex-explainer` |
|
|
195
|
+
|
|
196
|
+
Le system prompt complet de chaque agent est dans `agents/<slug>.md`. Lis-les — chaque prompt est écrit pour être honnête sur le scope, pousser en arrière sur le prématuré, et produire des résultats concrets.
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## 🛠 Comment ça marche
|
|
201
|
+
|
|
202
|
+
1. **Démarrage** : le serveur lit chaque `agents/*.md` et parse frontmatter + body.
|
|
203
|
+
2. **Enregistrement** : chaque agent devient un outil MCP `maifady_<slug>` avec sa description.
|
|
204
|
+
3. **Invocation** : quand un client appelle un outil avec `{ task: "..." }`, le serveur retourne un payload texte contenant :
|
|
205
|
+
- Le system prompt de l'agent
|
|
206
|
+
- La tâche de l'utilisateur
|
|
207
|
+
- Un rappel de rester dans le scope
|
|
208
|
+
4. **LLM hôte** : le LLM appelant (Claude, GPT-4, etc.) lit ce payload et produit la réponse **en tant que ce spécialiste**.
|
|
209
|
+
|
|
210
|
+
Cette approche — « prompt injection via résultat d'outil » — fait que le serveur lui-même n'appelle jamais d'API IA. Pas de clé API, pas de quota, pas de coût. C'est le LLM hôte qui fait le boulot.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## 🤝 Contribuer
|
|
215
|
+
|
|
216
|
+
PRs bienvenues sur :
|
|
217
|
+
- **Prompts d'agents** — améliorer le comportement d'un spécialiste
|
|
218
|
+
- **UX de découverte** — améliorer `maifady_list_agents` ou les descriptions des outils
|
|
219
|
+
- **Nouveaux clients** — ajouter un exemple de config pour un client non couvert
|
|
220
|
+
|
|
221
|
+
Voir [github.com/MaFady/maifady-plugin/blob/main/CONTRIBUTING.fr.md](https://github.com/MaFady/maifady-plugin/blob/main/CONTRIBUTING.fr.md).
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## 📜 Licence
|
|
226
|
+
|
|
227
|
+
[MIT](LICENSE) — utilise, fork, modifie, redistribue librement.
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
## 🌐 Écosystème Maifady
|
|
232
|
+
|
|
233
|
+
- 🤖 [**maifady-plugin**](https://github.com/MaFady/maifady-plugin) — Plugin Claude Code natif (CLI + Desktop)
|
|
234
|
+
- 🎨 [**maifady-cursor**](https://github.com/MaFady/maifady-cursor) — Règles `.mdc` Cursor
|
|
235
|
+
- 🔌 [**maifady-mcp**](https://github.com/MaFady/maifady-mcp) — Serveur MCP universel (ce repo)
|
|
236
|
+
- 🌍 [**maifady.com**](https://mafady.fr) — Documentation, catalogue, exemples
|
|
237
|
+
|
|
238
|
+
<div align="center">
|
|
239
|
+
|
|
240
|
+
**Fait avec ❤️ pour les développeurs du monde entier.**
|
|
241
|
+
|
|
242
|
+
[⬆ Retour en haut](#-serveur-mcp-maifady)
|
|
243
|
+
|
|
244
|
+
</div>
|