MCP Server for GitHub Tools
@RickardHF
About MCP Server for GitHub Tools
Model Context Protocol (MCP) server that provides GitHub API tools for user information, security issue creation, and repository security scanning. Built with TypeScript and the MCP SDK
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"github-security-mcp-server": {
"command": "npx",
"args": [
"@rickardhf/github-security-mcp-server"
]
}
}
}Tools
10Get GitHub user information based on the username.
Create security issues in a GitHub repository.
List security issues in a GitHub repository.
List all open issues in a GitHub repository.
Create a new branch in a GitHub repository.
Create a new pull request in a GitHub repository.
List branches in a GitHub repository.
Get a pull request in a GitHub repository.
Get all pull requests in a GitHub repository.
Retrieves the security status of a GitHub repository. This includes Dependabot alerts, code scanning alerts, and secret scanning alerts.
Overview
What is MCP Server for GitHub Tools?
MCP Server for GitHub Tools is a Model Context Protocol (MCP) server implementation that provides tools for interacting with GitHub. Built with TypeScript and the MCP SDK, it is designed for integration with MCP clients like GitHub Copilot in Visual Studio Code.
How to use MCP Server for GitHub Tools?
Ensure Node.js, npm, and the GitHub CLI (gh) are installed and authenticated. Start the server locally with npm start, or for development with auto‑rebuild use npm run dev. For VS Code integration, configure the MCP client with the stdio command npx @rickardhf/github-security-mcp-server (published) or point to the local built file.
Key features of MCP Server for GitHub Tools
- Retrieve GitHub user information by username.
- Create and list security issues with proper labels.
- Get comprehensive security status (Dependabot, code scanning, secret scanning).
- List and create branches in a repository.
- Create, list, and get detailed pull requests with diffs.
Use cases of MCP Server for GitHub Tools
- Look up details about a specific GitHub user.
- Report a security vulnerability by creating a labeled security issue.
- Review all security‑related issues in a repository.
- Monitor Dependabot, code scanning, and secret scanning alerts.
- Manage branch creation and pull requests across repositories.
FAQ from MCP Server for GitHub Tools
How does authentication work?
The server uses the GitHub CLI (gh) to obtain a token for the currently authenticated user, and this token is used for all GitHub API requests.
What are the prerequisites for running the server?
Node.js, npm (included with Node.js), and the GitHub CLI (gh) must be installed and authenticated.
Why is the AI agent not picking up the tools?
If the AI agent does not automatically discover the tools, explicitly instruct it to use the available tools.
How can I run the server locally from a published package?
Use the command npx @rickardhf/github-security-mcp-server as the stdio command in your MCP client configuration.
What transport does the server use?
The server is configured to communicate over stdio, as shown in the VS Code mcp.json examples.
Frequently asked questions
How does authentication work?
The server uses the GitHub CLI (`gh`) to obtain a token for the currently authenticated user, and this token is used for all GitHub API requests.
What are the prerequisites for running the server?
Node.js, npm (included with Node.js), and the GitHub CLI (`gh`) must be installed and authenticated.
Why is the AI agent not picking up the tools?
If the AI agent does not automatically discover the tools, explicitly instruct it to use the available tools.
How can I run the server locally from a published package?
Use the command `npx @rickardhf/github-security-mcp-server` as the stdio command in your MCP client configuration.
What transport does the server use?
The server is configured to communicate over stdio, as shown in the VS Code `mcp.json` examples.
Basic information
More Version Control MCP servers

GitLab
modelcontextprotocolModel Context Protocol Servers
GitHub Stars MCP Server
ccbikaiA Cloudflare-powered MCP (Model Context Protocol) Server that allows you to search and query your GitHub starred repositories using natural language.
mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
MCP Atlassian
soopersetMCP server for Atlassian tools (Confluence, Jira)
Jira MCP
nguyenvanduocitA Go-based MCP (Model Control Protocol) connector for Jira that enables AI assistants like Claude to interact with Atlassian Jira. This tool provides a seamless interface for AI models to perform common Jira operations including issue management, sprint planning, and workflow tra
Comments