Title: Proposal: support MCP progress and Tasks for long-running agent tools · Issue #294 · devframes/devframe · GitHub
Open Graph Title: Proposal: support MCP progress and Tasks for long-running agent tools · Issue #294 · devframes/devframe
X Title: Proposal: support MCP progress and Tasks for long-running agent tools · Issue #294 · devframes/devframe
Description: Context Devframe exposes agent actions as MCP tools through ctx.agent.registerTool and agent-enabled RPC functions. Some development actions can take long enough that a regular silent tools/call is not a good experience. MCP defines two ...
Open Graph Description: Context Devframe exposes agent actions as MCP tools through ctx.agent.registerTool and agent-enabled RPC functions. Some development actions can take long enough that a regular silent tools/call is...
X Description: Context Devframe exposes agent actions as MCP tools through ctx.agent.registerTool and agent-enabled RPC functions. Some development actions can take long enough that a regular silent tools/call is...
Opengraph URL: https://github.com/devframes/devframe/issues/294
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Proposal: support MCP progress and Tasks for long-running agent tools","articleBody":"## Context\n\nDevframe exposes agent actions as MCP tools through `ctx.agent.registerTool` and agent-enabled RPC functions.\n\nSome development actions can take long enough that a regular silent `tools/call` is not a good experience. MCP defines two complementary mechanisms for these operations:\n\n- [Progress](https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/progress) reports updates while the original request remains open.\n- The official [Tasks extension](https://modelcontextprotocol.io/extensions/tasks/overview) lets long-running work continue asynchronously through a durable task handle.\n\nProgress fits operations that remain within one request. Tasks fit work that may outlive the request or connection, require polling or cancellation, or pause for additional input.\n\n## Where this would help\n\nA build or test tool may take 30–60 seconds. Progress would let the client show stages such as dependency analysis, compilation, and test execution instead of leaving the agent with a silent pending call.\n\nA full workspace build, codebase indexing operation, profiling session, or large test suite may take several minutes. Returning a task would let the agent start the work, continue with something else, reconnect if needed, poll its status, cancel it, and retrieve the final result later.\n\nTasks would also help workflows that pause for input or approval before continuing.\n\n## Question for maintainers\n\nShould Devframe support MCP progress and the Tasks extension for long-running agent tools?\n\nThis would extend the agent-native surface in the same spirit as the resource lifecycle work in [#292](https://github.com/devframes/devframe/pull/292), while following the standard MCP protocols rather than introducing Devframe-specific conventions.\n\nIf this direction fits the project, I would be happy to work on the implementation in a follow-up PR.","author":{"url":"https://github.com/dvcolomban","@type":"Person","name":"dvcolomban"},"datePublished":"2026-08-25T18:50:03Z","url":"https://github.com/devframes/devframe/issues/294"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:739404d4-f5b8-418e-d97d-5dcd80111c2e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB0C:D16D6:FA863D:158B051:6AFB67A8 |
| html-safe-nonce | 04fb2c5ab4d88e96492aeb7023e74095f45b16c7fe3a9ee78d3b1309bcd9f64b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjBDOkQxNkQ2OkZBODYzRDoxNThCMDUxOjZBRkI2N0E4IiwidmlzaXRvcl9pZCI6IjU2NDUxODMyNDkwMzk0NTIwNzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 62a4de92b7be33fbf09e2d45cee5ff45d0905be4f75aa5078ed387c674f59243 |
| hovercard-subject-tag | issue:5249407955 |
| 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/devframes/devframe/294/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1e7672a82e74566b9a34871d71f8d6855dd692f08d18633d967f85e3ffad5e5a/devframes/devframe/issues/294 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e7672a82e74566b9a34871d71f8d6855dd692f08d18633d967f85e3ffad5e5a/devframes/devframe/issues/294 |
| og:image:alt | Context Devframe exposes agent actions as MCP tools through ctx.agent.registerTool and agent-enabled RPC functions. Some development actions can take long enough that a regular silent tools/call is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dvcolomban |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| turbo-cache-control | no-preview |
| go-import | github.com/devframes/devframe git https://github.com/devframes/devframe.git |
| octolytics-dimension-user_id | 279879373 |
| octolytics-dimension-user_login | devframes |
| octolytics-dimension-repository_id | 1231722386 |
| octolytics-dimension-repository_nwo | devframes/devframe |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1231722386 |
| octolytics-dimension-repository_network_root_nwo | devframes/devframe |
| 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 | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width