Ghas MCP Server
This is an MCP server project for GitHub Advanced Security (GHAS), used to call the security scanning functions of GitHub repositories through the MCP protocol, including dependency alerts, secret scanning alerts, and code scanning alerts. It supports authentication through GitHub CLI or a personal access token and provides an installation method for the VS Code extension.
rating : 2.5 points
downloads : 15
What is the GHAS MCP Server?
The GHAS MCP Server is a tool developed based on the Model Context Protocol (MCP) framework, aiming to help users quickly obtain security alert information of GitHub repositories through simple commands. It supports multiple security checks, such as dependency vulnerability detection, secret scanning, and code scanning.How to use the GHAS MCP Server?
Users only need to install the server and configure a personal access token (PAT) to query the security alerts of repositories through commands. Supported operations include listing alerts for dependency vulnerabilities, secret scanning, and code scanning.Applicable Scenarios
The GHAS MCP Server is very suitable for development teams that need to regularly monitor the security of GitHub repositories, especially enterprises that hope to detect and fix potential vulnerabilities in a timely manner.Main Features
List Dependency VulnerabilitiesQuery dependency vulnerability alerts in the specified repository.
List Secret Scanning AlertsQuery secret scanning alerts in the specified repository to identify potential leakage risks.
List Code Scanning AlertsQuery code scanning alerts in the specified repository to help optimize code quality.
Advantages and Limitations
Advantages
Simple operation and flexible configuration.
Supports querying multiple types of GitHub security alerts.
Can be quickly mastered without complex settings.
Supports integration with GitHub CLI to improve security.
Limitations
Requires configuration of a personal access token (PAT) or GitHub CLI.
Can only be used for repositories within a GitHub organization.
Some advanced features may be restricted by permissions.
How to Use
Install the GHAS MCP Server
Install the server through a button in VS Code or VS Code Insiders.
Configure Environment Variables
Choose to use GitHub CLI authentication or a personal access token according to your needs.
Run Commands
Enter commands to query the security alerts of repositories.
Usage Examples
Example 1: List Dependency VulnerabilitiesList dependency vulnerabilities of the specified repository through commands to help the team quickly respond to high-risk vulnerabilities.
Example 2: Check Secret Scanning ResultsRegularly check for unhandled secret scanning alerts in the repository.
Frequently Asked Questions
How to configure GitHub CLI authentication?
Can multiple repositories be queried simultaneously?
What if I forget my PAT?
Related Resources
GitHub MCP Official Documentation
Understand the basic knowledge and best practices of the MCP framework.
GHAS MCP Server Source Code
View and contribute to the source code of the GHAS MCP Server.
GitHub CLI Official Documentation
Learn how to use GitHub CLI for authentication.
Featured MCP Services

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
823
4.3 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
79
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
130
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
554
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.6K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
745
4.8 points