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
permissionAn MCP server for integrating with and managing Subversion (SVN) repositories, enabling AI agents to perform version control tasks.
AI-powered GitHub project management with complete requirements traceability.
Interact with GitHub APIs for automation and repository management.
Manage GitHub repositories using a personal access token via CLI or environment variables.
Gitee API integration, repository, issue, and pull request management, and more.
Integrates with GitHub APIs for advanced automation and interaction, supporting both remote and local deployments.
Integrate with the GitHub Enterprise API to access repositories, issues, pull requests, and workflows.
Connects AI assistants to Obsidian vaults stored in GitHub repositories, enabling them to read, search, and analyze your notes and documentation.
An MCP server for Bitbucket that provides pull request context to LLMs for automated code reviews.
A server for GitHub project management with advanced resource management, capacity planning, and workload optimization capabilities.