Interact with GitHub repositories, including issues, pull requests, commits, releases, and actions.
A comprehensive Model Context Protocol server for GitHub integration, providing access to repositories, issues, pull requests, commits, releases, and GitHub Actions workflows.
This MCP is designed to be safely published without exposing sensitive credentials.
DO NOT store your GitHub token in the MCP directory. Instead, use one of these secure methods:
Store your environment file outside the project:
# Create secure environment directory
mkdir -p ~/.config/mcp-environments
# Create GitHub environment file
cat > ~/.config/mcp-environments/github.env << EOF
GITHUB_TOKEN=your_personal_access_token
GITHUB_OWNER=your_github_username
EOF
Store credentials directly in your Claude Desktop configuration (recommended for production).
cd github-actions-mcp-server
npm install
# Create environment file outside project
cat > ~/.config/mcp-environments/github.env << EOF
GITHUB_TOKEN=your_personal_access_token
GITHUB_OWNER=your_github_username
EOF
Add directly to Claude Desktop config with no environment files.
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["tsx", "/path/to/github-actions-mcp-server/src/index.ts"],
"envFile": "~/.config/mcp-environments/github.env"
}
}
}
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["tsx", "/path/to/github-actions-mcp-server/src/index.ts"],
"env": {
"GITHUB_TOKEN": "your_personal_access_token",
"GITHUB_OWNER": "your_github_username"
}
}
}
}
Once configured, you can ask Claude things like:
list_repositories
- List repositories with filtering/sortingget_repository
- Get detailed repository infoget_file_content
- Get file/directory contentsearch_code
- Search code across reposlist_issues
- List issues with filteringcreate_issue
- Create new issueslist_pull_requests
- List PRs with filteringlist_commits
- List commits with filteringget_user_info
- Get user profile informationlist_workflows
- List all workflows in a repositoryget_workflow
- Get details of a specific workflowlist_workflow_runs
- List workflow runs with status filteringget_workflow_run
- Get detailed information about a specific runget_workflow_run_jobs
- Get jobs for a workflow runcancel_workflow_run
- Cancel a running workflowrerun_workflow
- Re-run an entire workflowrerun_failed_jobs
- Re-run only failed jobstrigger_workflow_dispatch
- Trigger workflows with custom inputslist_workflow_artifacts
- List artifacts from workflow runsdownload_artifact
- Get artifact download informationget_workflow_usage
- Get workflow usage statistics# Check all recent workflow runs
"Show me the status of recent workflow runs"
# Get detailed information about a specific run
"Get details for workflow run #142"
# Check which jobs failed
"Show me the jobs for workflow run #142"
# Trigger a deployment workflow
"Trigger the deploy workflow for production environment"
# With custom inputs
"Run the deploy workflow with version=1.2.3 and environment=staging"
# Monitor deployment progress
"Check the status of the latest deployment workflow"
# Find failed runs
"Show me failed workflow runs from the last week"
# Get job details
"What jobs failed in workflow run #140?"
# Re-run failed jobs
"Re-run the failed jobs in workflow #140"
# List available artifacts
"Show me artifacts from the latest build"
# Download specific artifacts
"Get download info for artifact #12345"
~/.config/mcp-environments/
for credentialsBefore publishing this MCP:
.env
files in the repository.gitignore
includes comprehensive patternsAuthentication Failed
actions:read
and actions:write
scopesEnvironment File Not Found
Rate Limiting
Workflow Dispatch Failed
workflow_dispatch
trigger configuredCannot Cancel/Re-run Workflows
actions:write
permissionToken-based GitHub automation management. No Docker, Flexible configuration, 80+ tools with direct API integration.
Interact with the GitHub API for file operations, repository management, and search.
An MCP server for interacting with the AtomGit API for version control and code hosting.
An improved GitLab MCP server with bug fixes, providing access to GitLab projects, issues, and merge requests.
Connects AI assistants to Obsidian vaults stored in GitHub repositories, enabling them to read, search, and analyze your notes and documentation.
Manage GitHub projects with requirements traceability and advanced workflows.
GitHub's official MCP Server
An MCP server that allows AI assistants to create and delete GitHub repositories. Requires a GITHUB_TOKEN for authentication.
An MCP server for Bitbucket that provides pull request context to LLMs for automated code reviews.
Analyze and query GitHub repositories using the GitHub Chat API.