feat(mcp): add write tools to MCP clients (create/update/pause/resume/delete monitor)#32
feat(mcp): add write tools to MCP clients (create/update/pause/resume/delete monitor)#32KhaledSalhab-Develeap wants to merge 2 commits into
Conversation
Cover create/update/pause/resume/delete monitor for both sync and async MCP clients. Red phase: tests fail until implementation lands.
Add create_monitor, update_monitor, pause_monitor, resume_monitor, and delete_monitor to HyperpingMcpClient and AsyncHyperpingMcpClient. Each method is a thin typed wrapper around _call(), following the same pattern as existing read methods. create_monitor accepts a MonitorCreate model serialized via model_dump(exclude_none=True). update_monitor takes a uuid plus **kwargs for partial updates. pause/resume call dedicated MCP tools directly, avoiding a read-modify-write roundtrip.
|
Self-review verdict: PASS No blockers or high findings. Followups below. Findings refuted on closer look
Followups not in this PR
|
@PR_BODY.md