Back to Blog
Spec & NewsDec 3, 202611 min read

MCP Events Explained: Webhooks, Polling and What ChatGPT Expects

NT

Nikhil Tiwari

MCP Playground

TL;DR

  • MCP Events let a server tell an agent that something happened. Before this, an agent could only ask, by calling a tool on a loop.
  • It’s an official extension, io.modelcontextprotocol/events. The SEP is Final, the extension itself is still Beta, and it needs the 2026-07-28 protocol.
  • Three delivery modes: webhook, poll and push. A server offers any mix of them per event.
  • ChatGPT is the first big client, and it only uses webhook. Its docs disagree with the spec on two details, covered below.
  • Most failures are in the webhook plumbing: signing, the Mcp-Name header, retries and renewal. Test those before you ship.

Every MCP agent I’ve built had the same blind spot. It could do things, but it couldn’t notice things.

Want it to react to a new support ticket? You either asked it every few minutes, or you wired up a webhook outside MCP and glued the two together.

MCP Events fix that. A server publishes the things that can happen, an agent subscribes to the ones it cares about, and the server calls back when they do.

The idea is simple. The details are not. Webhook delivery alone has signing, a verification handshake, renewal and retry rules, and ChatGPT’s docs and the spec don’t fully agree.

Here’s how it all works, and what I’d check before calling a server ready.

What Are MCP Events?

MCP Events is an extension to the Model Context Protocol that lets a server push notifications about things that happen upstream: an email arrives, an incident opens, an order is placed.

It was proposed as SEP-3415 on 5 October 2026. The SEP is Final, but the extension itself is still Beta, so expect small changes. The extension ID is io.modelcontextprotocol/events.

It builds on the stateless 2026-07-28 revision, which earlier revisions can’t carry. If your server is still on the 2025 handshake, migrating to 2026-07-28 comes first.

A server describes each event type with events/list. Every entry has three parts that matter:

  • delivery: which modes the event supports, any non-empty mix of poll, push and webhook.
  • inputSchema: the subscription arguments, usually filters such as severity or a minimum order total.
  • payloadSchema: the shape of the data each occurrence carries.
{
  "name": "order.created",
  "description": "Fires when an order is placed",
  "delivery": ["webhook", "poll"],
  "inputSchema": { "type": "object", "properties": { "min_total": { "type": "number" } } },
  "payloadSchema": { "type": "object", "properties": { "orderId": { "type": "string" }, "total": { "type": "number" } } }
}

One thing it is not: a way to change state. Events only notify. The agent still acts through the server’s normal tools.

MCP Events vs Webhooks vs MCP Notifications

In webhook mode, MCP Events literally are webhooks. They use the Standard Webhooks signature scheme, the same family as Stripe’s and GitHub’s.

The difference is who sets them up. A Stripe webhook is wired once, by a person, in a dashboard. An MCP event subscription is created by the agent, at runtime, against any server.

Product webhookMCP Events
DiscoveryRead the docsevents/list with schemas
Who subscribesA human, onceThe agent, via events/subscribe
LifetimeUntil deletedA TTL the client renews
Proof the endpoint wants itOften noneSigned challenge first
Other modesNonePoll and push too

What about MCP’s existing notifications? Those, like notifications/tools/list_changed, are about the server itself. MCP Events are about the outside world the server connects to.

The Three MCP Events Delivery Modes

None of the three is mandatory. The client picks one the event offers, and the model only ever sees the events that arrive.

The official guidance: SDKs usually prefer webhook when the client has a callback endpoint, then push, then poll.

Poll: events/poll

The client asks “anything new since cursor X?”. The server holds no per-client state, which makes it the natural fit for stateless and serverless servers.

The first poll sends cursor: null, which means “start from now”: no events, just a fresh cursor. Each result carries events, cursor, truncated, hasMore and a suggested nextPollMs.

Push: events/stream

The client opens one long-lived request per subscription. The server confirms with notifications/events/active, then streams events and heartbeats down the same response.

The catch: it needs a connection that stays open. It suits local stdio servers and desktop clients, and is awkward on serverless hosting with request time limits.

Webhook: events/subscribe

The client registers an https callback URL and a signing secret, and the server POSTs each event to it. This is the mode for remote servers, and the only one ChatGPT uses.

It’s also the mode with the most rules, because the server is now calling a URL on the open internet.

ModeServer stateAuth requiredBest for
PollNoneNoStateless and serverless servers
PushPer open streamNoLocal stdio servers, desktop clients
WebhookPer subscription, TTL-scopedYesRemote servers, ChatGPT

That auth column matters. Webhook subscriptions are keyed by the authenticated principal, so an unauthenticated server can offer poll and push but not webhook. If you need to add auth, the MCP OAuth guide covers it.

