I’d like an agent to watch a Knotless repository’s CI and pick up when a workflow finishes. For example, it could report failures on main or inspect the logs for a pull’s failed run. Today it has to call run_list with a bounded wait or keep checking with tool calls.
Once rmcp’s SEP-3415 support is available in a release, would a CI completion event be a useful first event on the hosted MCP? A subscription could select a repository and optionally a workflow or ref. The event could carry the conclusion, commit, and run link so the client can fetch details with the existing tools. The final check record seems like the right source, with the same visibility rules as check reads and a cursor ordered by completion so a slow run can still be picked up after a newer one finishes.
What happened
I’d like an agent to watch a Knotless repository’s CI and pick up when a workflow finishes. For example, it could report failures on main or inspect the logs for a pull’s failed run. Today it has to call
run_listwith a bounded wait or keep checking with tool calls.Once rmcp’s SEP-3415 support is available in a release, would a CI completion event be a useful first event on the hosted MCP? A subscription could select a repository and optionally a workflow or ref. The event could carry the conclusion, commit, and run link so the client can fetch details with the existing tools. The final check record seems like the right source, with the same visibility rules as check reads and a cursor ordered by completion so a slow run can still be picked up after a newer one finishes.
FastMCP has a working poll/push implementation and a concrete reader-backed event over an existing activity log. Its webhook delivery work is also relevant for agents that need to wake up on a failure while disconnected. A single completion event with poll delivery would be enough to test interoperability first.