6.1 KiB
6.1 KiB
2026-06-12 — Home AI Cluster: MCP Setup, Git, Knowledge Graph
Session Summary
Long working session: ComfyUI model downloads, MCP infrastructure setup, Forgejo integration, knowledge graph population, SSH MCP server deployment.
What Was Done
1. ComfyUI Model Downloads
check_templates.pyfixed — removed dangerouswrong_folderauto-move feature- Old behavior: detected 20 "misplaced" files, tried to auto-move them → caused
umt5_xxl_fp8_e4m3fn_scaled.safetensorsto move fromtext_encoders/tovae/(wrong) - New behavior: if file exists ANYWHERE in models tree → skip (don't download, don't move)
- Result: 192 models found, 65 downloading via aria2c in tmux session
check_dlon qore - Script deployed to
/opt/comfyui/check_templates.py, runs on every ComfyUI startup
2. Git Repository
- Initialized
/Users/post/VScode/networkas git repo - Created private repo
post/networkon Forgejo:https://git.4min.pro/post/network - Pushed 108 files (qore-admin, comfyui, keenetic scripts, nvr, vpn-ui, etc.)
.gitignoreexcludes: secrets, model files (*.safetensors etc.), logs, mcp-ssh/hosts.json- Remote:
http://192.168.170.41:3000/post/network.git
3. Knowledge Graph (Memory MCP)
Populated via mcp__memory__create_entities with full cluster topology:
Entities: qore, wuu, keenetic, npm, ComfyUI, qore-admin, Ollama, OpenWebUI, Frigate, n8n, Gitea (now Forgejo), qwen2.5:32b, llama3.3:70b, nomic-embed-text, deepseek-r1:671b-iq2m, CT100_forgejo (.41), CT102_mcp (.43), CT200_vpn (.254), proxmox (.40), docker_host (.30), truenas (.22), nextcloud_vm (.50), NPM_service
Key relations: qore→RUNS→ComfyUI/Ollama/qore-admin, proxmox→HOSTS_LXC→CT100/CT102/CT200, docker_host→RUNS→NPM/Frigate/OpenWebUI/n8n, etc.
4. Taskmaster Setup
.taskmaster/tasks/tasks.jsoncreated manually (parse_prd failed — Perplexity API not set)- Fixed
.taskmaster/config.json: research model switched from perplexity to anthropic - 10 tasks created:
- GPU models (in-progress: llama3.3:70b downloading)
- DeepSeek R1 671B CPU model
- Open WebUI → connect to qore Ollama
- NPM proxy rules (comfy.4min.pro, qore.4min.pro)
- Git → push network project to Forgejo ✅ done
- MCP SSH server (done)
- MCP Ollama server (done)
- ComfyUI models completion (in-progress)
- n8n → ComfyUI workflow
- qore-admin enhancements
5. SSH MCP Server
- Created
mcp-ssh/server.py— Python MCP server with tools:ssh_exec(node, command)— execute command on cluster nodessh_upload(local_path, node, remote_path)— SCP uploadssh_download(node, remote_path, local_path)— SCP downloadssh_list_nodes()— list available nodes
- Credentials in
mcp-ssh/hosts.json(gitignored) - Nodes configured: qore, docker, proxmox, truenas, forgejo, mcp, nextcloud
- Added to Mac
~/.claude.jsonmcpServers - Deployed to CT102 at
/opt/mcp/mcp_ssh_server.py - Added to CT102
/opt/mcp/claude_mcp_config.json
6. Ollama MCP
- Added to Mac
~/.claude.json:"ollama": { "command": "uvx", "args": ["mcp-ollama"], "env": {"OLLAMA_HOST": "http://192.168.170.70:11434"} } - Note: needs
uvx mcp-ollamato be available — verify on next session startup
7. AGENTS.md Updated
- Fixed AI Server IP:
.10 "Не настроен"→.70 (qore) - Added full qore machine section (hardware, services, commands)
- Added Forgejo repos table
8. agent-knowledge-base Updated (this repo)
locations/qore-ai-server.md— new file for Ubuntu AI server at .70 (oldqore.mdpreserved as Windows machine history)projects/home-ai-cluster/status.md— full rewrite with 2026-06-12 state
Key Technical Facts Learned
Forgejo
- Running as LXC CT100 on Proxmox at 192.168.170.41:3000
- Login: email
herschel.krustophski@gmail.com/ usernamepost/ password in password manager - git.4min.pro shows maintenance page (NPM proxy may be misconfigured) but direct API works
- Forgejo v10.0.3 (confirmed from AGENTS.md)
- Bug note from AGENTS.md: Creating repo via API without
auto_init:true→ SSH push fails with "Internal Server Error" - HTTPS on macOS system git doesn't work → use SSH:
git@192.168.170.41:post/network.git
MCP Servers — Current State (Mac ~/.claude.json)
- memory, filesystem, sequential-thinking, everything — baseline npm servers
- fetch, git, time — uvx servers
- taskmaster — npx task-master-ai (Node 22 required)
- blender, mcp-unity, maya — 3D apps (need app running)
- ssh — new:
python3 /Users/post/VScode/network/mcp-ssh/server.py - ollama — new:
uvx mcp-ollamawith OLLAMA_HOST=http://192.168.170.70:11434
CT102 MCP Hub (192.168.170.43)
- Config:
/opt/mcp/claude_mcp_config.json - 9 existing servers + newly added ssh server
- Has puppeteer (Chromium) which Mac config doesn't have
Taskmaster Config Issue
- Default config has research model = perplexity → requires PERPLEXITY_API_KEY
- Fixed to use anthropic for research model
- Still no ANTHROPIC_API_KEY in MCP subprocess env → parse_prd may fail
- Workaround: edit tasks.json directly
How AI Agents Should Use This System
For memory between sessions:
- Read
projects/home-ai-cluster/status.md(this project) - Read
locations/qore-ai-server.md(AI server details) - Read
mcp-servers/index.md(which MCP to install) - Use memory MCP knowledge graph for runtime facts
For tasks:
- Taskmaster:
.taskmaster/tasks/tasks.jsoninpost/networkrepo - Use
get_tasks,set_task_status,next_taskvia MCP - For task mgmt CLI:
npx task-master-aiin/Users/post/VScode/network/
For cross-agent communication:
- agent-bus in this repo: write commands to
agent-bus/commands/<machine>/ - Other agents poll and execute, write results to
agent-bus/results/<machine>/
Next Steps
- Restart Claude Code to load ssh + ollama MCP servers
- Verify ollama MCP:
uvx mcp-ollama --help - Test SSH MCP:
ssh_exec("qore", "nvidia-smi") - Connect Open WebUI to qore Ollama
- Add NPM proxy rules for comfy.4min.pro and qore.4min.pro
- Monitor ComfyUI model downloads (
tail -f /opt/comfyui/check_templates.log)