GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Serveur MCP pour l'orchestration de tâches distantes (SSH/SFTP) avec une file d'attente persistante.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"sftp-orchestrator": {
"command": "npx",
"args": [
"-y",
"mcp-orchestrator-server"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add sftp-orchestrator -- npx -y mcp-orchestrator-serverวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"sftp-orchestrator": {
"command": "npx",
"args": [
"-y",
"mcp-orchestrator-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"sftp-orchestrator": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-orchestrator-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub fkom13 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (8.0.4) เข้า registry 12 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
v11.8.0 Security Refresh — Les 82 tools publient désormais les annotations MCP standard.
infra_overviewreste léger sans argument, maisinfra_overview { alias: "..." }effectue une découverte live et corrèle Nginx/domaines, ports, Docker/Compose et services. VoirCHANGELOG.md.
Version : 11.8.0 Tools : 82 License : MIT Node : >= 18.0.0 Changelog : CHANGELOG.md
Serveur MCP (Model Context Protocol, transport stdio) qui donne à un agent IA la capacité d’orchestrer un parc de serveurs : SSH, SFTP, édition de fichiers locale/remote (hash-safe), diffs cross-server, shell PTY, snapshots d’infra, notes de protocole, projets, sessions de travail, inventaire, trust SSH (pubkey), groupes d’alias et audit parc.
| Domaine | Capacité |
|---|---|
| Exécution | task_exec multi-serveur / group:oci / dry-run destructif / force |
| Fichiers | file_read / file_edit (chirurgical) / file_write + hash + dryRun + backup |
| Parc | notes, infra_audit, fleet_status, server_inventory |
| Projets | registre local↔remote + project_diff |
| Travail | work_start → edits → work_end (note d’intervention auto) |
| Trust | ssh_authorize_key (pubkey only, dry_run par défaut) |
| Sécu | secrets masqués, RO global + RO par alias, blocklist, pool SSH robuste |
git clone https://github.com/fkom13/mcp-sftp-orchestrator.git
cd sftp-mcp # ou tools/sftp-mcp npm install cp .env.example .env
Prérequis : Node.js >= 18
.env)Toutes les variables sont optionnelles.
| Variable | Défaut | Description |
|---|---|---|
MCP_DATA_DIR | ~/.config/mcp-orchestrator | Dossier data (JSON, snapshots, projets…) |
MCP_SYNC_TIMEOUT_S | 120 | Délai (s) avant passage d’une tâche en arrière-plan |
MCP_DEFAULT_CMD_TIMEOUT_S | 600 | Timeout SSH commande (s). 0 = infini |
MCP_INTERACTIVE_CMD_TIMEOUT_S | 300 | Timeout interactif (s). 0 = infini |
MCP_MAX_WAIT_TIMEOUT_S | 600 | Timeout max task_wait (s) |
MAX_CONNECTIONS_PER_SERVER | 5 | Pool SSH max / serveur |
MIN_CONNECTIONS_PER_SERVER | 1 | Pool SSH min / serveur |
IDLE_TIMEOUT | 300000 | Fermeture connexion inactive (ms) |
KEEP_ALIVE_INTERVAL | 30000 | Keepalive SSH (ms) |
MAX_QUEUE_SIZE | 1000 | Taille max queue jobs |
SAVE_INTERVAL | 5000 | Autosave queue (ms) |
MCP_ALLOWED_ROOTS | _(vide)_ | Racines autorisées pour paths locaux (CSV) |
MCP_READONLY | false | 1 = refuse écritures / exec mutantes (global) |
MCP_COMPACT | false | 1 = réponses tronquées (tokens agent) |
MCP_DEBUG | false | Logs détaillés stderr |
MCP_DATA_DIR| Fichier | Contenu |
|---|---|
servers.json | Alias SSH (host, user, keyPath/password, port?, readonly?) |
apis.json | Catalogue APIs (secrets masqués en lecture tools) |
queue.json / queue.backup.json | Jobs |
history.json | Historique tâches |
server_notes.json | Protocoles / notes par serveur |
server_groups.json | Groupes d’alias |
projects.json | Registre projets |
work_sessions.json | Sessions de travail |
policies.json | Blocklist commandes |
tunnels.json / tunnel_allowlist.json | Tunnels SSH |
infra_snapshots/ | Snapshots content-addressable |
[mcp_servers.orchestrator]
command = "node" args = ["/chemin/absolu/sftp-mcp/server.js"]
{
"mcpServers": { "orchestrator": { "command": "node", "args": ["/chemin/absolu/sftp-mcp/server.js"], "env": { "MCP_DATA_DIR": "/chemin/absolu/sftp-mcp/data" } } } }
Après modification du code : recharger le serveur MCP (/mcps → r ou restart session). Vérifier system_diagnostics → version: "11.8.0".
| Outil | Description |
|---|---|
help | Guide outils + .env + astuces |
guide | Manuel IA (workflows, cheatsheet, pitfalls, audit, security) |
system_diagnostics | Queue, pool, serveurs/APIs masqués, version, readOnly |
infra_audit | Synthèse parc + projets + notes + crashed |
infra_overview | Serveurs + notes (vue légère) |
fleet_status | Ping SSH parallèle (latence, load, disk) |
server_inventory | Inventaire léger (pm2/docker/disk/home, cache 10 min) |
| Outil | Description |
|---|---|
server_add | CRUD alias (keyPath ou password, port, `readonly`) |
server_list | Liste (passwords masqués) |
server_remove | Supprime un alias |
server_group_list/set/remove | Groupes (oci, contabo…). Usage : group:oci ou nom de groupe |
| Outil | Description |
|---|---|
project_list / project_get / project_set / project_remove | Registre |
project_resolve | → { local, remote, ignore, runtime } |
project_diff | Diff local↔remote du projet |
Exemple project_set :
{
"name": "p-image", "local": { "path": "/home/.../dev-serveur/p-image" }, "servers": { "prod": { "alias": "fkomprodmini2_prod", "path": "/home/ubuntu/p-image", "runtime": { "pm2": "p-image", "port": 5002 }, "url": "https://pruna.esprit-artificiel.com" } }, "ignore": ["node_modules", ".git", "data"] }
| Outil | Description |
|---|---|
work_start | Ouvre un journal (alias, project, tag, snapshot optionnel) |
work_log | Event (file_edit, task_exec, …) |
work_list | Sessions actives (+ historique) |
work_end | Clôture + server_note last_intervention |
| Outil | Description | ||
|---|---|---|---|
ssh_authorize_key | Ajoute une pubkey dans authorized_keys distant. dry_run défaut. Sources : string \ | local_path \ | alias |
{
"target_alias": "fkomprodmini1_prod", "source": { "type": "alias", "alias": "vps_contabo" }, "comment": "fleet-from-contabo", "dry_run": true }
| Outil | Description |
|---|---|
policy_blocklist_list/add/remove | Blocklist commandes (aussi appliquée à shell + sequences) |
| Outil | Description |
|---|---|
api_add / api_list / api_remove / api_check | Monitoring (clés masquées en list) |
| Outil | Description | |||
|---|---|---|---|---|
task_exec | SSH ; alias \ | tableau \ | all \ | group:x ; dry_run/force destructif |
task_exec_interactive | Prompts yes/no, menus | |||
task_exec_sequence | Séquence sur un serveur (policy par étape) | |||
task_transfer | SFTP upload/download/server_to_server | |||
task_transfer_multi | Multi + globs |
| Famille | Outils |
|---|---|
| Files | file_read, file_write, file_edit |
| Diff | diff_files, diff_folders, compare_all_sources |
| Shell | shell_create, shell_exec (+ skip_policy), shell_list, shell_close |
| Snapshots | snapshot_create/list/diff/restore/delete |
Édition safe : file_read → hash → file_edit + expectedHash (+ dryRun / backup).
| Outil | Description |
|---|---|
server_note_set/get/list/remove | Protocole (description, services, warnings, intervention) |
| Outil | Description |
|---|---|
get_system_resources | CPU / RAM / disque |
get_services_status | systemd / Docker / PM2 |
get_fail2ban_status | Fail2Ban |
check_api_health | HTTP via SSH+curl |
get_pm2_logs / get_docker_logs / tail_file | Logs |
| Outil | Description |
|---|---|
task_queue / task_status / task_history / task_wait / task_logs | Suivi |
task_retry / task_retry_all | Relance |
task_purge | Purge (dry_run défaut) |
queue_stats / pool_stats | Stats |
| Outil | Description |
|---|---|
tmux_create/exec/read/list/kill | Sessions tmux distantes |
tunnel_create/list/close | Tunnels SSH local/remote/socks |
tunnel_allowlist_add/remove | Ports autorisés pour tunnels |
infra_audit (ou infra_overview)
fleet_status project_list / project_resolve
work_start { project: "p-image", alias: "fkomprodmini2_prod", tag: "fix-x", message: "…" }
file_read → file_edit (expectedHash, dryRun puis apply) work_log { type: "file_edit", path: "…" } work_end { summary: "…" } → note serveur mise à jour project_diff { name: "p-image" }
task_exec { timeout: 0, … } → si > syncTimeout → task_wait { id }
task_exec { alias: "group:oci", cmd: "hostname" }
task_exec { alias: "all", cmd: "uptime" }
Client MCP (stdio)
│ server.js ─── 82 tools │ ├── queue.js File d’attente persistante + purge/retry ├── ssh.js / sshPool Exécution + pool (retry safe, port configurable) ├── sftp.js Transferts (server_to_server via sourceAdapter/pool) ├── sourceAdapter.js Local fs | remote SFTP pool ├── fileOps.js Read/write/edit + hash + dryRun + backup ├── diffEngine.js / compareEngine.js / diffFormatter.js ├── shellSessions.js PTY persistants + policy ├── snapshotManager.js ├── projects.js / workSession.js / inventory.js / groups.js / fleet.js ├── sshTrust.js authorized_keys (pubkey only) ├── servers.js / apis.js / notes.js / policies.js / tunnels.js ├── history.js / guide.js / config.js / utils.js
pending → running → completed | failed | partial
↓ (redémarrage MCP pendant running) crashed → task_retry → pending
| Mécanisme | Détail |
|---|---|
| Secrets | Masqués en api_list / diagnostics (*** + 4 derniers car.) |
| Shell escape | escapeShellArg sur curl, logs, chemins |
| Blocklist | policies.json ; shell + sequence inclus ; skip_policy pour forcer |
| RO global | MCP_READONLY=1 |
| RO alias | "readonly": true dans servers.json |
| Destructif | task_exec dry-run si pattern dangereux sans force:true |
| Trust | Pubkey only ; dry_run par défaut |
| Clés | Préférer keyPath SSH ; Vaultwarden pour secrets API |
npm test:unit # p0 + p1 + p16 (43 tests)
npm test # unit + smoke MCP + features node diagnose.js # diagnostic local optionnel
| Fichier | Couverture |
|---|---|
test_p0_unit.js | utils, policies, redact, timeouts, version |
test_p1_unit.js | groups, purge, destructive, RO env |
test_p16_unit.js | projects, work session, compact, sshTrust |
test_mcp.js | smoke SDK |
test_features.js | queue / pool / globs / prompts |
| Version | Contenu | Snapshot gencodedoc |
|---|---|---|
| 11.6.1 | Hardening multi-agent: RO transversal, server-to-server dossiers/force, allowed roots anti-symlink, quoting shell/tmux, queue + JSON stores atomiques | — |
| 11.6.0 | Projets, work sessions, inventory, ssh_authorize_key, RO alias, compact | #23 (final docs) |
| 11.4.0 | fleet, infra_audit, groups, retry_all, purge, pool rewrite | #21 |
| 11.3.0 | Secrets mask, policy shell/seq, port SSH, wait partial | #20 |
| 10.4–10.0 | file ops, diff, shell, snapshots, notes,
ตัดมาแค่ช่วงต้น อ่านต่อใน repo