claude-code - 💡(How to fix) Fix Feature request: deep-link to specific Cowork scheduled task + propagate task identity to MCP tool calls [1 participants]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54688Fetched 2026-04-30 06:38:46
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Two related capabilities that would unlock observability and external integration for Cowork scheduled tasks:

  1. Deep link to a specific scheduled task, e.g. claude://cowork/scheduled/{taskId} — opens Claude Desktop, navigates Cowork to the Scheduled tab, and selects/scrolls-to the named task.
  2. Propagate the originating scheduled task identity to MCP tool calls — when an MCP tool is invoked during a scheduled task run, the tool should be able to determine (a) that it's running inside a scheduled task, and (b) which one (a stable task ID, ideally the task name as well).

Root Cause

Two related capabilities that would unlock observability and external integration for Cowork scheduled tasks:

  1. Deep link to a specific scheduled task, e.g. claude://cowork/scheduled/{taskId} — opens Claude Desktop, navigates Cowork to the Scheduled tab, and selects/scrolls-to the named task.
  2. Propagate the originating scheduled task identity to MCP tool calls — when an MCP tool is invoked during a scheduled task run, the tool should be able to determine (a) that it's running inside a scheduled task, and (b) which one (a stable task ID, ideally the task name as well).

Fix Action

Fix / Workaround

Workarounds today

Code Example

{
     "scheduledTask": {
       "id": "task_abc123",
       "name": "Morning brief",
       "scheduleExpression": "0 7 * * *"
     }
   }
RAW_BUFFERClick to expand / collapse

Summary

Two related capabilities that would unlock observability and external integration for Cowork scheduled tasks:

  1. Deep link to a specific scheduled task, e.g. claude://cowork/scheduled/{taskId} — opens Claude Desktop, navigates Cowork to the Scheduled tab, and selects/scrolls-to the named task.
  2. Propagate the originating scheduled task identity to MCP tool calls — when an MCP tool is invoked during a scheduled task run, the tool should be able to determine (a) that it's running inside a scheduled task, and (b) which one (a stable task ID, ideally the task name as well).

Use case

We're Chronity Connect — an MCP server providing AI compliance tooling for RICS-regulated UK surveying firms. We run on Cloudflare Workers and our MCP tools are invoked from Cowork by surveyors at customer firms.

We're shipping a notify_me MCP tool that emails users when their scheduled tasks finish (a common request: "run my morning brief at 7am and email me when done"). Today there is no way for the resulting email to:

  • Link back to the scheduled task that triggered it
  • Reliably identify which scheduled task triggered it without explicitly asking Claude to pass the name as a tool parameter (which works but is fragile and round-trips through the model)

This becomes a more general problem for any MCP server that wants to:

  • Provide observability dashboards for customer scheduled-task runs
  • Audit / log compliance-relevant work performed by scheduled tasks
  • Allow users to navigate from external surfaces (email, Slack, etc.) back to the source task in Cowork

Proposed shape

  1. URL scheme addition: claude://cowork/scheduled/{taskId} — opens Cowork to the Scheduled tab focused on the task, where {taskId} is a stable opaque ID surfaced to the user (visible in the task UI, copyable to clipboard).

  2. MCP request context propagation: when Claude invokes an MCP tool during a scheduled task run, include a structured context field in the request _meta block per the MCP spec, along these lines:

    {
      "scheduledTask": {
        "id": "task_abc123",
        "name": "Morning brief",
        "scheduleExpression": "0 7 * * *"
      }
    }

Workarounds today

We can ask Claude to pass the task name as a tool parameter — works but model-mediated and Claude has to know to do it. We can mirror task output into our own portal and link there from email. Neither closes the loop with Cowork.

Why this matters beyond us

Any MCP server building integrations with Cowork — observability, compliance, audit, productivity, notifications — will hit this same wall. Solving it once at the platform level unlocks an ecosystem of Cowork-aware MCP integrations.

Happy to share more detail on the Chronity Connect implementation if useful.

extent analysis

TL;DR

Implement a URL scheme addition and propagate the originating scheduled task identity to MCP tool calls to enable deep linking and observability.

Guidance

  • Consider adding a claude://cowork/scheduled/{taskId} URL scheme to open Cowork to the Scheduled tab focused on the task.
  • Propagate the scheduled task context to MCP tools using a structured _meta block in the request, including id, name, and scheduleExpression.
  • Evaluate the feasibility of passing the task name as a tool parameter as a temporary workaround.
  • Assess the potential for mirroring task output into a custom portal and linking to it from email notifications.

Example

{
  "scheduledTask": {
    "id": "task_abc123",
    "name": "Morning brief",
    "scheduleExpression": "0 7 * * *"
  }
}

Notes

The proposed solution requires modifications to the Claude platform and MCP spec. The workarounds mentioned may not be ideal but can provide temporary solutions.

Recommendation

Apply the proposed URL scheme addition and context propagation workaround to enable deep linking and observability, as it addresses the root cause of the issue and provides a more robust solution.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Feature request: deep-link to specific Cowork scheduled task + propagate task identity to MCP tool calls [1 participants]