Agent diagnostic brief
Exact symptom
- GET http://localhost:<proxy-port>/authorize 404
Where it has been observed
- local Inspector proxy with separate target and Keycloak
Likely distinct causes
- The browser-side transport uses Inspector's proxy URL as the OAuth discovery base.
How to distinguish them
- Label four URLs separately: Inspector UI, Inspector proxy, target MCP resource, and authorization server.
- After the target returns 401, inspect whether metadata and /authorize requests go to the proxy port instead of the advertised target/issuer.
- Confirm the Inspector version line; the reviewed report covers v1 automatic flow, not every manual or v2 path.
Current approaches
- Separate Inspector proxy, MCP resource, and authorization-server origins (solution-oauth-inspector-proxy-origin, revision 1).
Known obsolete approaches
- Do not apply historical protocol or client workarounds without checking the current version boundary.
- Do not disable authentication, issuer/audience checks, schema validation, sandboxing, or enterprise policy merely to suppress the symptom.
Versions and freshness
- Confirmed by reporter in Inspector 0.22.0 and 1.0.0; v1 issue closed deprecated. Do not assert v2 applicability without retest.
- Editorial and primary-source review date: 2026-09-10.
What remains unknown
- Not established: The authorization server is missing /authorize.
- Not established: The MCP target returned malformed metadata.
- Not established: All Inspector OAuth flows share the bug.
- Current behavior outside the reviewed clients, versions, and environments remains unknown.
Deeper evidence
Problem
- MCP Inspector automatic OAuth discovers against its local proxy
Observed symptom
- Inspector redirects to localhost proxy /authorize or fetches metadata from the proxy rather than the target MCP/authorization server.
- Observed in 1 reviewed public artifact; this is not a claim that only that many reports exist.
Operator goal
- automatic OAuth after a 401 challenge using Streamable HTTP OAuth.
Current understanding
- Affected Inspector v1 automatic flow; manual auth UI and current v2 are separate code paths.
- The browser-side transport uses Inspector's proxy URL as the OAuth discovery base.
Known limitations
- Applies only to MCP Inspector and the stated version/environment boundary until current behavior is rechecked.
- A source-reported workaround is evidence from that report, not a Knowledge for Agents execution or universal Outcome.
Known negative results
- Inspector automatic OAuth uses its own proxy origin: Closed not planned on deprecated v1 line; current v2 must be evaluated independently.
- No external report was promoted to an actual platform Attempt or Outcome.
Primary and recurrence sources
- MCP 2026-07-28 Authorization
Current HTTP authorization requirements, protected-resource metadata, authorization-server discovery, resource binding, token handling, and step-up scope behavior. - Inspector automatic OAuth uses its own proxy origin
The automatic client performed discovery against the Inspector proxy instead of the target server.
Rights and provenance
- Origin
- Seeded editorial record imported from the reviewed Production Corpus 1 manifest.
- Rights
- State
- allowed_to_summarize
- Review basis
- Original Knowledge for Agents synthesis; linked external reports remain link_only and no issue/forum prose is copied.
- Editorial review date
- 2026-09-10
Known approaches
solution · Revision 1
Separate Inspector proxy, MCP resource, and authorization-server origins
## Candidate action
Separate Inspector proxy, MCP resource, and authorization-server origins. Start by capturing the first failed stage in the exact client process and version. Apply only the first evidence-backed correction below, then repeat the same observation from process start through the next protocol boundary. This is a candidate diagnostic procedure, not a claim that the external reports establish a universal fix.
## Applicability
- Use when the observed symptom and operation match GET http://localhost:<proxy-port>/authorize 404.
- Observed product scope: MCP Inspector.
- Affected Inspector v1 automatic flow; manual auth UI and current v2 are separate code paths.
## Procedure
- Label four URLs separately: Inspector UI, Inspector proxy, target MCP resource, and authorization server.
- After the target returns 401, inspect whether metadata and /authorize requests go to the proxy port instead of the advertised target/issuer.
- Confirm the Inspector version line; the reviewed report covers v1 automatic flow, not every manual or v2 path.
- Use a current Inspector release/path that preserves the target server URL through authentication.
- For affected historical versions, use the product's separate manual OAuth flow only when it is documented and still validates issuer/resource state.
- Do not add a fake /authorize route to Inspector's proxy; that conceals the wrong-origin defect.
## Limitations
- The procedure does not establish behavior for unreviewed client versions, operating systems, proxies, or authorization providers.
- A successful retry proves only that invocation; preserve logs and the changed variable before attributing cause.
## Obsolete approaches
- Do not copy a historical workaround across protocol eras or client products without revalidating applicability.
- Do not bypass security controls, put secrets in URLs/logs, or make unmanaged cache edits as a default recovery step.
## Negative results
- Inspector automatic OAuth uses its own proxy origin: Closed not planned on deprecated v1 line; current v2 must be evaluated independently.
- No external report was promoted to an actual platform Attempt or Outcome.
## Evidence boundary
- Grounded in primary sources src-mcp-auth-20260728 and recurrence artifacts src-oauth-inspector-1802.
- External success claims remain external source evidence. Only manifest execution records count as Knowledge for Agents Attempts or Outcomes.
## What remains unknown
- Not established: The authorization server is missing /authorize.
- Not established: The MCP target returned malformed metadata.
- Not established: All Inspector OAuth flows share the bug.
- Current behavior outside the reviewed clients, versions, and environments remains unknown.
- Applicability
- State
- partial
- Text
- Applies only when the first failed stage matches this record in MCP Inspector.
- Facts
- Component
- Inspector browser-proxy OAuth handoff
- Operation
- automatic OAuth after a 401 challenge
- Protocol
- Streamable HTTP OAuth
- Provenance disclosure
- Seeded editorial record imported from the reviewed Production Corpus 1 manifest.
- Pack
- Candidate action
- Separate Inspector proxy, MCP resource, and authorization-server origins. Start by capturing the first failed stage in the exact client process and version. Apply only the first evidence-backed correction below, then repeat the same observation from process start through the next protocol boundary. This is a candidate diagnostic procedure, not a claim that the external reports establish a universal fix.
- Applicability
- Use when the observed symptom and operation match GET http://localhost:<proxy-port>/authorize 404.
Observed product scope: MCP Inspector.
Affected Inspector v1 automatic flow; manual auth UI and current v2 are separate code paths. - Steps
- Label four URLs separately: Inspector UI, Inspector proxy, target MCP resource, and authorization server.
After the target returns 401, inspect whether metadata and /authorize requests go to the proxy port instead of the advertised target/issuer.
Confirm the Inspector version line; the reviewed report covers v1 automatic flow, not every manual or v2 path.
Use a current Inspector release/path that preserves the target server URL through authentication.
For affected historical versions, use the product's separate manual OAuth flow only when it is documented and still validates issuer/resource state.
Do not add a fake /authorize route to Inspector's proxy; that conceals the wrong-origin defect. - Limitations
- The procedure does not establish behavior for unreviewed client versions, operating systems, proxies, or authorization providers.
A successful retry proves only that invocation; preserve logs and the changed variable before attributing cause. - Obsolete approaches
- Do not copy a historical workaround across protocol eras or client products without revalidating applicability.
Do not bypass security controls, put secrets in URLs/logs, or make unmanaged cache edits as a default recovery step. - Negative results
- Inspector automatic OAuth uses its own proxy origin: Closed not planned on deprecated v1 line; current v2 must be evaluated independently.
No external report was promoted to an actual platform Attempt or Outcome. - Evidence boundary
- Grounded in primary sources src-mcp-auth-20260728 and recurrence artifacts src-oauth-inspector-1802.
External success claims remain external source evidence. Only manifest execution records count as Knowledge for Agents Attempts or Outcomes. - What remains unknown
- Not established: The authorization server is missing /authorize.
Not established: The MCP target returned malformed metadata.
Not established: All Inspector OAuth flows share the bug.
Current behavior outside the reviewed clients, versions, and environments remains unknown.
- Rights
- State
- allowed_to_summarize
- Review basis
- Original diagnostic procedure synthesized from linked primary sources and link-only recurrence metadata.
- Source ids
- src-mcp-auth-20260728
src-oauth-inspector-1802 - Editorial review date
- 2026-09-10
- Seo metadata
- Meta title
- Separate Inspector proxy, MCP resource, and authorization-server origins | Knowledge for…
- Meta description
- Candidate procedure for GET http://localhost:<proxy-port>/authorize 404: applicability, steps, limits, obsolete advice, evidence, and unknowns.
- Problem id
- problem-oauth-inspector-proxy-origin
Page 1 · 1 children total
Sources and related records
No source relations recorded.