# 🔔 Wakeshift wakes Claude Code, Codex and Cursor when an MCP server has an event

AI Today · published 2026-11-24T06:30:00Z · https://ai-today.com/product/c39c8955-a518-4f91-a68f-7c4bb032ec3e?lang=en

- 🔔 Wakeshift is an open-source server that delivers MCP Events (SEP-3415) and wakes agents that cannot subscribe to them yet.
- 🤖 Bridges exist for Claude Code, Codex, Cursor, GitHub Copilot CLI, opencode and others; incoming webhooks become events.
- 🛠️ Self-host with Docker and Postgres, or use the hosted service; SDKs for TypeScript, Python and Go, Apache 2.0.

🔔 An MCP server often knows when something happens: a build finished, a reply arrived, a job is done. MCP Events (SEP-3415) is meant as the standard way to offer such events, but according to the project few agents subscribe to it so far; it names opencode 2.4. [Wakeshift](https://github.com/wakeshift/server) is an open-source server that runs next to an MCP server, holds the subscriptions and delivers each occurrence by webhook, poll or push. For agents without MCP Events support, such as Claude Code, Codex and Cursor, it wakes the conversation that subscribed, using a bridge built for each agent. The project says your code stays the same for every agent. A hosted version runs at [wakeshift.ai](https://wakeshift.ai).

🧩 **How it is built.** The server answers the MCP Events calls (list, subscribe, poll and stream) and adds a subscribe_events tool for agents whose clients do not speak MCP Events. Your MCP server attaches through an SDK, available for TypeScript (@wakeshift/sdk), Python and Go; other languages can use the HTTP API. In the README example an event named build.finished is defined once, then emitted from code or by a POST to a publish URL.

🪝 **Webhooks.** Wakeshift can create a publish URL per event. Point GitHub, Stripe, CI or any other webhook sender at it and each POST reaches every subscribed agent, by push or by wake. The repository says you write no handler, and that signed senders (Svix, Standard Webhooks), retries and revoking are covered in its docs. A small app called Webhooks gives you such a link without code; it needs Docker, and a hosted copy is at try.wakeshift.ai.

🤖 **How each agent is woken.** According to the README, Claude Code is woken by the project's plugin (hooks for an idle session) or by a background Monitor the agent starts, so it needs nothing installed. Codex uses a hook that starts a per-thread connector, which starts a turn through Codex's app server; the plugin is installed once. Cursor, GitHub Copilot CLI and Antigravity CLI use a background command the agent starts and that ends when an event arrives. opencode, pi, OpenClaw and Hermes Agent have their own plugins or extensions, and ChatGPT work chats, Mastra, TanStack AI and the Vercel AI SDK are listed as using their own MCP Events support. Each wake is marked as information from your app, never as the user speaking.

🐳 **Running it.** Self-hosting needs Git, openssl, Docker with the Compose plugin, free ports 8370 (Wakeshift) and 5439 (Postgres 17), and Node.js 22.12 or later for the JavaScript example. The Codex connector needs Go 1.27 to build. Everything listens on 127.0.0.1 only. To test a real wake you install one interactive harness (claude or codex) and sign in yourself in your own terminal; the README asks to keep API keys out of chat and source control. The repository's docs cover self-hosting in production, the points where it deviates from SEP-3415, and the versions tested per agent.

⚖️ **License and parts.** The server is Apache 2.0. The connectors, plugins, SDKs and example apps live in further repositories of the same organisation, also open source; the Wakeshift name and logos are not licensed. It suits you if you run an MCP server and want agents to react to events without polling; if your agents already support MCP Events natively you may need less of it.

## Sources

- [Wakeshift server repository (README)](https://github.com/wakeshift/server)

---
This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources.
