MCPJam / MCPJam/inspector

[FEATURE] Support for Protected Resource Metadata Discovery Requirements

Open
#1,410 3 comments 0 reactions 1 assignee Claimed by @matteo8p View on GitHub
enhancement
Dominant language
TypeScript
Stars
2.2k
Forks
283
Avg merge
11h 47m
Merged PRs (30d)
737

Description

# Feature

Support for Protected Resource Metadata Discovery Requirements [1]. If the tool returns an HTTP 401 Unauthorized response, for example:

```
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer resource_metadata="https://mcp.example.com/.well-known/oauth-protected-resource",
scope="files:read"
```
The MCP client should follow the Authorization Server Metadata Discovery process [2] to retrieve the resource_metadata, and then redirect to the Identity Provider to initiate the step-up process.

Currently, a 401 error is shown in the MCP JAM console.

[1] https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization#protected-resource-metadata-discovery-requirements
[2] https://modelcontextprotocol.io/specification/2025-11-25/basic/authorization#authorization-server-metadata-discovery

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.