Skip to main content
Glama

GitHub Actions MCP Server

by onemarc
get-workflow-run.ts586 B
import { Octokit } from '@octokit/rest'; import { ToolHandler } from '../common/types.js'; import { WorkflowError } from '../common/errors.js'; const handleGetWorkflowRun: ToolHandler = async (args, octokit: Octokit) => { const { owner, repo, runId } = args; try { const response = await octokit.rest.actions.getWorkflowRun({ owner, repo, run_id: runId }); return response.data; } catch (error: any) { throw new WorkflowError(`Failed to get workflow run: ${error.message}`, error.response?.data); } }; export default handleGetWorkflowRun;

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/onemarc/github-actions-mcp-server'

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