An MCP Events Webhook Subscription, Step by Step

Here’s the full lifecycle, using the spec’s own message shapes.

  1. Discover. The client calls server/discover and looks for io.modelcontextprotocol/events under capabilities.extensions, then calls events/list.
  2. Subscribe. It calls events/subscribe with the event name, arguments, the callback URL, a whsec_ secret it generated, a cursor and a suggested ttlMs.
  3. Verify. Before activating, the server POSTs a signed {"type":"verification","challenge":"…"} to the URL. The endpoint must echo the challenge in a 2xx body.
  4. Confirm. The subscribe call returns id, refreshBefore, cursor and truncated.
  5. Deliver. Each event is POSTed as one signed JSON body with eventId, name, timestamp, data and cursor.
  6. Renew. Before refreshBefore, the client calls events/subscribe again with the same arguments. Same key, same id, new expiry.
  7. Stop. events/unsubscribe ends it now. Or the client just stops renewing, and it expires.
POST https://your-endpoint.example.com/hooks/abc
Content-Type: application/json
webhook-id: msg_2KWPBgLlAfxdpx2AI54pPJ85f4W
webhook-timestamp: 1739980800
webhook-signature: v1,<base64 HMAC-SHA256(secret, id + "." + timestamp + "." + body)>
X-MCP-Subscription-Id: sub_a3f1c8e2b0d49f7e

{"eventId":"evt_789","name":"order.created","timestamp":"2026-12-03T16:00:00Z",
 "data":{"orderId":"ord_1234","total":150},"cursor":"cursor_xyz"}

The cursor in each delivery is a watermark, not the event’s own position. Persist the latest one and pass it on every renewal, and a lapsed subscription can replay what it missed.

Is your MCP Events server ready for ChatGPT?

MCP Playground subscribes like ChatGPT does, answers the challenge, and grades every delivery against SEP-3415 and ChatGPT’s rules.

Seven Rules MCP Events Servers Get Wrong

The protocol messages are the easy part. These are the details I see break, roughly in order of how often.

1. Signing over re-serialised JSON

The signature is HMAC-SHA256 over webhook-id.webhook-timestamp.body, using the raw body bytes. Sign a parsed-and-re-stringified object and the receiver’s check fails, even though the JSON looks identical.

2. Missing the Mcp-Name header

Clients must send Mcp-Name: <event name> on events/subscribe, unsubscribe, poll and stream. Servers reject a missing or mismatched one with 400 and HeaderMismatch (-32020).

This catches client libraries too. Generic MCP clients often set it only for tools/call and prompts/get, so check yours.

3. Delivering before verification

A server must not send events to a URL until it has confirmed the endpoint wants them. The challenge is how. Skip it and your server can be used to flood any URL someone types in.

4. Retrying the wrong failures

Retry 5xx and timeouts with exponential backoff, a few attempts over 10–15 minutes. Never retry 410 Gone or 413 Payload Too Large. Both mean “stop sending this one”.

5. Changing webhook-id on a retry

A retry keeps the same webhook-id so the receiver can deduplicate. The timestamp and signature, though, must be fresh on every attempt, or the receiver’s 5-minute window rejects it.

6. Granting more TTL than was asked

refreshBefore should be at or below the client’s suggested ttlMs. Only return null (no expiry) when the client asked with ttlMs: null, and then persist the subscription across restarts.

7. Payloads that drift from payloadSchema

The schema is a promise. Don’t send a number where it declares a string, and evolve it additively: a breaking change goes out under a new event name.

Treat event payloads as untrusted input on the agent side too. They land in a model’s context, so the same caution as tool poisoning applies.

ChatGPT MCP Events: What It Expects

ChatGPT is the first major client with MCP Events. OpenAI’s guide sets out what it needs:

  • Webhook delivery only. Polling, streaming and the gap and terminated envelopes aren’t supported.
  • events/list, events/subscribe and events/unsubscribe on the same authenticated endpoint as your tools.
  • A whsec_ secret decoding to 24–64 bytes, and the four headers above.
  • One event per request, at most 256 KiB, no retries on 410 or 413. Events may arrive out of order.
  • It’s available in Work chats on web, in the desktop app with Cloud selected, and with dots.

Where ChatGPT’s docs and the spec disagree

Here’s the part no other guide mentions. As of this writing, the two documents conflict in three places.

DetailSEP-3415OpenAI’s guide
webhook-idIdentifies the message; MUST NOT be derived from eventId“The same value as the body’s eventId”
Capabilitycapabilities.extensions["io.modelcontextprotocol/events"]An events capability
Callback error codeCallbackEndpointError = -32027-32015

