# github-webhook MCP server

> Bridges local MCP clients to a remote Cloudflare Worker to stream and manage real-time GitHub webhook events.

- Repository: https://github.com/Liplus-Project/github-webhook-mcp
- Page: https://hostedmcp.org/servers/liplus-project/github-webhook-mcp
- Transport: stdio
- Stars: 0
- License: Apache-2.0
- Latest version: 0.8.2

## Install

### Claude Code

```sh
claude mcp add github-webhook-mcp -- npx -y github-webhook-mcp
```

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

```json
{
  "mcpServers": {
    "github-webhook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "github-webhook-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "github-webhook-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "github-webhook-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"github-webhook-mcp","type":"stdio","command":"npx","args":["-y","github-webhook-mcp"]}'
```

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

```json
{
  "mcpServers": {
    "github-webhook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "github-webhook-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add github-webhook-mcp -- npx -y github-webhook-mcp
```

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

```toml
[mcp_servers.github-webhook-mcp]
command = "npx"
args = ["-y", "github-webhook-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user github-webhook-mcp npx -- -y github-webhook-mcp
```

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

```json
{
  "mcpServers": {
    "github-webhook-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "github-webhook-mcp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `WEBHOOK_CHANNEL` | no | no | Set to '0' to disable SSE channel notifications (default: enabled) |
| `WEBHOOK_WORKER_URL` | no | no | URL of your deployed Cloudflare Worker endpoint (default: https://github-webhook.smgjp.com) |

## Tools (5)

- `get_pending_status`
- `list_pending_events`
- `get_event`
- `get_webhook_events`
- `mark_processed`

## FAQ

### Does this support real-time notifications?

Yes, it can maintain a WebSocket connection to emit incoming webhook events as real-time notifications for Claude Code.

### How is authentication handled?

The proxy uses web OAuth against the Worker, caching access and refresh tokens locally in ~/.github-webhook-mcp/.

### Can I use my own Cloudflare Worker deployment?

Yes, you can point the proxy to your own deployment by setting the WEBHOOK_WORKER_URL environment variable.
