open-index/open-npm huggingface dataset:
npm package: @rebasedotdev/mcp-gateway
Description: Native MCP gateway for Rebase read-only tools
Latest version: 0.1.0

# rebase-mcp-gateway

Native MCP gateway for Rebase read-only tools.

## Tools exposed
- `list_open_bugs(severity?)`
- `get_bug_context(bug_id)`
- `get_repo_slice(bug_id)`
- `validate_patch(bug_id, diff, root_cause?, tests_changed?, risk_notes?)`

## Required environment variables
- `REBASE_API_BASE_URL` (example: `https://api.rebase.dev/api/v1`)
- `REBASE_API_TOKEN` (MCP connector token from Rebase)
- `REBASE_WEBSITE_ID` (website unique_id)
- `REBASE_MCP_CLIENT` (`claude` or `vscode`; defaults to `claude`)

## Run
```bash
npm install
npm start
```

## Install for users (recommended)
```bash
npx -y @rebase/mcp-gateway
```

## Claude config example
```json
{
  "mcpServers": {
    "rebase": {
      "command": "npx",
      "args": ["-y", "@rebase/mcp-gateway"],
      "env": {
        "REBASE_API_BASE_URL": "https://api.rebase.dev/api/v1",
        "REBASE_API_TOKEN": "YOUR_TOKEN",
        "REBASE_WEBSITE_ID": "YOUR_WEBSITE_ID",
        "REBASE_MCP_CLIENT": "claude"
      }
    }
  }
}
```

## VS Code MCP config example
```json
{
  "servers": {
    "rebase": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@rebase/mcp-gateway"],
      "env": {
        "REBASE_API_BASE_URL": "https://api.rebase.dev/api/v1",
        "REBASE_API_TOKEN": "YOUR_TOKEN",
        "REBASE_WEBSITE_ID": "YOUR_WEBSITE_ID",
        "REBASE_MCP_CLIENT": "vscode"
      }
    }
  }
}
```