A TypeScript-based Model Context Protocol (MCP) server designed for GitHub Actions integration.
This server provides tools for interacting with GitHub Actions, including fetching available actions, retrieving detailed action information, triggering workflow dispatches, and fetching repository releases.
get_github_actions
: Fetches available GitHub Actions for a repository.owner
, repo
token
Returns: JSON data with workflow details.
get_github_action
: Retrieves detailed information about a specific GitHub Action.
owner
, repo
path
, ref
, token
Returns: Detailed action information.
trigger_github_action
: Triggers a GitHub workflow.
owner
, repo
, workflow_id
ref
, inputs
, token
Returns: Workflow run information.
get_github_release
: Fetches the latest 2 releases from a GitHub repository.
owner
, repo
token
{
"mcpServers": {
"github-action-trigger-mcp": {
"command": "npx",
"args": [
"-y",
"@nextdrive/github-action-trigger-mcp"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your_github_token_here"
}
}
}
}
npm install -g @nextdrive/github-action-trigger-mcp
{
"mcpServers": {
"github-action-trigger-mcp": {
"command": "@nextdrive/github-action-trigger-mcp",
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your_github_token_here"
}
}
}
}
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your_github_token_here"
}
export GITHUB_TOKEN=your_github_token
Edit ~/.nextdrive-github-action-trigger-mcp/config.json
:
{
"githubToken": "your_github_token"
}
npm install
npm run build
npm run inspector
npm login
npm run build
npm publish --access public
{
"owner": "username-or-org",
"repo": "repository-name"
}
{
"owner": "actions",
"repo": "checkout",
"ref": "v4"
}
{
"owner": "username-or-org",
"repo": "repository-name",
"workflow_id": "ci.yml",
"inputs": {
"deploy_environment": "production",
"debug_enabled": "true"
}
}
{
"owner": "username-or-org",
"repo": "repository-name"
}
No description, website, or topics provided.