Skip to main content

MCP server for managing GitHub Actions

Project description

GitHub Actions MCP Server

MCP server for managing GitHub Actions — trigger workflows, monitor runs, view logs, manage secrets and artifacts — all via Claude.

Installation

pip install github-actions-mcp

Configuration

export GITHUB_TOKEN=ghp_...

Usage

# stdio mode (default)
github-actions-mcp

# SSE mode
github-actions-mcp --transport sse --port 8000

MCP Client Config

{
  "mcpServers": {
    "github-actions": {
      "command": "github-actions-mcp",
      "env": { "GITHUB_TOKEN": "ghp_..." }
    }
  }
}

Tools

Tool Description
list_workflows List all workflows in a repo
trigger_workflow Trigger a workflow dispatch
disable_workflow Disable a workflow
list_runs List workflow runs (optional workflow_id filter)
get_run Get a specific run's details
cancel_run Cancel a running workflow
re_run Re-run a failed workflow
list_jobs List jobs for a run
get_run_logs Get logs URL for a run
list_secrets List secret names
set_secret Create or update a secret
delete_secret Delete a secret
list_artifacts List artifacts
download_artifact Get artifact download URL

Development

poetry install
poetry run pytest tests/ --ignore=tests/test_integration.py
poetry run ruff check src/
poetry run mypy src/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github_actions_mcp-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

github_actions_mcp-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file github_actions_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: github_actions_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for github_actions_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4c2e0f2285131a9b260805fe827f927825d1d6682fb70a319fb6c6b30864f6ea
MD5 2766c2c46dabc35c3ac60c1a6062fccf
BLAKE2b-256 265160b7ab23178dde7f8f8adeb8496412d4cdef1d9fdd486cace22f369146c5

See more details on using hashes here.

File details

Details for the file github_actions_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for github_actions_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9aebd1beac97bf66d243a2bf8d331936ff5b5820067cc3c0e35eca7b720590a4
MD5 0fa65efd48744593912fc5c44d235b18
BLAKE2b-256 de1f3bba5ca1eb8845a4e0e1017459b452dc3c65d5bf48417033e8f03cfde050

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page