Fix: remove post/network clone ref, self-contained install commands

This commit is contained in:
post 2026-06-12 05:20:33 +00:00
parent 9b740e612c
commit 1bb7305f86

View file

@ -2,138 +2,156 @@
Last updated: 2026-06-12
## Policy
## Назначение
- Prefer free official MCP servers.
- Keep secrets out of this repository.
- When a useful MCP server is discovered, add it here.
- **New machine: run `bash setup-mcp.sh` in `post/network` repo.**
Этот файл — эталонный реестр MCP серверов для кластера 4min.pro.
Любой агент или новая машина читает его и устанавливает нужные серверы.
Команды установки самодостаточны — ничего дополнительно клонировать не нужно.
---
## Quick Install
## Политика
- Предпочитаем официальные бесплатные MCP серверы.
- Секреты (токены, пароли) — в gitignored файлах или менеджере паролей. Никогда не в этом репозитории.
- Когда найден новый полезный сервер — сначала документируем здесь, потом ставим на машины.
---
## Baseline — ставить на каждую машину
Восемь серверов обязательны на любой машине с Claude Code.
Требования: Node.js 22+ (`nvm install 22 && nvm use 22`), uv (`brew install uv`).
```bash
git clone http://192.168.170.41:3000/post/network.git
cd network
bash setup-mcp.sh
claude mcp add memory -- npx -y @modelcontextprotocol/server-memory
claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem "$HOME"
claude mcp add sequential-thinking -- npx -y @modelcontextprotocol/server-sequential-thinking
claude mcp add everything -- npx -y @modelcontextprotocol/server-everything
claude mcp add fetch -- uvx mcp-server-fetch
claude mcp add git -- uvx mcp-server-git
claude mcp add time -- uvx mcp-server-time
claude mcp add taskmaster -- npx -y task-master-ai
```
Проверка: `claude mcp list` — должно быть 8 серверов.
---
## Cluster — кластер 4min.pro
### `ssh` — SSH на все ноды кластера
Кастомный Python MCP сервер. Даёт инструменты: ssh_exec, ssh_upload, ssh_download, ssh_list_nodes.
Ноды: qore (.70), docker (.30), proxmox (.40), truenas (.22), forgejo (.41), mcp (.43), nextcloud (.50).
Сервер хранится в инфраструктурном репозитории владельца. Для установки:
1. Получить `mcp-ssh/server.py` у владельца кластера
2. Создать `hosts.json` рядом с сервером (спросить credentials у владельца)
3. `claude mcp add ssh -- python3 /path/to/mcp-ssh/server.py`
### `ollama` — прямые LLM-запросы к qore
```bash
claude mcp add ollama -e OLLAMA_HOST="http://192.168.170.70:11434" -- uvx mcp-ollama
```
Модели на qore (2026-06-12):
- `qwen2.5:72b-instruct-q8_0` (77 GB, GPU+RAM, Q8)
- `llama3.3:70b` (42 GB, GPU)
- `qwen2.5:32b` (19 GB, GPU, ~60-100 tok/s)
- `qwen2.5-coder:32b` (19 GB, GPU)
- `deepseek-r1:32b` (19 GB, GPU, reasoning)
- `nomic-embed-text` (274 MB, GPU, embeddings)
### `comfyui` — ComfyUI workflows и генерация
```bash
claude mcp add comfyui -e COMFYUI_URL="http://192.168.170.70:8188" -- npx -y comfyui-mcp
```
80+ инструментов: generate_image, enqueue_workflow, visualize_workflow, list_models, free_vram.
Slash команды: /comfy:gen, /comfy:debug, /comfy:viz, /comfy:install, /comfy:gallery.
Docs: https://comfyui-mcp.artokun.io/docs
---
## Web / Автоматизация
### `playwright` — браузерная автоматизация (Microsoft)
```bash
claude mcp add playwright -- npx -y @playwright/mcp
```
---
## Baseline Servers (install everywhere)
### `memory` — Knowledge Graph
- **Status:** baseline
- **Install:** `npx -y @modelcontextprotocol/server-memory`
### `filesystem` — File Access
- **Status:** baseline
- **Install:** `npx -y @modelcontextprotocol/server-filesystem $HOME`
### `sequential-thinking` — Step Reasoning
- **Status:** baseline
- **Install:** `npx -y @modelcontextprotocol/server-sequential-thinking`
### `everything` — Meta server
- **Status:** baseline
- **Install:** `npx -y @modelcontextprotocol/server-everything`
### `fetch` — Web Requests
- **Status:** baseline
- **Install:** `uvx mcp-server-fetch`
### `git` — Git Operations
- **Status:** baseline
- **Install:** `uvx mcp-server-git`
### `time` — Date/Time
- **Status:** baseline
- **Install:** `uvx mcp-server-time`
### `taskmaster` — Task Manager (files)
- **Status:** baseline
- **Install:** `npx -y task-master-ai`
- **Note:** Node 22+ required
---
## Cluster Servers (AI home lab)
### `ssh` — Cluster SSH Access
- **Status:** cluster
- **Install:** `python3 /path/to/network/mcp-ssh/server.py`
- **Requires:** `mcp-ssh/hosts.json` (gitignored, ask owner for credentials)
- **Nodes:** qore, docker, proxmox, truenas, forgejo, mcp, nextcloud
- **Tools:** ssh_exec, ssh_upload, ssh_download, ssh_list_nodes
### `ollama` — Direct LLM Calls
- **Status:** cluster
- **Install:** `uvx mcp-ollama`
- **Env:** `OLLAMA_HOST=http://192.168.170.70:11434`
- **Models on qore:** qwen2.5:72b-instruct-q8_0, llama3.3:70b, qwen2.5:32b, deepseek-r1:32b, qwen2.5-coder:32b, nomic-embed-text
### `comfyui` — ComfyUI Workflows
- **Status:** cluster
- **Install:** `npx -y comfyui-mcp`
- **Env:** `COMFYUI_URL=http://192.168.170.70:8188`
- **Features:** 80+ tools, generate_image, enqueue_workflow, visualize_workflow, manage models/VRAM
- **Docs:** https://comfyui-mcp.artokun.io/docs
---
## Web / Automation
### `playwright` — Browser Automation
- **Status:** recommended
- **Install:** `npx -y @playwright/mcp`
- **By:** Microsoft official MCP
---
## Integration Servers (need API tokens)
## Интеграции (нужны API токены)
### `github` — GitHub API
- **Status:** optional (needs token)
- **Install:** `npx -y @modelcontextprotocol/server-github`
- **Env:** `GITHUB_PERSONAL_ACCESS_TOKEN=<token>`
- **Token:** https://github.com/settings/tokens (scopes: repo, read:org)
### `telegram` — Telegram API
- **Status:** optional (needs token)
- **Install:** `npx -y @aiflowml/mcp-telegram`
- **Env:** `TELEGRAM_API_ID`, `TELEGRAM_API_HASH`, `TELEGRAM_PHONE_NUMBER`
- **Token:** https://my.telegram.org → Apps
```bash
claude mcp add github -e GITHUB_PERSONAL_ACCESS_TOKEN="<token>" -- npx -y @modelcontextprotocol/server-github
```
### `huggingface` — HuggingFace
- **Status:** optional (needs token)
- **Install:** `uvx mcp-server-huggingface`
- **Env:** `HF_TOKEN=<token>`
- **Token:** https://huggingface.co/settings/tokens
Токен: https://github.com/settings/tokens (scopes: repo, read:org)
### `telegram` — Telegram
```bash
claude mcp add telegram \
-e TELEGRAM_API_ID="<id>" \
-e TELEGRAM_API_HASH="<hash>" \
-e TELEGRAM_PHONE_NUMBER="<номер>" \
-- npx -y @aiflowml/mcp-telegram
```
Токены: https://my.telegram.org → Apps
### `huggingface` — HuggingFace модели и датасеты
```bash
claude mcp add huggingface -e HF_TOKEN="<token>" -- uvx mcp-server-huggingface
```
Токен: https://huggingface.co/settings/tokens
---
## 3D Servers (only if software installed)
## 3D серверы (только если ПО установлено)
### `blender` — Blender MCP
- **Install:** `uvx blender-mcp`
- **Requires:** Blender running with MCP addon enabled
### `blender`
```bash
claude mcp add blender -- uvx blender-mcp
```
Требует: Blender запущен с MCP аддоном.
### `mcp-unity` — Unity MCP
- **Install:** `node ~/.codex/vendor_imports/mcp-unity/Server~/build/index.js`
- **Requires:** Unity Editor open
### `mcp-unity`
```bash
git clone https://github.com/CoderGamester/mcp-unity ~/.codex/vendor_imports/mcp-unity
cd ~/.codex/vendor_imports/mcp-unity/Server~ && npm install && npm run build
claude mcp add mcp-unity -- node "$HOME/.codex/vendor_imports/mcp-unity/Server~/build/index.js"
```
### `maya` — Maya MCP
- **Install:** `python ~/.codex/vendor_imports/MayaMCP/src/maya_mcp_server.py`
- **Ref:** https://github.com/PatrickPalmer/MayaMCP
### `maya`
```bash
git clone https://github.com/PatrickPalmer/MayaMCP ~/.codex/vendor_imports/MayaMCP
cd ~/.codex/vendor_imports/MayaMCP && python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
claude mcp add maya -- "$HOME/.codex/vendor_imports/MayaMCP/.venv/bin/python" "$HOME/.codex/vendor_imports/MayaMCP/src/maya_mcp_server.py"
```
---
## Infrastructure Repo
## Итого — что должно быть на Mac (основная рабочая машина)
All cluster configs, MCP setup, and automation:
`http://192.168.170.41:3000/post/network` (private)
- `mcp-ssh/` — SSH MCP server
- `setup-mcp.sh` — one-command full MCP install
- `CLAUDE.md` — auto-read by Claude Code, cluster context
- `AGENTS.md` — detailed rules and install guide
| # | Сервер | Тип |
|---|--------|-----|
| 1-8 | memory, filesystem, sequential-thinking, everything, fetch, git, time, taskmaster | baseline |
| 9 | ssh | cluster (кастомный, у владельца) |
| 10 | ollama | cluster |
| 11 | comfyui | cluster |
| 12 | playwright | web |
| 13 | github | integration |
| 14 | telegram | integration |
| 15 | huggingface | integration |
| 16-18 | blender, mcp-unity, maya | 3D (если ПО есть) |