steam-backlog-enforcer/scripts
Krzysztof kuhy Rudnicki e0c6f967fe Verify and probe the MCP server on deploy
The MCP venv went a month without a resync and the server crashed on
import (missing leisure_watch) while setup_mcp.sh still passed, because
it imported only the bare package.

- setup_mcp.sh now imports steam_backlog_enforcer._mcp, the module
  .mcp.json runs, and exits 1 with a FAIL line when it cannot.
- deploy.sh resyncs the MCP venv on every deploy and adds check 5:
  the server must answer an initialize request over stdio.
- scripts/mcp_probe.py is that probe (stdlib, typed).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWWuLpGVY9MnowhTNcM
2026-11-22 14:22:49 +01:00
..
file_length Add the 250-line file-length gate as a pre-commit hook 2026-08-23 19:27:09 +02:00
check_dependency_freshness.sh get rid of github ci/cd version check of package… 2026-11-19 17:43:45 +01:00
check_file_length.sh Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 19:55:43 +02:00
check_gate_stamp.sh pre-push is a 1-second stamp check; the suites moved to the manual stage 2026-09-20 21:21:48 +02:00
check_md_naming.sh Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 19:55:43 +02:00
check_repo_contract.sh repo contract: CLAUDE.md commands, test_changed, CI gate 2026-10-04 17:18:00 +02:00
check_requirements_sync.py Add CI-mirror pre-push gate + requirements-sync check 2026-07-11 17:47:14 +02:00
ci_mirror.sh Split ci-mirror gate into <60 s steps 2026-11-11 16:29:08 +01:00
deploy.sh Verify and probe the MCP server on deploy 2026-11-22 14:22:49 +01:00
mcp_probe.py Verify and probe the MCP server on deploy 2026-11-22 14:22:49 +01:00
open_ui.sh web control UI: all 24 commands in React, ctl.sock daemon, jobs, library browser; earned_time 0.7.0 2026-10-10 16:07:42 +02:00
pylint_symilar_cache.py Split ci-mirror gate into <60 s steps 2026-11-11 16:29:08 +01:00
setup_mcp.sh Verify and probe the MCP server on deploy 2026-11-22 14:22:49 +01:00
test_changed.sh repo contract: CLAUDE.md commands, test_changed, CI gate 2026-10-04 17:18:00 +02:00
todo_hooks.sh Add todo app git hooks 2026-11-02 13:55:18 +01:00