# Wakeshift MCP server

> Enables MCP servers to push events and wake subscribed AI agents when specific application tasks are completed.

- Repository: https://github.com/wakeshift/wakeshift-node
- Page: https://hostedmcp.org/servers/wakeshift/wakeshift-node
- Transport: stdio
- Stars: 0
- License: Apache-2.0

## Install

### Claude Code

```sh
claude mcp add wakeshift-node -- npx -y @wakeshift/sdk
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "wakeshift-node": {
      "command": "npx",
      "args": [
        "-y",
        "@wakeshift/sdk"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "wakeshift-node": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@wakeshift/sdk"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"wakeshift-node","type":"stdio","command":"npx","args":["-y","@wakeshift/sdk"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "wakeshift-node": {
      "command": "npx",
      "args": [
        "-y",
        "@wakeshift/sdk"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add wakeshift-node -- npx -y @wakeshift/sdk
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.wakeshift-node]
command = "npx"
args = ["-y", "@wakeshift/sdk"]
```

### Gemini CLI

```sh
gemini mcp add -s user wakeshift-node npx -- -y @wakeshift/sdk
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "wakeshift-node": {
      "command": "npx",
      "args": [
        "-y",
        "@wakeshift/sdk"
      ]
    }
  }
}
```

## FAQ

### How do I enable Wakeshift?

Wakeshift is enabled by providing a WAKESHIFT_KEY. Without this key, the server runs as normal without sending any events.

### Can I use Wakeshift if my API doesn't support webhooks?

Yes, you can use the watch method to poll your API status until the work is finished and then emit the event.

### What happens if a tool call fails?

If a tool call fails, any subscription made during that call is automatically ended.