My take: OpenAI’s guide reflects the draft it shipped against in September. Follow the spec, test against ChatGPT, and keep an eye on its docs. A test that reports both views beats one that silently picks a side.

Who Supports MCP Events Today?

The MCP project keeps an official extensions client matrix. Here’s what it lists for Events, plus the SDKs I’ve checked myself.

Client or SDKModes (December 2026)
ChatGPTWebhook, in Work chats
Hermes Agent, OpenClaw, EveWebhook
OpenCodePush
fast-agentPoll and push
Vercel AI SDK (@ai-sdk/mcp)Webhook, experimental (experimental_events plus a receiver helper)
TanStack AIClient API for listing and subscribing
Official MCP TypeScript SDKNot yet
Claude Code, Claude Desktop, CursorNot listed
MCP PlaygroundTester (webhook and poll), Agent Studio (webhook)

So for “Claude MCP Events”, the honest answer today is: not in Claude’s own apps. You can still give a Claude model events through a client that supports them.

One warning on SDKs. Early @ai-sdk/mcp releases followed the draft and failed against spec-compliant servers, which was fixed on 25 November. Pin a recent version.

On the server side, no big SaaS vendor ships MCP Events yet. GitHub only appears as the worked example in the spec. Most live servers today are demos and developer tools.

How to Test an MCP Events Server

Testing webhooks by hand is slow. You need a public https endpoint, the right secret, a signature check and patience for retries.

I built the MCP Events tester in MCP Playground to do the client side for you:

  1. Paste your server URL and token. It lists your events and checks the capability.
  2. Subscribe. It hosts the callback, generates the secret and answers the challenge.
  3. Watch deliveries arrive, each checked for signature, headers, timestamp, size and payloadSchema.
  4. Flip the endpoint to answer 500, 410, 413 or slowly, and see whether your server retries correctly.
  5. Read two verdicts: “Ready for ChatGPT?” and the SEP-3415 spec.

No server yet? Use the demo at /mcp-events-demo, listed with the other mock MCP servers. Its bug argument breaks one rule on purpose, so you can see what a failure looks like.

Then try it with an agent

The real point of events is an agent that reacts. In Agent Studio, connect an Events server and say “watch for orders over $100 and summarise each one”.

The model subscribes itself, each event drops into the chat, and it responds with the server’s tools. Try it with different models to see which ones handle event-driven work well.

Watch an agent react to MCP Events

Connect an Events server in Agent Studio and let the model subscribe, receive and act.

Open Agent Studio →

Bottom line

MCP Events turn agents from things you ask into things that notice. The protocol is small, but webhook delivery has real rules, and ChatGPT’s docs still differ from the spec in places.

Build to SEP-3415, check the ChatGPT differences, and test retries and signing before you ship.

FAQ: MCP Events

What are MCP Events?+
MCP Events are an official Model Context Protocol extension (SEP-3415, io.modelcontextprotocol/events) that lets a server notify a client when something happens upstream. A client lists the available events, subscribes with filters, and receives occurrences by webhook, polling or a push stream.
Are MCP Events the same as webhooks?+
In webhook mode they use the Standard Webhooks signing scheme, so the delivery looks like a normal signed webhook. The difference is that an agent discovers and subscribes at runtime through MCP, subscriptions expire unless renewed, and the endpoint must pass a signed challenge first. Poll and push modes have no webhook at all.
Does ChatGPT support MCP Events?+
Yes, in webhook mode only, in ChatGPT Work chats. Your server needs events/list, events/subscribe and events/unsubscribe on its authenticated endpoint, Standard Webhooks signing, callback verification and one event per request under 256 KiB.
Does Claude support MCP Events?+
Not in Claude’s own apps as of December 2026: the official MCP client matrix doesn’t list Claude Code or Claude Desktop for Events. You can still use a Claude model with events through a client that implements the extension, such as an app built on the Vercel AI SDK’s experimental events support or MCP Playground’s Agent Studio.
Which MCP protocol version do Events need?+
The 2026-07-28 revision or later. The extension relies on server/discover and per-request client capabilities, which earlier revisions don’t have.
How do I test an MCP Events server?+
Subscribe to it from a client that checks the details: signature, headers, timestamp freshness, payload schema, retries and unsubscribe. MCP Playground’s MCP Events tester does this with a hosted callback, and can make the callback fail on purpose to test retry behaviour.

Sources

NT

Written by Nikhil Tiwari

15+ years in product development. AI enthusiast building developer tools that make complex technologies accessible to everyone.

Build, compare & ship MCP agents

Connect any MCP server, run evals on it, compare 90+ models side-by-side, deploy hosted servers, and save reusable agents you can export as an API — all in your browser.

Try for Free →