Title: Use MCP Tasks for non-blocking GitHub Actions workflow monitoring · Issue #3201 · github/github-mcp-server · GitHub
Open Graph Title: Use MCP Tasks for non-blocking GitHub Actions workflow monitoring · Issue #3201 · github/github-mcp-server
X Title: Use MCP Tasks for non-blocking GitHub Actions workflow monitoring · Issue #3201 · github/github-mcp-server
Description: Describe the feature or problem you’d like to solve GitHub MCP already exposes workflow runs, jobs, and logs. The remaining gap is waiting for CI without making the agent supervise it. Today, an agent must repeatedly poll actions_get or ...
Open Graph Description: Describe the feature or problem you’d like to solve GitHub MCP already exposes workflow runs, jobs, and logs. The remaining gap is waiting for CI without making the agent supervise it. Today, an ag...
X Description: Describe the feature or problem you’d like to solve GitHub MCP already exposes workflow runs, jobs, and logs. The remaining gap is waiting for CI without making the agent supervise it. Today, an ag...
Opengraph URL: https://github.com/github/github-mcp-server/issues/3201
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use MCP Tasks for non-blocking GitHub Actions workflow monitoring","articleBody":"### Describe the feature or problem you’d like to solve\n\nGitHub MCP already exposes workflow runs, jobs, and logs. The remaining gap is waiting for CI without making the agent supervise it.\n\nToday, an agent must repeatedly poll `actions_get` or block on `gh run watch`. Discussion #1088 recommends polling every 15–30 seconds. That keeps the agent occupied with orchestration instead of useful work.\n\nThe 2026-07-28 MCP specification introduced Tasks for long-running asynchronous operations. Workflow monitoring is a natural fit.\n\n### Proposed solution\n\nAdd an Actions operation that waits for a workflow run as an MCP Task:\n\n```json\n{\n \"method\": \"watch_workflow_run\",\n \"owner\": \"github\",\n \"repo\": \"github-mcp-server\",\n \"run_id\": 123456789,\n \"until\": \"completed\"\n}\n```\n\nIt would return immediately with a Task handle:\n\n```json\n{\n \"resultType\": \"task\",\n \"taskId\": \"gh-actions-run-123456789\",\n \"status\": \"working\"\n}\n```\n\nGitHub MCP would own the wait, completing the Task when the run reaches a terminal state. Clients could use `tasks/get` or task subscriptions instead of making the model poll Actions.\n\nThis requires no webhook, tunnel, or inbound connectivity for a local server. On failure, the Task could optionally return failed jobs and relevant log tails using existing Actions capabilities.\n\n### Example prompts or workflows (for tools/toolsets only)\n\n1. “Push this fix and watch CI. If it fails, investigate the failing job.”\n2. Agent pushes → starts workflow Task → CI fails → Task returns failed-job context → agent fixes and pushes again.\n3. “Trigger the deploy workflow and tell me when it finishes.”\n4. “Watch this run; only bring me back in if something fails.”\n\n### Additional context\n\nGitHub MCP already has the Actions data plane. What is missing is the asynchronous waiting primitive.\n\nBefore MCP Tasks, client-driven polling was a reasonable workaround. Tasks now provide a protocol-native lifecycle for this operation.\n\nRelated:\n\n- Discussion #1088 — current workflow iteration guidance relies on polling\n- Issue #1722 — workflow status and log access for agents\n- Issue #924 — job-log access for large workflows\n- [MCP Tasks specification (2026-07-28)](https://modelcontextprotocol.io/specification/2026-07-28/basic/utilities/tasks)\n","author":{"url":"https://github.com/ilyes-i-ben","@type":"Person","name":"ilyes-i-ben"},"datePublished":"2026-09-02T13:53:21Z","url":"https://github.com/github/github-mcp-server/issues/3201"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bd4f76cf-8447-9122-e48d-d40e21c1e7f9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC22:32CBBB:1F995C1:29EF403:6B069914 |
| html-safe-nonce | 735a1b3a50cfccf5ddf1b585cbf901e18a35331dbcc52dab9fce95fb0722f9a3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzIyOjMyQ0JCQjoxRjk5NUMxOjI5RUY0MDM6NkIwNjk5MTQiLCJ2aXNpdG9yX2lkIjoiNzMyMTU0NDcwMTYxNzAxOTE1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 89ba9aa54b26a5c640c65d3a2cd6fe7681ecc06b23bbc3b9220040161abaedd9 |
| hovercard-subject-tag | issue:5324816729 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/github-mcp-server/3201/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6c74ca8d5ac38219641447952465bbb3b584b7a14dd0b1d714d215c1be36ee2a/github/github-mcp-server/issues/3201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6c74ca8d5ac38219641447952465bbb3b584b7a14dd0b1d714d215c1be36ee2a/github/github-mcp-server/issues/3201 |
| og:image:alt | Describe the feature or problem you’d like to solve GitHub MCP already exposes workflow runs, jobs, and logs. The remaining gap is waiting for CI without making the agent supervise it. Today, an ag... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ilyes-i-ben |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| turbo-cache-control | no-preview |
| go-import | github.com/github/github-mcp-server git https://github.com/github/github-mcp-server.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 942771284 |
| octolytics-dimension-repository_nwo | github/github-mcp-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 942771284 |
| octolytics-dimension-repository_network_root_nwo | github/github-mcp-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width