[BUG] sub-agents can't use dynamic resources

Resolved 💬 3 comments Opened Jul 25, 2025 by SamPeng87 Closed Jan 4, 2026

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.60
  • Operating System: MacOS

Bug Description

if I use some dynamic resources in sub agent.that can't work.that is my self mcp

⏺ requirement-decomposer(Decompose requirement issue #48)
  ⎿  readMcpResource(Read resource "gitlab://issues/48" from server "gitlab-plan")
     Error: Server "gitlab-plan" not found. Available servers:
  ⎿  No (tell Claude what to do differently)

> readMcpResource gitlab://issues/48

⏺ I'll read the GitLab issue #48 for you.

⏺ readMcpResource(Read resource "gitlab://issues/48" from server "gitlab-plan")
  ⎿  {                             
       "contents": [
         {
     … +10 lines (ctrl+r to expand)
  ⎿  Interrupted by user

Steps to Reproduce

Expected Behavior

sub agents work with dynamic resources is fine

Actual Behavior

sub agents can't find scheme of dynamic resources.

Additional Context

I don't test with static resources

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