{"meta":{"title":"Use GitHub Advanced Security with AI coding agents","intro":"Catch secrets, vulnerabilities, and insecure dependencies while you code, directly from GitHub Copilot agent mode and other MCP-compatible tools.","product":"Security and code quality","breadcrumbs":[{"href":"/en/code-security","title":"Security and code quality"},{"href":"/en/code-security/how-tos","title":"How-tos"},{"href":"/en/code-security/how-tos/use-ghas-with-ai-coding-agents","title":"Advanced Security with AI agents"}],"documentType":"subcategory"},"body":"# Use GitHub Advanced Security with AI coding agents\n\nCatch secrets, vulnerabilities, and insecure dependencies while you code, directly from GitHub Copilot agent mode and other MCP-compatible tools.\n\n## Links\n\n* [Scanning for secrets with the GitHub MCP server](/en/code-security/how-tos/use-ghas-with-ai-coding-agents/scan-for-secrets-with-github-mcp-server)\n\n  Detect exposed secrets in real time from your AI coding agent, before they ever reach your repository."}