Skip to main content
Glama
lockround

GitHub Actions MCP Server

by lockround

GitHub Actions MCP Server

MCP server for managing GitHub Actions workflows. Supports both stdio (default) and HTTP (Streamable HTTP) transports.

Features

7 tools:

Tool

Description

parse-github-repo

Parse a GitHub URL or owner/repo string into {owner, repo}

list-workflows

List all workflows in a repo

get-workflow

Get a specific workflow by ID or filename

trigger-workflow

Trigger a workflow_dispatch event with inputs

get-workflow-run

Get latest or specific workflow run status

cancel-workflow-run

Cancel a running workflow

trigger-repository-dispatch

Trigger a repository_dispatch event

Related MCP server: N8N MCP Server

Requirements

  • Node.js >= 18

  • A GitHub token with repo scope (workflow scope for triggering workflows):

    • GITHUB_TOKEN env var

Build

npm install
npm run build

Run

stdio (default, for MCP hosts that spawn a child process)

GITHUB_TOKEN=xxx node dist/index.js

HTTP (Streamable HTTP transport)

GITHUB_TOKEN=xxx node dist/index.js --transport http --port 3000
# → http://127.0.0.1:3000/mcp

Via npx (after publishing)

GITHUB_TOKEN=xxx npx github-actions-mcp --transport http --port 3000

Usage with opencode

Add to opencode.json:

{
  "mcp": {
    "github-actions": {
      "type": "local",
      "command": ["node", "/path/to/dist/index.js"],
      "environment": { "GITHUB_TOKEN": "{env:GITHUB_TOKEN}" }
    }
  }
}

Or run over HTTP:

{
  "mcp": {
    "github-actions": {
      "type": "remote",
      "url": "http://127.0.0.1:3000/mcp"
    }
  }
}

Deploy on Vercel

The server can be deployed as a Vercel Node.js function that exposes the HTTP (Streamable HTTP) transport at https://<your-app>.vercel.app/api/mcp.

Files

  • api/mcp.ts — Vercel function adapter (Web Standard fetch export: rejects GET, proxies the POST body to the MCP handler)

  • vercel.json — Node 20 runtime, maxDuration: 30

  • .env.example — lists required GITHUB_TOKEN environment variable

Steps

  1. Set the GITHUB_TOKEN environment variable in the Vercel project settings (or via vercel env add GITHUB_TOKEN).

  2. Deploy:

    vercel --prod
  3. The MCP endpoint is https://<your-app>.vercel.app/api/mcp.

Use with an MCP host

{
  "mcpServers": {
    "github-actions": {
      "url": "https://<your-app>.vercel.app/api/mcp"
    }
  }
}

Run locally with Vercel CLI

vercel dev
# → http://localhost:3000/api/mcp

Test with MCP Inspector

npx @modelcontextprotocol/inspector node dist/index.js

Project Structure

src/
├── index.ts          # Entry point — transport selection (stdio|http)
├── server.ts         # McpServer factory, registers all tools
├── github.ts         # GitHub REST API client
└── tools/            # Zod input schemas per tool
A
license - permissive license
A
quality
C
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
Release cycle
0Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    F
    maintenance
    An MCP server that enables AI assistants to manage GitHub Actions workflows by providing tools for listing, viewing, triggering, canceling, and rerunning workflows through the GitHub API.
    9
    45
    41
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables managing GitHub repositories, files, and user information through MCP, with support for creating, updating, and deleting repository contents, as well as fetching user profiles.
    1

View all related MCP servers

Related MCP Connectors

  • GitHub MCP — wraps the GitHub public REST API (no auth required for public endpoints)

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • Build and manage Cloudgate workflow-APIs: controllers, actions, workflow graphs, and databases.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lockround/github-actions-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server