{
  "mcpServers": {
    "puppeteer": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-server-puppeteer"],
      "description": "Browser automation for build-verify loop (screenshots, console scan, API check)"
    },
    "playwright": {
      "command": "npx",
      "args": ["-y", "@playwright/mcp"],
      "description": "Alternative browser automation — prefer over puppeteer if already installed"
    }
  },
  "permissions": {
    "allow": [
      "Read",
      "Write",
      "Edit",
      "Bash(git *)",
      "Bash(python *)",
      "Bash(python3 *)",
      "Bash(dotnet *)",
      "Bash(npm *)",
      "Bash(node *)",
      "Bash(az *)",
      "PowerShell"
    ],
    "deny": [
      "Bash:sudo:*",
      "Read:**/.env",
      "Read:**/*.env"
    ]
  },
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Write|Edit|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "node .claude/hooks/code-quality.js",
            "description": "Auto format source files: prettier (TS/JS), ruff/black (Python), dotnet format (C#)"
          }
        ]
      }
    ],
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "node .claude/hooks/session-end.js",
            "description": "Run test suite, check project-status.yaml updated, remind next steps"
          }
        ]
      }
    ]
  }
}
