The wake-up call for AI agents

Send MCP Events from your server and wake agents the moment they happen.

An event in your app wakes an agent A crawl of example.com that your app started finishes, and your app emits the crawl.finished event. Wakeshift delivers it to a sleeping agent (Claude Code, Codex or Cursor, in turn), which wakes, reads "Crawl of example.com finished: 1834 pages", and writes up what changed. YOUR APP example.com Crawl · 1834 pages done crawlFinished.emit({ site: "example.com" }, …) Wakeshift THEIR AGENT Claude Code Codex Cursor idle awake z z z Waiting for the crawl to finish EVENT FROM CRAWLER Crawl of example.com finished: 1834 pages Reading the pages with get_crawl and writing up what changed.

Works with

  • Codex, ChatGPT (Work chats on the web)
  • Cursor
  • Claude Code, Claude Cowork
  • Copilot CLI
  • opencode
  • Antigravity
  • pi
  • Hermes Agent
  • Grok Bot
and more

Your users connect your server and you can wake their agents

  1. Users connect your MCP server

    Nothing changes for them. They don't sign up for Wakeshift or see a Wakeshift screen. Connecting your server is the consent and it's recorded in an audit log.

  2. Their agent subscribes

    Your start_crawl tool subscribes the session it was called from, or the user asks their agent to watch for an update.

  3. You emit and the agent wakes

    When the crawl finishes your backend calls emit. The session that subscribed wakes up and carries on. The event is marked as coming from your app, so the agent doesn't mistake it for an instruction from its user.

See how it works in detail

Sending an event isn't enough if nothing wakes the agent

Polling burns tokens and misses results. Most agents can't subscribe to MCP Events yet, and most clients that can subscribe follow earlier drafts. Wakeshift delivers your events per the final spec, speaks each client's draft and bridges to the agents that can't subscribe: Claude Code, Codex, Cursor, Copilot CLI and more.

Polling

What agents do today

The agent finds out late or never.

while (!done) {
  done = await check_crawl("example.com")
  await sleep(30_000) // and again, and again
}
  • Spends calls and tokens when nothing has changed
  • Always lags behind by up to a full polling interval
  • Stops when the conversation ends, so your user never gets the result

Events alone

No wake layer

Most of your users' agents never hear it.

// POST https://their-callback/…
{ "event": "crawl.finished" }
// Claude Code, Codex, Cursor: nothing
  • Only reaches clients with built-in MCP events support
  • Claude Code, Codex and Cursor can't subscribe yet, so they get nothing
  • Webhooks require a public callback URL most local agents don't have

Woken

With Wakeshift

The agent wakes up and acts on it.

await crawlFinished.emit({ site: "example.com" }, { pages: 1834 })
// the conversation that subscribed wakes up
// and picks up where it left off
  • Wakes the session that subscribed, in Claude Code, Codex, Cursor and more
  • One integration for every agent: zero setup for most users, a one-time install for the rest
  • Arrives in seconds, not on the next polling tick

Three calls to wire it in

  1. defineEvent

    Define an event with typed arguments and payload.

  2. attach

    Hook Wakeshift into your MCP server so agents can subscribe.

  3. emit

    Call it from the webhook handler you already have, or have another service post to a publish URL. Every subscriber wakes.

Subscribe right inside your tools. Have start_crawl subscribe the caller automatically, so the agent hears back when the crawl finishes without the user having to ask. See the tool

SDKs for TypeScript, Python and Go, or any language over HTTP

server.ts
import { createServer } from "node:http"import { McpServer, createMcpHandler } from "@modelcontextprotocol/server"import { toNodeHandler } from "@modelcontextprotocol/node"import { Wakeshift } from "@wakeshift/sdk"import { z } from "zod"const wake = new Wakeshift() // reads WAKESHIFT_KEYconst crawlFinished = wake.defineEvent("crawl.finished", {  description: "A site crawl finished",  args: z.object({ site: z.string() }),  payload: z.object({ pages: z.number() }),  text: (crawl, { site }) => `Crawl of ${site} finished: ${crawl.pages} pages`,  public: true, // open to every agent, not only your tools})const mcp = createMcpHandler(() => {  const server = new McpServer({ name: "crawler", version: "1.0.0" })  wake.attach(server) // agents can now subscribe  return server})createServer(toNodeHandler(mcp)).listen(3000)// When the crawl finishes, wake every agent waiting on itawait crawlFinished.emit({ site: "example.com" }, { pages: 1834 })
$ npm install @wakeshift/sdk @modelcontextprotocol/server @modelcontextprotocol/node zod

Apps built on Wakeshift

Build your own

Run it yourself or let us host it

Wakeshift is an open-source server that delivers your MCP server's events per the final spec and wakes the agents that can't subscribe yet. Run it yourself or use ours.

Run it yourself

The same server, open source under Apache-2.0. Run it on your own infrastructure.

Self-host Wakeshift

Let us host it

We handle the database, scaling and certificates. The published agent plugins already trust our service. Free up to 50,000 deliveries a month.

Start free

Start free and pay as your app grows

Every plan includes 50,000 deliveries a month. You don't pay for retries or for events that no agent receives.

Free

$0

Build and try your app.

  • 50,000 deliveries a month
  • 10 deliveries a second
  • 7 days of event history
Sign up

Starter

$29a month
+ $0.10 per 1,000 deliveries past 50,000

Run your app in production.

  • 50,000 deliveries a month included
  • 50 deliveries a second
  • 30 days of event history
Get started

Custom

Talk to us

For apps that outgrow Starter. Tell us your volume and we'll quote a price.

  • Volume discounts and custom throughput
  • SSO and data residency
  • A named contact
Contact us

A delivery is one event reaching one agent. Compare plans

Prefer to run it yourself? The server is open source

Get an agent waking in five minutes

Add events to your MCP server

Follow the quickstart to wire up your first event and wake a real agent.

Get started

Try it first

Grab a webhook URL that wakes your own agent on every POST. No sign-up, no server required.

Try it now
Add Wakeshift to this MCP server following https://wakeshift.ai/AGENTS.md

Let your agent add it

Paste this into Claude Code, Codex or Cursor inside your MCP server repo. It'll suggest events, wire up the ones you pick and verify an agent wakes.

Learn more in the quickstart

Want to talk before you try it? Talk to us