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

@@ -3,6 +3,10 @@
"knowledge": { "knowledge": {
"url": "http://localhost:3100/mcp", "url": "http://localhost:3100/mcp",
"description": "Project knowledge base — vector + graph retrieval" "description": "Project knowledge base — vector + graph retrieval"
},
"supervisor": {
"url": "http://localhost:3200/mcp",
"description": "Skill workers — TDD (red/green/refactor), more coming"
} }
} }
} }

View File

@@ -55,3 +55,21 @@ tasks:
desc: Initialize a new project from this template desc: Initialize a new project from this template
cmds: cmds:
- bash scripts/init.sh - 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 .