# Claude Code

The Claude Code use case walks through an incident where the agent fixes a flaky GitHub Actions workflow, then self-approves its own PR, merges to main, and triggers a production deploy, all in seconds, all without review. The page shows how Civic prevents this by scoping Claude Code's access: it can read code, run tests, and open PRs, but force-pushes, production deploys, and schema migrations are blocked unless explicitly allowed. Integration uses Claude Code's native MCP support. One command to add the Civic URL as an HTTP MCP server, then OAuth in the browser. Every file edit, shell command, and git operation is logged with full parameters.

Source: https://www.civic.com/use-cases/claude-code
