MCPSERV.CLUB
rajbos

GHAS MCP Server

MCP Server

Securely query GitHub Actions Security Alerts via VS Code

Stale(60)
5stars
0views
Updated May 21, 2025

About

The GHAS MCP Server provides lightweight tools to list Dependabot, Secret Scanning, and Code Scanning alerts for a repository. It integrates with VS Code or the CLI using a personal access token or authenticated GitHub CLI.

Capabilities

Resources
Access data sources
Tools
Execute functions
Prompts
Pre-built templates
Sampling
AI model interactions

Screenshot of the output inside of VS Code

The Ghas MCP Server bridges the gap between AI assistants and GitHub’s security tooling. By exposing a small but powerful set of tools—, , and —the server allows Claude or other AI agents to query a repository’s security posture directly from within an editor or workflow. This eliminates the need for developers to manually run CLI commands, sift through GitHub’s web interface, or parse raw API responses; the assistant can retrieve structured data with a single call.

For developers working on continuous integration or security‑centric pipelines, this capability is invaluable. An AI assistant can automatically surface critical alerts during code reviews, suggest remediation steps, or even trigger automated workflows that remediate common issues. Because the server relies on read‑only scopes, it respects least‑privilege principles while still providing full visibility into a repository’s Dependabot, secret scanning, and code scanning alerts.

Key features of the Ghas MCP Server include:

  • Unified Toolset: Three dedicated tools cover the most common security alert categories, each returning a concise JSON list that can be easily parsed or displayed by the AI.
  • Flexible Authentication: Developers may supply a Personal Access Token (PAT) or leverage an already‑authenticated GitHub CLI, making the server adaptable to a wide range of environments.
  • VS Code Integration: A single click from VS Code’s editor installs the server, after which configuration is automatically injected into the MCP settings. The visual installer also displays a preview of the configuration, reducing misconfiguration risk.
  • Extensible Configuration: The server’s command and environment variables can be customized, allowing teams to tailor authentication methods or add future tools without modifying the core code.

Typical use cases span from “What are the open Dependabot alerts for this PR?” to “Show me all secret scanning findings in the current branch.” In a security‑first organization, an AI assistant can flag vulnerabilities before they reach production, recommend policy changes, or even automate the creation of issue tickets. For teams adopting GitHub Actions, the server can feed alert data into custom actions that enforce compliance checks or trigger automated scans.

Overall, the Ghas MCP Server empowers AI assistants to act as real‑time security advisors within developers’ native workflows, turning raw GitHub data into actionable insights without leaving the editor or CI pipeline.