Real-time GitHub Actions observability through VS Code with GitHub Copilot
DORA Metrics β’ Cost Analysis β’ CI/CD Health β’ Security Compliance
βοΈ This is an actual interactive HTML dashboard generated by ActionsPulse β see full tour below
ActionsPulse is an Agentic MCP Server that brings DevOps observability directly into your IDE. Ask GitHub Copilot questions like:
π¬ "Show me our DORA metrics for the last 30 days"
π¬ "Which workflows are costing us the most?"
π¬ "Generate a compliance report for SOC2"
π¬ "What's our deployment frequency this month?"
And get interactive visual dashboards with actionable insights.
| Feature | Organization | Enterprise |
|---|---|---|
| π DORA Metrics | β | β Enhanced |
| β‘ Performance Analytics | β | β |
| π° Cost Optimization | β | β Cross-org |
| π Runner Utilization | β Self-hosted | β All runners |
| π₯ Team Productivity | β | β |
| π Compliance Reports | β (GHAS) | β |
| πΎ Cache Analytics | β | β |
| π Maturity Assessment | β | β |
ActionsPulse generates interactive HTML dashboards that you can open in any browser. Simply ask Copilot:
π¬ "Generate DevOps reports for my organization"
Or use the generate_devops_reports tool directly. Here's a complete tour of what you get:
π Dashboard Overview β Executive summary with all key metrics at a glance
The main dashboard provides:
- π― DevOps Maturity Score with visual gauge
- π DORA Metrics summary (Deployment Frequency, Lead Time, Change Failure Rate, MTTR)
- β‘ CI/CD Pipeline health overview
- π° Cost analysis highlights
- π Security & compliance status
- Quick navigation to detailed reports
π DORA Metrics β Industry-standard DevOps performance indicators
Track the four key DORA metrics:
- Deployment Frequency β How often you ship to production
- Lead Time for Changes β Time from commit to production
- Change Failure Rate β Percentage of deployments causing failures
- Mean Time to Restore β How quickly you recover from incidents
Each metric includes trend analysis and benchmarks against industry standards (Elite, High, Medium, Low performers).
β‘ CI/CD Pipeline Health β Workflow performance and reliability
Deep dive into your CI/CD pipelines:
- π Workflow success rates and trends
- β±οΈ Average run times with P95/P99 latencies
- π¨ Failure analysis and common error patterns
- π Per-repository and per-workflow breakdowns
- π Queue times and runner utilization
π° Cost Optimization β Runner costs and savings opportunities
Understand and optimize your GitHub Actions spending:
- π΅ Total costs by runner type (GitHub-hosted vs self-hosted)
- π Cost breakdown by repository, workflow, and OS
- π― Actionable recommendations for cost savings
- π Spending trends and projections
- β‘ Efficiency metrics (cost per workflow, cost per minute)
π Security & Compliance β Audit-ready compliance reports
Stay compliant and secure:
- β Compliance framework coverage (SOC2, ISO27001, HIPAA, PCI-DSS)
- π Secret scanning status and alerts
- π‘οΈ Code scanning findings
- π Branch protection rule compliance
- π GHAS (GitHub Advanced Security) feature adoption
π DevOps Maturity β Organizational capability assessment
Assess your DevOps maturity level:
- π Overall maturity score with visual gauge
- π― Category scores (CI/CD, Testing, Security, Monitoring, etc.)
- π Improvement recommendations prioritized by impact
- π Benchmark against industry standards
- π Actionable roadmap for advancement
π‘ How to generate these dashboards:
# Ask Copilot in natural language: "Generate DevOps reports for the last 30 days" # Or invoke the tool directly: #generate_devops_reports --timeframe 30dReports are saved to timestamped folders as standalone HTML files β share them with your team or embed in internal wikis!
ActionsPulse is published to the official MCP Registry as io.github.tsviz/actions-pulse.
π Web UI (Recommended) β Use the MCP Registry UI for 1-click installation into VS Code or Cursor:
- Go to vemonet.github.io/mcp-registry
- Search for "actions-pulse"
- Click Install β Select your client (VS Code, Cursor)
- Configure environment variables when prompted
Manual Docker Setup β Or follow the steps below to configure manually.
- β Docker installed
- β GitHub Personal Access Token (fine-grained recommended)
- β VS Code with GitHub Copilot
1. Create a Fine-Grained Personal Access Token
-
Go to GitHub Settings β Developer Settings β Personal Access Tokens β Fine-grained tokens
-
Click Generate new token
-
Configure basic settings:
- Token name:
actions-pulse-mcp - Expiration: 90 days (or per your security policy)
- Resource owner: Select your organization
- Repository access: All repositories
- Token name:
-
Set Repository permissions:
Permission Access Required Purpose Actions Read β Yes Workflow runs, cache usage Administration Read β Yes Billing data, repo settings Contents Read β Yes Read config files from devops-config repo Custom properties Read β Yes Read custom property values on repositories Deployments Read β Yes Deployment frequency, environments (DORA) Discussions Read πΆ Optional Community engagement metrics Environments Read β Yes Environment protection rules Issues Read β Yes Issue metrics, resolution times (DORA) Merge queues Read πΆ Optional Merge queue adoption and wait times Metadata Read β Yes Basic repo info (auto-granted) Pull requests Read β Yes PR metrics, lead time, review times (DORA) -
Set Organization permissions:
Permission Access Required Purpose Custom properties Read β Yes Read property definitions/schemas at org level Custom properties for organizations Read β Yes Read property values assigned to repositories -
Set Organization permissions (continued):
Permission Access Required Purpose Members Read πΆ Optional Team membership for productivity metrics Self-hosted runners Read πΆ Optional Runner utilization metrics Administration Read β Yes Org billing and settings -
Optional permissions (for compliance features, requires GitHub Advanced Security):
Permission Access Required Purpose Secret scanning alerts Read β Optional Compliance audit reports Code scanning alerts Read β Optional Compliance audit reports -
Click Generate token and save it securely
Add to your ~/.mcp.env:
GITHUB_TOKEN=ghp_your_fine_grained_token_hereπ mcp.json with env-file
Add to VS Code's MCP settings (~/.vscode/mcp.json or workspace .vscode/mcp.json):
π mcp.json with inline env vars
{
"servers": {
"actions-pulse": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "GITHUB_TOKEN=ghp_your_token",
"-e", "GITHUB_ORG=your-org-name",
"ghcr.io/tsviz/actions-pulse:latest"
],
"type": "stdio"
}
}
}| Variable | Required | Description |
|---|---|---|
GITHUB_TOKEN |
β Yes | Personal Access Token (fine-grained recommended) |
GITHUB_ORG |
β Yes | Target GitHub organization to monitor (e.g., my-company). All API calls use this org. |
DEFAULT_REPO_FILTER |
β No | Comma-separated list of repos to monitor (e.g., my-app,my-api). See precedence rules below. |
GITHUB_API_URL |
β No | Custom API URL (default: https://api.github.com) |
GITHUB_ENTERPRISE_SLUG |
β No | Enterprise slug for enhanced features |
GITHUB_ENTERPRISE_URL |
β No | GitHub Enterprise Server API URL |
DEVOPS_CONFIG_REPO |
β No | Config repo name (default: devops-config) |
DEVOPS_CONFIG_PATH |
β No | Local path to config files (for mounted configs) |
When determining which repositories to query, ActionsPulse uses this precedence (highest to lowest):
| Priority | Source | Applies To | Example |
|---|---|---|---|
| 1οΈβ£ | repo_filter parameter in tool call |
Individual tools | get_dora_metrics(repo_filter: "app1,app2") |
| 2οΈβ£ | inventory.yaml repositories |
generate_devops_reports |
Repos defined in config file |
| 3οΈβ£ | DEFAULT_REPO_FILTER env var |
All tools (fallback) | DEFAULT_REPO_FILTER=my-app,my-api |
| 4οΈβ£ | All org repos via GitHub API | All tools | (default if nothing set) |
Tip: For quick setup without a config repo, just set DEFAULT_REPO_FILTER in the MCP Registry installer. For richer metadata (team, tier, compliance tags), use inventory.yaml.
By default, ActionsPulse queries ALL repositories in your organization via the GitHub API β no configuration files are required. You can filter repos dynamically using tool parameters like repo_filter.
The optional configuration files let you define persistent metadata (teams, tiers, compliance tags) for filtering and reporting. There are two approaches:
Create a devops-config repository in your organization with the following structure:
devops-config/
βββ devops-config.yaml # Main configuration
βββ repositories/
β βββ inventory.yaml # List of repos to monitor
βββ policies/
β βββ workflow-policies.yaml # CI/CD standards
β βββ security-policies.yaml # Security requirements
βββ dashboards/ # Dashboard configs
The MCP server will automatically discover and load from {org}/devops-config repo.
Mount a local config directory into the Docker container:
π mcp.json with config volume
{
"servers": {
"actions-pulse": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"--env-file", "/path/to/.mcp.env",
"-e", "GITHUB_ORG=your-org-name",
"-e", "DEVOPS_CONFIG_PATH=/app/config",
"-v", "/path/to/your/config:/app/config:ro",
"ghcr.io/tsviz/actions-pulse:latest"
],
"type": "stdio"
}
}
}π inventory.yaml
Create repositories/inventory.yaml to define which repos to monitor:
apiVersion: actions-pulse/v1
kind: RepositoryInventory
metadata:
name: my-inventory
version: "1.0.0"
description: "Repositories to monitor"
spec:
discovery:
enabled: false # Only monitor explicit repos
repositories:
- name: my-app
team: platform
tier: tier-1
compliance: [SOC2]
tags: [java, production]
- name: my-api
team: backend
tier: tier-2
tags: [nodejs, staging]| Tier | Priority | Uptime | Response Time | Use Case |
|---|---|---|---|---|
| tier-1 | π΄ Critical | 99.9% | < 15 min | Production, customer-facing |
| tier-2 | π‘ Standard | 99% | < 1 hour | Internal tools, staging |
| tier-3 | π’ Low | Best effort | < 24 hours | Demos, prototypes |
See docs/ARCHITECTURE.md for complete tier definitions, compliance requirements, and alerting behavior.
After updating mcp.json, restart VS Code to pick up the new MCP server. You can verify the server is running by opening GitHub Copilot Chat and asking about your DevOps metrics.
π Usage & Performance Metrics
Analyze GitHub Actions usage and billing data (basic).
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- timeframe: '24h' | '7d' | '30d'
- breakdown: 'repository' | 'workflow' | 'runner_type'
GitHub Insights-style detailed usage metrics with per-workflow, per-job, per-repo, per-OS, and per-runner breakdowns.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- timeframe: '7d' | '30d' | '90d'
- repo_filter: Comma-separated list of repositories (optional)
GitHub Insights-style performance metrics with avg run time, queue time, and failure rates per workflow/job/repo/OS/runner.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- timeframe: '7d' | '30d' | '90d'
- repo_filter: Comma-separated list of repositories (optional)
Get workflow performance analytics with P95/P99 latencies (basic).
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- repo_name: Specific repository (optional)
- workflow_id: Specific workflow (optional)
- timeframe: '1h' | '6h' | '24h' | '7d'
π Runners & Cost Optimization
Enhanced Cost Detection: Reports now use a three-tier system for accurate runner cost calculation:
- π― API Detection - Uses hosted runners API for exact machine specs
- π·οΈ Label Detection - Pattern matching against runner catalog
- π Default Pricing - OS-based fallback
See Configuration Guide for details.
Analyze runner utilization and efficiency.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- runner_type: 'self-hosted' | 'github-hosted' | 'all'
- include_costs: Include cost analysis (default: true)
Analyze Actions cache usage and efficiency.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- repo_name: Specific repository (optional)
- timeframe: '24h' | '7d' | '30d'
Generate actionable cost optimization recommendations.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- include_recommendations: Include actionable recommendations (default: true)
- target_savings_percentage: Target savings (5-50, default: 20)
π Workflow Insights & Team Productivity
Get workflow insights with bottleneck detection.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- repo_name: Repository name (required)
- workflow_name: Workflow name or filename (required)
- analyze_dependencies: Analyze job dependencies (default: true)
Analyze team productivity based on Actions and commit data.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- team_slug: Team slug (optional)
- include_individuals: Include individual metrics (default: false)
- timeframe: '7d' | '30d' | '90d'
Generate compliance and security audit report.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- compliance_framework: 'SOC2' | 'ISO27001' | 'HIPAA' | 'PCI-DSS' | 'CUSTOM'
- include_secrets_scan: Include secret scanning (default: true, requires GHAS)
π DORA Metrics
Get DORA metrics (Deployment Frequency, Lead Time, Change Failure Rate, Time to Restore).
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- timeframe: '7d' | '30d' | '90d'
- repo_filter: Comma-separated list of repositories (optional)
DORA metrics using actual GitHub Deployments API for maximum accuracy.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- timeframe: '7d' | '30d' | '90d'
- repo_filter: Comma-separated list of repositories (optional)
Pull request metrics including lead time, merge rates, and size distribution.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- timeframe: '7d' | '30d' | '90d'
- repo_name: Specific repository (optional)
- include_stale: Include stale PR analysis (optional)
Issue metrics including time to close, label distribution, and backlog health.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- timeframe: '7d' | '30d' | '90d'
- repo_name: Specific repository (optional)
- label_filter: Filter by label (optional)
Deployment metrics from GitHub Deployments API.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- timeframe: '7d' | '30d' | '90d'
- environment: Filter by environment (optional)
- repo_filter: Comma-separated list of repositories (optional)
Analyze GitHub environment configurations including protection rules.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- repo_filter: Comma-separated list of repositories (optional)
GitHub Discussions metrics including answer rates and engagement.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- repo_name: Specific repository (optional)
- timeframe: '7d' | '30d' | '90d'
Merge queue usage and adoption across repositories.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- repo_name: Specific repository (optional)
π Custom Properties Tools
List all custom property definitions for an organization.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
Analyze custom property usage and coverage across repositories.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
Find repositories by custom property value.
Parameters:
- org_name: Organization name (optional if GITHUB_ORG is set)
- property_name: Custom property name (e.g., team, tier, compliance)
- property_value: Property value to filter by (optional)
βοΈ Enterprise configuration
If you have GitHub Enterprise, you can enable enhanced features by adding:
GITHUB_ENTERPRISE_SLUG=your-enterprise-slugThis enables:
- Cross-organization billing aggregation
- Enterprise-wide runner pools
- Consolidated audit logs
π οΈ Build and run commands
npm install
npm run build
docker build -t actions-pulse:local .export GITHUB_TOKEN=ghp_your_token
export GITHUB_ORG=your-org
npm startYou can automate DevOps report generation using GitHub Copilot CLI with ActionsPulse MCP server in a GitHub Actions workflow. This enables scheduled weekly reports, on-demand analysis, and automatic issue creation with insights.
- Install Copilot CLI in the workflow runner
- Configure ActionsPulse MCP with your GitHub token
- Run Copilot with a prompt to generate reports using MCP tools
- Create issues with the generated report
See .github/workflows/weekly-devops-report.yml for a complete working example.
π Key workflow steps
- name: Setup MCP config
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_DEVOPS }}
run: |
mkdir -p ~/.copilot
printf '%s\n' '{
"mcpServers": {
"actions-pulse": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "GITHUB_TOKEN='"$GITHUB_TOKEN"'", "-e", "GITHUB_ORG=your-org", "ghcr.io/tsviz/actions-pulse:latest"],
"tools": ["*"]
}
}
}' > ~/.copilot/mcp-config.json
- name: Generate DevOps Report
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_DEVOPS }}
GH_TOKEN: ${{ secrets.GH_PAT_DEVOPS }}
run: |
copilot --yolo \
--disable-builtin-mcps \
--additional-mcp-config @$HOME/.copilot/mcp-config.json \
--prompt "Use the actions-pulse MCP tools to generate a DevOps report..."| Flag | Description |
|---|---|
--yolo |
Auto-approve all tool calls (no confirmation prompts) |
--disable-builtin-mcps |
Disable built-in MCP servers (use only custom ones) |
--additional-mcp-config @<file> |
Load MCP server config from file (use $HOME not ~) |
--prompt "<text>" |
The prompt for Copilot to execute |
- Use
$HOMEinstead of~in the config path β tilde is not expanded in@filearguments - Embed the token in args β the
envblock in MCP config doesn't pass variables to Docker - Include
"tools": ["*"]in your MCP config β this field is required
| Document | Description |
|---|---|
| Quick Start | Get up and running in 5 minutes |
| Configuration Guide | Complete configuration reference |
| Architecture | System design and tier definitions |
Ready-to-use configuration examples are available in the examples/ directory:
| File | Description |
|---|---|
| mcp-docker.json | VS Code MCP config using Docker |
| mcp-local.json | VS Code MCP config for local development |
| mcp-envfile.json | VS Code MCP config using environment file |
| .env.example | Environment variables template |
| inventory.yaml | Repository inventory example |
| devops-config.yaml | DevOps observer configuration |
| docker-compose.yml | Docker Compose deployment |
MIT
{ "servers": { "actions-pulse": { "command": "docker", "args": [ "run", "-i", "--rm", "--env-file", "/path/to/.mcp.env", "-e", "GITHUB_ORG=your-org-name", "ghcr.io/tsviz/actions-pulse:latest" ], "type": "stdio" } } }