WS-F: MCP server with 8 tools, prompts, resources
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
This commit is contained in:
1 parent
2d57fb1a78
commit
e96bd716a6
5 files changed
+685
-24
No files matched your search
@@ -75,15 +75,15 @@ Design: [`plan.md`](plan.md) · Review fixes: [`plan/review.md`](plan/review.md)
|
||||
- [ ] **E9** Docker unavailable returns 503 on docker routes only
|
||||
|
||||
### WS-F MCP · [card](plan/workstreams/WS-F-mcp.md)
|
||||
- [ ] **F1** `TrackerService` with `#[tool_router]` and 8 tools
|
||||
- [ ] **F2** `tail_journal` capped by `limits.max_follow_secs` and an entry cap
|
||||
- [ ] **F3** `get_container_logs` tail cap
|
||||
- [ ] **F4** `ServerHandler::get_info`: instructions + capabilities (tools, prompts, resources)
|
||||
- [ ] **F5** Tool descriptions that explain systemd states, health statuses and priorities
|
||||
- [ ] **F6** Prompts `diagnose_unit { name }` and `container_health_report {}`
|
||||
- [ ] **F7** Resources `systemd://units/failed` and `docker://containers`, read live, no subscriptions
|
||||
- [ ] **F8** `mcp::service(state)` returns `StreamableHttpService` with Origin validation (DEC-8)
|
||||
- [ ] **F9** Tests: tool list snapshot + each tool against fakes
|
||||
- [x] **F1** `TrackerService` with `#[tool_router]` and 8 tools
|
||||
- [x] **F2** `tail_journal` capped by `limits.max_follow_secs` and an entry cap
|
||||
- [x] **F3** `get_container_logs` tail cap
|
||||
- [x] **F4** `ServerHandler::get_info`: instructions + capabilities (tools, prompts, resources)
|
||||
- [x] **F5** Tool descriptions that explain systemd states, health statuses and priorities
|
||||
- [x] **F6** Prompts `diagnose_unit { name }` and `container_health_report {}`
|
||||
- [x] **F7** Resources `systemd://units/failed` and `docker://containers`, read live, no subscriptions
|
||||
- [x] **F8** `mcp::service(state)` returns `StreamableHttpService` with Origin validation (DEC-8)
|
||||
- [x] **F9** Tests: tool list snapshot + each tool against fakes
|
||||
|
||||
### WS-G OTel · [card](plan/workstreams/WS-G-otel.md)
|
||||
- [ ] **G1** `telemetry::init(cfg)`: OTLP grpc/http with headers. Resource has `service.name`, `service.version`, `host.name`. Returns a guard.
|
||||
|
||||
Reference in new issue
Block a user