feat: register supervisor MCP server and add task targets

This commit is contained in:
Mathias Bergqvist
2026-04-17 08:34:13 +02:00
parent d8d2009dfd
commit 2d40bee089
2 changed files with 22 additions and 0 deletions

View File

@@ -55,3 +55,21 @@ tasks:
desc: Initialize a new project from this template
cmds:
- bash scripts/init.sh
supervisor:dev:
desc: Run supervisor MCP server (development)
cmds:
- go run ./cmd/supervisor
supervisor:build:
desc: Build supervisor binary
cmds:
- go build -o bin/supervisor ./cmd/supervisor
supervisor:test:smoke:
desc: Smoke test supervisor via MCP (requires supervisor:dev running)
cmds:
- |
curl -s -X POST http://localhost:${SUPERVISOR_PORT:-3200}/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | jq .