# Drop into .github/workflows/mcp-whitelist.yml to block unpinned or NO-GO MCP servers on every Pull Request
name: MCP Allowlist Gate (washfilter.com)
on:
  pull_request:
    paths:
      - '**/*mcp*.json'
      - '.cursor/**'
      - '.vscode/**'
  workflow_dispatch:

jobs:
  mcp_whitelist_gate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
      - name: Verify MCP Config Against washfilter.com (SHA-512 / SHA-256 Lockfile Gate)
        run: curl -fsSL https://washfilter.com/cli.mjs | node -
