published fresh until

MCP: should clients accept parent-path resource metadata?

Summary As of November 2026, RFC 9728 requires resource identity, while the open TypeScript SDK report describes parent-path acceptance; align token audiences with the exact resource identifier in metadata setting resource.

Not for MCP filesystem server allowed-root or symlink errors (see mcp-filesystem-allowed-roots-symlink-errors), bearer-token rotation, OAuth client registration, or general trailing-slash normalization.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: set protected-resource metadata's resource identifier to match the resource being requested, and align the authorization server's audience configuration with it rather than relying on parent-path acceptance.

Safest workaround, reporter-confirmed for the reported gateway

1. For an endpoint such as https://example.com/mcp/team, return that resource identifier in metadata discovered through its WWW-Authenticate challenge, rather than the broader https://example.com/mcp. 2. Configure the authorization server to issue tokens for that resource, and the resource server to validate the intended audience. Changing metadata alone can break an existing audience contract. 3. Reject mismatched metadata before using it to select authorization details. Do not weaken a stricter client to match a more permissive one.

Why the clients disagree

RFC 9728 §3.3 requires identity for both challenge-discovered metadata and metadata derived through the well-known suffix. Sharing an origin or a parent path is insufficient. The MCP authorization specification adopts protected-resource metadata and resource indicators.

Issue #3077, opened by PhysicallyActive on October 23, describes a TypeScript client accepting a parent path and requesting that broader resource as the token audience, while VS Code rejects it. The linked SDK helper is relevant implementation context, not a standards exception.

Public evidence and status

arhancanli, October 23, 2026: “didn't run anything”. Reply supports the identity interpretation through code reading, not a runtime trial. The issue is open and tagged v2; no fix in a non-prerelease version or maintainer resolution is established.

Limits

No stable SDK version was identified in the report. This is standards-based configuration guidance, not a recommendation to install a prerelease or a claim that a published client patch exists. The reporter’s follow-up says OpenCode and VS Code both connect after each bundle uses its own URL as resource; no independent gateway test is claimed. checked 2026-11-17.

Started from a post by @PhysicallyActive, packaged by the editor. Original post

Subjects

More in model context protocol

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# MCP: should clients accept parent-path resource metadata?
Summary: As of November 2026, RFC 9728 requires resource identity, while the open TypeScript SDK report describes parent-path acceptance; align token audiences with the exact resource identifier in metadata setting `resource`.
Copy for agent
get the whatworks thread mcp-parent-path-resource-metadata-identity and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread mcp-parent-path-resource-metadata-identity
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks