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/README.ja.md
ADDED
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# 🔌 Maifady MCP サーバー
|
|
4
|
+
|
|
5
|
+
**30 の専門 AI エンジニアリングエージェント — 任意の 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
|
+
[**インストール**](#-インストール) · [**クライアント**](#-対応クライアント) · [**エージェント**](#-30-のエージェント) · [**仕組み**](#-仕組み)
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## ⚡ これは何?
|
|
22
|
+
|
|
23
|
+
**Maifady MCP サーバー**は、[Model Context Protocol](https://modelcontextprotocol.io)(AI アシスタントとツールを接続するためのオープンスタンダード)を通じて、30 の専門エンジニアリングエージェントを公開します。一度インストールすれば、同じ 30 の専門家を以下で使用できます:
|
|
24
|
+
|
|
25
|
+
- 🎨 **Cursor**
|
|
26
|
+
- 🖥️ **Claude Desktop**
|
|
27
|
+
- 💻 **Cline**(VS Code 拡張)
|
|
28
|
+
- ⚡ **Zed**
|
|
29
|
+
- 🔧 **任意の他の MCP 互換クライアント**
|
|
30
|
+
|
|
31
|
+
1 つのコードベース。すべてのクライアント。IDE ごとの再インストール不要。
|
|
32
|
+
|
|
33
|
+
- ✅ **100% 無料** — MIT ライセンス、登録不要、テレメトリーなし、API キー管理不要
|
|
34
|
+
- ✅ **100% ローカル** — `npx` またはローカルインストールでマシン上で実行
|
|
35
|
+
- ✅ **30 のスペシャリスト** — コードレビュー、SQL 最適化、セキュリティ監査、リファクタリング、Docker、K8s、Terraform など
|
|
36
|
+
- ✅ **MCP ネイティブ** — 標準の `stdio` トランスポート、[@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk) と互換
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## 🚀 インストール
|
|
41
|
+
|
|
42
|
+
### 前提条件
|
|
43
|
+
|
|
44
|
+
- **Node.js ≥ 18**(`npx maifady-mcp` 実行に必要)
|
|
45
|
+
|
|
46
|
+
### 最速の方法: `npx`(インストール不要)
|
|
47
|
+
|
|
48
|
+
以下のすべての設定例は `npx -y maifady-mcp` を使用しており、呼び出しごとに最新版をダウンロードして実行します。**グローバルインストール不要。**
|
|
49
|
+
|
|
50
|
+
### またはグローバルインストール
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
npm install -g maifady-mcp
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
その後、クライアント設定で `maifady-mcp` として参照します(`npx -y maifady-mcp` の代わりに)。
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 🛠 対応クライアント
|
|
61
|
+
|
|
62
|
+
### Cursor
|
|
63
|
+
|
|
64
|
+
`.cursor/mcp.json`(プロジェクトごと)または `~/.cursor/mcp.json`(グローバル)に保存:
|
|
65
|
+
|
|
66
|
+
```json
|
|
67
|
+
{
|
|
68
|
+
"mcpServers": {
|
|
69
|
+
"maifady": {
|
|
70
|
+
"command": "npx",
|
|
71
|
+
"args": ["-y", "maifady-mcp"]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Cursor を開く → 30 のエージェントがチャットでツールとして表示されます。自然に呼び出せます:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
このクエリのボトルネックをレビュー: SELECT * FROM orders WHERE ...
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Cursor は `maifady_sql_optimizer` を自動的に選択 — または、利用可能なツールを確認するために最初に `maifady_list_agents` を呼び出します。
|
|
84
|
+
|
|
85
|
+
### Claude Desktop
|
|
86
|
+
|
|
87
|
+
`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
|
+
Claude Desktop を再起動。30 のエージェントが利用可能に — チャット入力の 🔌 アイコンを探してください。
|
|
104
|
+
|
|
105
|
+
### Cline(VS Code 拡張)
|
|
106
|
+
|
|
107
|
+
Cline パネル → Settings → MCP Servers を開く、または `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
|
+
`~/.config/zed/settings.json`(Linux/macOS)または `%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
|
+
### 他の任意の MCP クライアント
|
|
140
|
+
|
|
141
|
+
サーバーは `stdio` 上で標準 MCP を話します。プロトコルをサポートする任意のクライアントが使用可能 — [modelcontextprotocol.io/clients](https://modelcontextprotocol.io/clients) を参照。
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 🎯 使い方
|
|
146
|
+
|
|
147
|
+
接続すると、クライアントは **31 のツール**を見ます:
|
|
148
|
+
|
|
149
|
+
| ツール | 目的 |
|
|
150
|
+
|---|---|
|
|
151
|
+
| `maifady_list_agents` | 発見 — 30 のエージェントと説明を一覧表示。クライアントがルーティングのヘルプを必要とする場合、最初に呼び出します。 |
|
|
152
|
+
| `maifady_sql_optimizer` | 遅いクエリを最適化 |
|
|
153
|
+
| `maifady_code_reviewer_pro` | プリンシパルエンジニア級 PR レビュー |
|
|
154
|
+
| `maifady_security_auditor` | OWASP/ASVS セキュリティ監査 |
|
|
155
|
+
| `maifady_dockerfile_optimizer` | Dockerfile を縮小 + 強化 |
|
|
156
|
+
| `maifady_terraform_writer` | プロダクショングレード Terraform |
|
|
157
|
+
| `maifady_react_modernizer` | レガシー React を hooks に移行 |
|
|
158
|
+
| `maifady_accessibility_auditor` | WCAG 2.2 AA 監査 |
|
|
159
|
+
| `maifady_e2e_test_writer` | 信頼できる Playwright/Cypress E2E |
|
|
160
|
+
| `maifady_regex_explainer` | 正規表現のデコード + 強化 |
|
|
161
|
+
| ... | ... 他 22 のスペシャリスト ... |
|
|
162
|
+
|
|
163
|
+
各ツールは 1 つの `task` パラメータ(文字列)を取ります。サーバーはタスクをラップしたエージェントの完全な system prompt を返します — ホスト LLM はその役割を採用して答えを生成します。
|
|
164
|
+
|
|
165
|
+
### 例
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
maifady_sql_optimizer を使ってこのクエリを修正: SELECT * FROM orders WHERE YEAR(created_at)=2024
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
src/middleware/ の認証フローで maifady_security_auditor を実行
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
または、タスクを記述するだけで — ほとんどのクライアントが正しいツールを自動的に選択:
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
この Dockerfile は 1.2 GB をビルドします。小さくしてください。
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## 🤖 30 のエージェント
|
|
184
|
+
|
|
185
|
+
| カテゴリ | エージェント |
|
|
186
|
+
|---|---|
|
|
187
|
+
| **コード品質** | `code-reviewer-lite`, `code-reviewer-pro`, `security-auditor`, `refactor-assistant`, `dead-code-finder`, `complexity-analyzer` |
|
|
188
|
+
| **DB & パフォーマンス** | `sql-optimizer`, `schema-designer`, `migration-writer`, `perf-profiler` |
|
|
189
|
+
| **テスト** | `test-generator`, `e2e-test-writer`, `coverage-improver` |
|
|
190
|
+
| **Git & ドキュメント** | `commit-message-writer`, `readme-generator`, `gitignore-generator`, `tech-writer`, `api-doc-generator` |
|
|
191
|
+
| **フロントエンド** | `react-modernizer`, `accessibility-auditor`, `bundle-analyzer` |
|
|
192
|
+
| **バックエンド & API** | `api-designer`, `openapi-generator`, `microservices-architect` |
|
|
193
|
+
| **DevOps & クラウド** | `dockerfile-optimizer`, `kubernetes-yaml-writer`, `terraform-writer` |
|
|
194
|
+
| **AI/ML & ユーティリティ** | `prompt-engineer`, `ml-pipeline-architect`, `regex-explainer` |
|
|
195
|
+
|
|
196
|
+
各エージェントの完全な system prompt は `agents/<slug>.md` にあります。読んでください — 各プロンプトはスコープについて正直で、時期尚早の場合は押し戻し、具体的なアクション可能な出力を生成するように意図的に書かれています。
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## 🛠 仕組み
|
|
201
|
+
|
|
202
|
+
1. **起動**: サーバーは各 `agents/*.md` ファイルを読み、frontmatter + body をパース。
|
|
203
|
+
2. **登録**: 各エージェントは frontmatter の説明とともに `maifady_<slug>` という MCP ツールになります。
|
|
204
|
+
3. **呼び出し**: クライアントが `{ task: "..." }` でツールを呼ぶと、サーバーは以下を含むテキストペイロードを返します:
|
|
205
|
+
- エージェントの system prompt
|
|
206
|
+
- ユーザーのタスク
|
|
207
|
+
- エージェントのスコープ内にとどまるリマインダー
|
|
208
|
+
4. **ホスト LLM**: 呼び出し元の LLM(Claude、GPT-4 など)はこのペイロードを読み、**そのスペシャリストとして**答えを生成します。
|
|
209
|
+
|
|
210
|
+
このパターン — 「ツール結果による prompt インジェクション」 — は、サーバー自体が AI API を一切呼び出さないことを意味します。API キーなし、クォータなし、コストなし。ホスト LLM がすべての作業を行います。
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## 🤝 貢献
|
|
215
|
+
|
|
216
|
+
PR を歓迎:
|
|
217
|
+
- **エージェントプロンプト** — スペシャリストの振る舞いを改善
|
|
218
|
+
- **発見 UX** — `maifady_list_agents` またはツール説明を改善
|
|
219
|
+
- **新しいクライアント** — カバーされていないクライアントの設定例を追加
|
|
220
|
+
|
|
221
|
+
詳細ガイドは [github.com/MaFady/maifady-plugin/blob/main/CONTRIBUTING.ja.md](https://github.com/MaFady/maifady-plugin/blob/main/CONTRIBUTING.ja.md) を参照。
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## 📜 ライセンス
|
|
226
|
+
|
|
227
|
+
[MIT](LICENSE) — 自由に使用、フォーク、変更、再配布できます。
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
## 🌐 Maifady エコシステム
|
|
232
|
+
|
|
233
|
+
- 🤖 [**maifady-plugin**](https://github.com/MaFady/maifady-plugin) — ネイティブ Claude Code プラグイン(CLI + Desktop)
|
|
234
|
+
- 🎨 [**maifady-cursor**](https://github.com/MaFady/maifady-cursor) — Cursor `.mdc` ルール
|
|
235
|
+
- 🔌 [**maifady-mcp**](https://github.com/MaFady/maifady-mcp) — ユニバーサル MCP サーバー(このリポジトリ)
|
|
236
|
+
- 🌍 [**maifady.com**](https://mafady.fr) — ドキュメント、カタログ、サンプル
|
|
237
|
+
|
|
238
|
+
<div align="center">
|
|
239
|
+
|
|
240
|
+
**世界中の開発者のために ❤️ を込めて。**
|
|
241
|
+
|
|
242
|
+
[⬆ トップへ戻る](#-maifady-mcp-サーバー)
|
|
243
|
+
|
|
244
|
+
</div>
|
package/README.md
ADDED
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# 🔌 Maifady MCP Server
|
|
4
|
+
|
|
5
|
+
**30 specialist AI engineering agents — for any MCP-compatible client**
|
|
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
|
+
[**Install**](#-installation) · [**Clients**](#-supported-clients) · [**Agents**](#-the-30-agents) · [**How it works**](#-how-it-works)
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## ⚡ What is this?
|
|
22
|
+
|
|
23
|
+
**Maifady MCP Server** exposes 30 specialist engineering agents through the [Model Context Protocol](https://modelcontextprotocol.io) — the open standard for connecting AI assistants to tools. Install it once, use the same 30 specialists in:
|
|
24
|
+
|
|
25
|
+
- 🎨 **Cursor**
|
|
26
|
+
- 🖥️ **Claude Desktop**
|
|
27
|
+
- 💻 **Cline** (VS Code extension)
|
|
28
|
+
- ⚡ **Zed**
|
|
29
|
+
- 🔧 **Any other MCP-compatible client**
|
|
30
|
+
|
|
31
|
+
One codebase. Every client. No re-installation per IDE.
|
|
32
|
+
|
|
33
|
+
- ✅ **100% free** — MIT license, no signup, no telemetry, no API keys to manage
|
|
34
|
+
- ✅ **100% local** — runs on your machine via `npx` or local install
|
|
35
|
+
- ✅ **30 specialists** — code review, SQL optimization, security audit, refactoring, Docker, K8s, Terraform, and more
|
|
36
|
+
- ✅ **MCP-native** — standard `stdio` transport, works with the [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk)
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## 🚀 Installation
|
|
41
|
+
|
|
42
|
+
### Prerequisites
|
|
43
|
+
|
|
44
|
+
- **Node.js ≥ 18** (required to run `npx maifady-mcp`)
|
|
45
|
+
|
|
46
|
+
### Quickest path: `npx` (no install needed)
|
|
47
|
+
|
|
48
|
+
The configuration examples below all use `npx -y maifady-mcp`, which downloads and runs the latest version on each invocation. **No global install required.**
|
|
49
|
+
|
|
50
|
+
### Or install globally
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
npm install -g maifady-mcp
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Then reference it as `maifady-mcp` in your client config (instead of `npx -y maifady-mcp`).
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 🛠 Supported clients
|
|
61
|
+
|
|
62
|
+
### Cursor
|
|
63
|
+
|
|
64
|
+
Save into `.cursor/mcp.json` (per project) or `~/.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
|
+
Open Cursor → the 30 agents appear as tools in the chat. Invoke them naturally:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
Review this query for bottlenecks: SELECT * FROM orders WHERE ...
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Cursor will pick `maifady_sql_optimizer` automatically — or call `maifady_list_agents` first to see what's available.
|
|
84
|
+
|
|
85
|
+
### Claude Desktop
|
|
86
|
+
|
|
87
|
+
Save into `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
|
+
Restart Claude Desktop. The 30 agents are now available — look for the 🔌 plug icon in the chat input.
|
|
104
|
+
|
|
105
|
+
### Cline (VS Code extension)
|
|
106
|
+
|
|
107
|
+
Open Cline panel → Settings → MCP Servers, or edit `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
|
+
Edit `~/.config/zed/settings.json` (Linux/macOS) or `%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
|
+
### Any other MCP client
|
|
140
|
+
|
|
141
|
+
The server speaks standard MCP over `stdio`. Any client that supports the protocol can use it — see [modelcontextprotocol.io/clients](https://modelcontextprotocol.io/clients) for the up-to-date list.
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 🎯 Usage
|
|
146
|
+
|
|
147
|
+
Once connected, your client sees **31 tools**:
|
|
148
|
+
|
|
149
|
+
| Tool | Purpose |
|
|
150
|
+
|---|---|
|
|
151
|
+
| `maifady_list_agents` | Discovery — lists all 30 agents with descriptions. Call this first if your client needs help routing. |
|
|
152
|
+
| `maifady_sql_optimizer` | Optimize a slow query |
|
|
153
|
+
| `maifady_code_reviewer_pro` | Principal-engineer PR review |
|
|
154
|
+
| `maifady_security_auditor` | OWASP/ASVS security audit |
|
|
155
|
+
| `maifady_dockerfile_optimizer` | Shrink + harden a Dockerfile |
|
|
156
|
+
| `maifady_terraform_writer` | Production-grade Terraform |
|
|
157
|
+
| `maifady_react_modernizer` | Migrate legacy React to hooks |
|
|
158
|
+
| `maifady_accessibility_auditor` | WCAG 2.2 AA audit |
|
|
159
|
+
| `maifady_e2e_test_writer` | Reliable Playwright/Cypress E2E |
|
|
160
|
+
| `maifady_regex_explainer` | Decode + harden a regex |
|
|
161
|
+
| ... | ... 22 more specialists ... |
|
|
162
|
+
|
|
163
|
+
Each tool takes a single `task` parameter (string). The server returns the agent's full system prompt wrapped around your task — the host LLM then adopts that role and produces the answer.
|
|
164
|
+
|
|
165
|
+
### Example invocations
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
Use maifady_sql_optimizer to fix this query: SELECT * FROM orders WHERE YEAR(created_at)=2024
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
Run maifady_security_auditor on the auth flow in src/middleware/
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
```
|
|
176
|
+
Ask maifady_dockerfile_optimizer to review this Dockerfile and cut the image size
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
Or just describe the task — most clients will pick the right tool automatically:
|
|
180
|
+
|
|
181
|
+
```
|
|
182
|
+
This Dockerfile builds 1.2 GB. Make it smaller.
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## 🤖 The 30 agents
|
|
188
|
+
|
|
189
|
+
| Category | Agents |
|
|
190
|
+
|---|---|
|
|
191
|
+
| **Code Quality** | `code-reviewer-lite`, `code-reviewer-pro`, `security-auditor`, `refactor-assistant`, `dead-code-finder`, `complexity-analyzer` |
|
|
192
|
+
| **Database & Perf** | `sql-optimizer`, `schema-designer`, `migration-writer`, `perf-profiler` |
|
|
193
|
+
| **Testing** | `test-generator`, `e2e-test-writer`, `coverage-improver` |
|
|
194
|
+
| **Git & Docs** | `commit-message-writer`, `readme-generator`, `gitignore-generator`, `tech-writer`, `api-doc-generator` |
|
|
195
|
+
| **Frontend** | `react-modernizer`, `accessibility-auditor`, `bundle-analyzer` |
|
|
196
|
+
| **Backend & API** | `api-designer`, `openapi-generator`, `microservices-architect` |
|
|
197
|
+
| **DevOps & Cloud** | `dockerfile-optimizer`, `kubernetes-yaml-writer`, `terraform-writer` |
|
|
198
|
+
| **AI/ML & Utils** | `prompt-engineer`, `ml-pipeline-architect`, `regex-explainer` |
|
|
199
|
+
|
|
200
|
+
Each agent's full system prompt is shipped in `agents/<slug>.md`. Read them — every prompt is intentionally written to be honest about scope, push back when premature, and produce concrete actionable output.
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
## 🛠 How it works
|
|
205
|
+
|
|
206
|
+
1. **Startup**: the server reads every `agents/*.md` file and parses the frontmatter + body.
|
|
207
|
+
2. **Registration**: each agent becomes one MCP tool named `maifady_<slug>` with the description from the frontmatter.
|
|
208
|
+
3. **Invocation**: when a client calls a tool with `{ task: "..." }`, the server returns a text payload containing:
|
|
209
|
+
- The agent's system prompt
|
|
210
|
+
- The user's task
|
|
211
|
+
- A reminder to stay within the agent's scope
|
|
212
|
+
4. **Host LLM**: the calling LLM (Claude, GPT-4, etc.) reads this payload and produces the answer **as that specialist**.
|
|
213
|
+
|
|
214
|
+
This pattern — "prompt injection through tool result" — means the server itself never calls any AI API. It has no API key, no quota, no cost. The host LLM does all the work.
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## 🏗 Architecture
|
|
219
|
+
|
|
220
|
+
```
|
|
221
|
+
maifady-mcp/
|
|
222
|
+
├── package.json
|
|
223
|
+
├── tsconfig.json
|
|
224
|
+
├── src/
|
|
225
|
+
│ ├── server.ts ← MCP server entry point (stdio transport)
|
|
226
|
+
│ └── agents.ts ← Agent loader + response builder
|
|
227
|
+
├── agents/ ← 30 source .md files
|
|
228
|
+
│ ├── code-reviewer-pro.md
|
|
229
|
+
│ ├── sql-optimizer.md
|
|
230
|
+
│ └── ... (28 more)
|
|
231
|
+
├── bin/
|
|
232
|
+
│ └── maifady-mcp.js ← npm bin launcher
|
|
233
|
+
├── config-examples/
|
|
234
|
+
│ ├── cursor.json
|
|
235
|
+
│ ├── claude-desktop.json
|
|
236
|
+
│ ├── cline.json
|
|
237
|
+
│ └── zed.json
|
|
238
|
+
└── dist/ ← compiled output (npm publish)
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## 🧪 Development
|
|
244
|
+
|
|
245
|
+
```bash
|
|
246
|
+
git clone https://github.com/MaFady/maifady-mcp.git
|
|
247
|
+
cd maifady-mcp
|
|
248
|
+
npm install
|
|
249
|
+
npm run build
|
|
250
|
+
node dist/server.js # smoke-test (server speaks stdio MCP — pipe input to test)
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
To test against a real client, point its `mcp.json` at your local build:
|
|
254
|
+
|
|
255
|
+
```json
|
|
256
|
+
{
|
|
257
|
+
"mcpServers": {
|
|
258
|
+
"maifady-dev": {
|
|
259
|
+
"command": "node",
|
|
260
|
+
"args": ["/absolute/path/to/maifady-mcp/dist/server.js"]
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## 🤝 Contributing
|
|
269
|
+
|
|
270
|
+
PRs welcome on:
|
|
271
|
+
- **Agent prompts** — improve a specialist's behavior or fix an edge case
|
|
272
|
+
- **Discovery UX** — improve `maifady_list_agents` output or the per-tool descriptions
|
|
273
|
+
- **New clients** — add a config example for a client we don't cover yet
|
|
274
|
+
|
|
275
|
+
See [github.com/MaFady/maifady-plugin/blob/main/CONTRIBUTING.md](https://github.com/MaFady/maifady-plugin/blob/main/CONTRIBUTING.md) for the full guide.
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## 📜 License
|
|
280
|
+
|
|
281
|
+
[MIT](LICENSE) — use, fork, modify, redistribute freely.
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
## 🌐 Maifady ecosystem
|
|
286
|
+
|
|
287
|
+
- 🤖 [**maifady-plugin**](https://github.com/MaFady/maifady-plugin) — Native Claude Code plugin (CLI + Desktop)
|
|
288
|
+
- 🎨 [**maifady-cursor**](https://github.com/MaFady/maifady-cursor) — Cursor `.mdc` rules
|
|
289
|
+
- 🔌 [**maifady-mcp**](https://github.com/MaFady/maifady-mcp) — Universal MCP server (this repo)
|
|
290
|
+
- 🌍 [**maifady.com**](https://mafady.fr) — Documentation, agent catalog, examples
|
|
291
|
+
|
|
292
|
+
<div align="center">
|
|
293
|
+
|
|
294
|
+
**Made with ❤️ for developers worldwide.**
|
|
295
|
+
|
|
296
|
+
[⬆ Back to top](#-maifady-mcp-server)
|
|
297
|
+
|
|
298
|
+
</div>
|