-
Notifications
You must be signed in to change notification settings - Fork 846
Closed
Description
Summary
When using GitHub Copilot CLI with the built-in GitHub MCP server tools, attempts to call the job log retrieval tool fail with:
MCP error -32602: unknown tool "get_job_logs"
This happened while trying to debug a failing GitHub Actions workflow run.
Steps to reproduce
- Run
copilot(tested with Copilot CLI v0.0.374 on macOS). - In a repo with GitHub Actions enabled, ask Copilot CLI to fetch failed job logs for a workflow run (e.g. via the GitHub MCP server tool exposed as
github-mcp-server-get_job_logs). - Observe the tool call failure.
Expected behavior
The tool call should return logs (or at least URLs) for the requested job/run.
Actual behavior
Copilot CLI reports:
MCP error -32602: unknown tool "get_job_logs"
Workaround
Use the GitHub CLI directly, e.g.:
GH_PAGER=cat gh run view <run_id> --log-failedAdditional context
This error occurred twice in the same debugging session; other GitHub MCP tools (e.g. listing runs) were working.
Metadata
Metadata
Assignees
Labels
No labels