Add MCP bridge local verification harness (TELE-WP-0002)

Introduce pytest smoke tests, run/verify scripts, and Makefile targets so
the bridge can be developed and validated without a full cluster deploy.
Document the local workflow and agent quickstart in README.
This commit is contained in:
2026-06-24 18:18:00 +02:00
parent f061364951
commit 8f2584c1a0
10 changed files with 218 additions and 11 deletions

View File

@@ -6,17 +6,16 @@
## Dev Commands
```bash
# MCP bridge — local (no cluster)
make bridge-install # once
make bridge-test # pytest smoke tests
make bridge-run # uvicorn on :8080
# Deploy observability stack (from repo root)
cd ansible && ansible-playbook -i inventories/local.ini playbook.yml
# MCP bridge (local)
cd mcp-telemetry-bridge
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8080
# Smoke (requires cluster access)
kubectl get pods -n monitoring
kubectl port-forward -n mcp svc/mcp-telemetry-bridge 8080:80
curl http://localhost:8080/healthz
curl http://localhost:8080/mcp/schema | jq .
make bridge-smoke # pytest + live curl against :8080
```