MCP Events Test Lab

MCP Events Test Lab

Trigger server events in your isolated room and watch fast-agent wake from idle, catch up after gaps, and handle revoked streams.

Prompts to try in fast-agent

Trigger buttons activate as soon as fast-agent starts polling the matching stream.

Wake on heartbeat

Waiting for a system.heartbeat poll, or click Send heartbeat anytime. Edit the prompt to ask for one trigger (subscribe once) if you want it to stop after the first event.

Follow a job to completion

Waiting for a job.status_changed poll, then emit running and done.

Test gaps and revocation

Arm truncated gap sets truncated: true on the next poll; Revoke job returns -32024 Forbidden so fast-agent ends the subscription.

Buffer events without waking

Send a few heartbeats to see them queue in the toolbar without waking the agent. Your next turn automatically includes all queued events (just send any message, like "Any updates?").

fast-agent commands

Click any command to copy.

Event control deck

Custom payloads, poll interval, and fault injection for this room.

System heartbeat system.heartbeat

Job lifecycle job.status_changed

Arm truncated gap: marks the next events/poll response with truncated: true, simulating events that aged out of the server buffer so the agent knows to re-fetch state via get_job_details.

Revoke job: returns -32024 Forbidden on the next poll for this job so fast-agent terminates the subscription cleanly.

Room activity

Recent events

No events emitted in this room yet.

Recent polls

Waiting for a client to call events/poll.

Try with HF Jobs on the Hugging Face MCP Server

Connect to https://hf.co/mcp to subscribe to live HF Jobs events in fast-agent.

Open hf.co/mcp