pipedream icon indicating copy to clipboard operation
pipedream copied to clipboard

[BUG]

Open alexmamy opened this issue 9 months ago • 1 comments

BUG: Failed OAuth flow when adding Pipedream Slack MCP to Poke

When attempting to add Pipedream as an MCP server for Slack integration:

EXPECTED BEHAVIOR:

  • Enter MCP server URL (https://mcp.pipedream.net/v2)
  • System redirects to Pipedream for authentication
  • After signing in to Pipedream, connection is established

ACTUAL BEHAVIOR:

  • Enter MCP server URL (https://mcp.pipedream.net/v2)
  • Receive "Invalid MCP server URL" error
  • No redirection to Pipedream authentication page occurs
  • Cannot complete the connection

ADDITIONAL INFO:

  • Pipedream account is verified and active
  • Slack is successfully connected to Pipedream
  • Same setup reportedly worked previously
  • Error occurs immediately without attempting authentication flow

alexmamy avatar Feb 09 '26 13:02 alexmamy

@alexmamy We are also seeing some issues with pipedream mcp . Using the mcp server url from here - https://pipedream.com/docs/connect/mcp/users#

Looks like the PRM with suffix is broken

Command:   authprobe scan --llm-max-tokens=1080 https://mcp.pipedream.net/v2
Scanning:  https://mcp.pipedream.net/v2
Scan time: Feb 10, 2026 21:19:39 UTC
Github:    https://github.com/authprobe/authprobe

Funnel
  [1] MCP probe (401 + WWW-Authenticate)      [+] PASS
        missing WWW-Authenticate/resource_metadata

  [2] MCP initialize + tools/list             [-] SKIP
        initialize -> 401 (non-JSON response) (auth required)

  [3] PRM fetch matrix                        [X] FAIL
        https://mcp.pipedream.net/.well-known/oauth-protected-resource -> 200
        https://mcp.pipedream.net/.well-known/oauth-protected-resource/v2 -> 404

  [4] Auth server metadata                    [+] PASS
        issuer: https://mcp.pipedream.com
        https://mcp.pipedream.com/.well-known/oauth-authorization-server -> 200

  [5] Token endpoint readiness (heuristics)   [+] PASS
        https://mcp.pipedream.com/api/oauth/token -> 400

  [6] Dynamic client registration (RFC 7591)  [+] PASS
        https://mcp.pipedream.com/api/oauth/register -> 400 (validates input)

Primary Finding (HIGH): PRM_HTTP_STATUS_NOT_200 (confidence 1.00)
  Evidence:
      path-suffix status 404
      RFC 9728 expects a 200 OK response from the PRM endpoint for valid metadata.

┌───────────────────────┤ CALL TRACE ├───────────────────────┐
Call Trace Using: https://github.com/authprobe/authprobe

  ┌────────────┐                                                    ┌────────────┐
  │ authprobe  │                                                    │ MCP Server │
  └─────┬──────┘                                                    └─────┬──────┘
        │                                                                 │
        │ ╔═══ Step 1: MCP probe                    ═══════╪═══════════════════╗
        │  GET https://mcp.pipedream.net/v2
        │  Reason: 401 + WWW-Authenticate discovery
        │    Accept:  text/event-stream
        │    Host:    mcp.pipedream.net
        ├─────────────────────────────────────────────────────────────────►│
        │  401 Unauthorized
        │    Access-Control-Allow-Origin:  *
        │    Content-Length:               76
        │    Content-Type:                 application/json; charset=utf-8                                                                                                                                                                                                                                            │    Date:                         Tue, 10 Feb 2026 21:19:38 GMT
        │    Etag:                         W/"4c-ptrIdu+3yjAtarglCEu6XVLnz2c"
        │    Www-Authenticate:             Bearer error="invalid_token", error_description="Missing Authorization header"
        │    X-Powered-By:                 Express
        │◄─────────────────────────────────────────────────────────────────┤
        │                                                                  │
        │ ╔═══ Step 2: MCP initialize               ═══════╪═══════════════════╗
        │  POST https://mcp.pipedream.net/v2
        │  Reason: Step 2: MCP initialize + tools/list (initialize)
        │    Accept:                application/json, text/event-stream
        │    Content-Type:          application/json
        │    Host:                  mcp.pipedream.net
        │    Mcp-Protocol-Version:  2025-11-25
        ├─────────────────────────────────────────────────────────────────►│
        │  401 Unauthorized
        │    Access-Control-Allow-Origin:  *
        │    Content-Length:               76
        │    Content-Type:                 application/json; charset=utf-8
        │    Date:                         Tue, 10 Feb 2026 21:19:38 GMT
        │    Etag:                         W/"4c-ptrIdu+3yjAtarglCEu6XVLnz2c"
        │    Www-Authenticate:             Bearer error="invalid_token", error_description="Missing Authorization header"
        │    X-Powered-By:                 Express
        │◄─────────────────────────────────────────────────────────────────┤
        │                                                                  │
        │ ╔═══ Step 3: PRM Discovery                ═══════╪═══════════════════╗
        │  GET https://mcp.pipedream.net/.well-known/oauth-protected-resource
        │  Reason: Step 3: PRM fetch matrix
        │    Accept:  application/json
        │    Host:    mcp.pipedream.net
        ├─────────────────────────────────────────────────────────────────►│
        │  200 OK
        │    Access-Control-Allow-Origin:  *
        │    Content-Length:               227
        │    Content-Type:                 application/json; charset=utf-8
        │    Date:                         Tue, 10 Feb 2026 21:19:38 GMT
        │    Etag:                         W/"e3-g5RklYJHHY7I3ZJ5Gu65RPTdDck"
        │    X-Powered-By:                 Express
        │◄─────────────────────────────────────────────────────────────────┤
        │                                                                  │
        │  GET https://mcp.pipedream.net/.well-known/oauth-protected-resource/v2
        │  Reason: Step 3: PRM fetch matrix
        │    Accept:  application/json
        │    Host:    mcp.pipedream.net
        ├─────────────────────────────────────────────────────────────────►│
        │  404 Not Found
        │    Access-Control-Allow-Origin:  *
        │    Content-Length:               178
        │    Content-Security-Policy:      default-src 'none'
        │    Content-Type:                 text/html; charset=utf-8
        │    Date:                         Tue, 10 Feb 2026 21:19:38 GMT
        │    X-Content-Type-Options:       nosniff
        │    X-Powered-By:                 Express
        │◄─────────────────────────────────────────────────────────────────┤
        │                                                                  │
        │ ╔═══ Step 4: Auth Server Metadata         ═══════╪═══════════════════╗
        │  GET https://mcp.pipedream.com/.well-known/oauth-authorization-server
        │  Reason: Step 4: Auth server metadata
        │    Accept:  application/json
        │    Host:    mcp.pipedream.com
        ├──────────────────────────────────────────────────────────────────┼─►│
        │  200 OK
        │    Access-Control-Allow-Headers:  Content-Type, Authorization
        │    Access-Control-Allow-Methods:  GET, POST, PUT, DELETE, OPTIONS
        │    Access-Control-Allow-Origin:   *
        │    Access-Control-Max-Age:        3600
        │    Age:                           39
        │    Cache-Control:                 public, max-age=3600
        │    Content-Security-Policy:       default-src 'self' https://*.clerk.accounts.dev https://clerk-telemetry.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.clerk.accounts.dev *.clerk.app https://clerk.dev https://clerk.pipedream.com https://*.clerk.pipedream.com https://challeng
es.cloudflare.com https://www.googletagmanager.com https://googleads.g.doubleclick.net https://*.google.com https://*.googleadservices.com https://consent.cookiebot.com https://consentcdn.cookiebot.com https://vitals.vercel-analytics.com https://vercel.live https://va.vercel-scripts.com https://s3-us-
west-2.amazonaws.com/b2bjsstore/b/R6G5YHYY8865/R6G5YHYY8865.js.gz https://9xgnrndqve.execute-api.us-west-2.amazonaws.com/b2b; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https://res.cloudinary.com https://pipedream.com https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pip
edream.com https://*.clerk.pipedream.com https://img.clerk.com https://*.google.com https://*.googleadservices.com https://*.doubleclick.net https://www.googletagmanager.com https://imgsct.cookiebot.com; connect-src 'self' https://mcp.pipedream.com https://pipedream.com https://*.pipedream.com https:/
/*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.pipedream.com wss://*.clerk.accounts.dev https://challenges.cloudflare.com https://clerk-telemetry.com https://analytics.google.com https://www.google-analytics.com https://www.googletagmanager.com https://*.google.c
om https://*.doubleclick.net https://*.googleadservices.com https://vitals.vercel-analytics.com https://vercel.live https://pro.ip-api.com https://s3-us-west-2.amazonaws.com/b2bjsstore/b/R6G5YHYY8865/R6G5YHYY8865.js.gz https://9xgnrndqve.execute-api.us-west-2.amazonaws.com/b2b https://consent.cookiebo
t.com https://consentcdn.cookiebot.com; font-src 'self' data:; media-src 'self'; frame-src 'self' https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.pipedream.com https://challenges.cloudflare.com https://pipedream.com https://*.pipedream.com https://*.doublec
lick.net https://www.googletagmanager.com https://vitals.vercel-analytics.com https://vercel.live https://consentcdn.cookiebot.com; manifest-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self' https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.p
ipedream.com; frame-ancestors 'self'; worker-src 'self' blob:; upgrade-insecure-requests
        │    Content-Type:                  application/json
        │    Date:                          Tue, 10 Feb 2026 21:18:59 GMT                                                                                                                                                                                                                                             │    Permissions-Policy:            camera=(), microphone=(), geolocation=()
        │    Pragma:                        no-cache
        │    Referrer-Policy:               strict-origin-when-cross-origin
        │    Server:                        Vercel
        │    Set-Cookie:                    [redacted]
        │    Strict-Transport-Security:     max-age=31536000; includeSubDomains
        │    Vary:                          rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch
        │    X-Clerk-Auth-Reason:           session-token-and-uat-missing
        │    X-Clerk-Auth-Status:           signed-out
        │    X-Content-Type-Options:        nosniff
        │    X-Csrf-Token:                  jp/OfogIhR9975oDbPAbrRDjWPa5PRtpNBIugHXyVBA=.32X5PZlFy1Fe7x1Z
        │    X-Frame-Options:               SAMEORIGIN
        │    X-Matched-Path:                /.well-known/oauth-authorization-server
        │    X-Vercel-Cache:                HIT
        │    X-Vercel-Id:                   sfo1::iad1::8gvlf-1770758379030-1aaeb2e89c52
        │    X-Xss-Protection:              1; mode=block
        │◄─────────────────────────────────────────────────────────────────┼  ┤
        │                                                                  │
        │  GET https://mcp.pipedream.com/api/oauth/.well-known/jwks.json
        │  Reason: Step 4: Auth server metadata
        │    Accept:  application/json
        │    Host:    mcp.pipedream.com
        ├──────────────────────────────────────────────────────────────────┼─►│
        │  200 OK
        │    Access-Control-Allow-Headers:  Content-Type, Authorization
        │    Access-Control-Allow-Methods:  GET, POST, PUT, DELETE, OPTIONS
        │    Access-Control-Allow-Origin:   *
        │    Access-Control-Max-Age:        3600
        │    Age:                           39
        │    Cache-Control:                 public, max-age=3600
        │    Content-Security-Policy:       default-src 'self' https://*.clerk.accounts.dev https://clerk-telemetry.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.clerk.accounts.dev *.clerk.app https://clerk.dev https://clerk.pipedream.com https://*.clerk.pipedream.com https://challeng
es.cloudflare.com https://www.googletagmanager.com https://googleads.g.doubleclick.net https://*.google.com https://*.googleadservices.com https://consent.cookiebot.com https://consentcdn.cookiebot.com https://vitals.vercel-analytics.com https://vercel.live https://va.vercel-scripts.com https://s3-us-
west-2.amazonaws.com/b2bjsstore/b/R6G5YHYY8865/R6G5YHYY8865.js.gz https://9xgnrndqve.execute-api.us-west-2.amazonaws.com/b2b; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https://res.cloudinary.com https://pipedream.com https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pip
edream.com https://*.clerk.pipedream.com https://img.clerk.com https://*.google.com https://*.googleadservices.com https://*.doubleclick.net https://www.googletagmanager.com https://imgsct.cookiebot.com; connect-src 'self' https://mcp.pipedream.com https://pipedream.com https://*.pipedream.com https:/
/*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.pipedream.com wss://*.clerk.accounts.dev https://challenges.cloudflare.com https://clerk-telemetry.com https://analytics.google.com https://www.google-analytics.com https://www.googletagmanager.com https://*.google.c
om https://*.doubleclick.net https://*.googleadservices.com https://vitals.vercel-analytics.com https://vercel.live https://pro.ip-api.com https://s3-us-west-2.amazonaws.com/b2bjsstore/b/R6G5YHYY8865/R6G5YHYY8865.js.gz https://9xgnrndqve.execute-api.us-west-2.amazonaws.com/b2b https://consent.cookiebo
t.com https://consentcdn.cookiebot.com; font-src 'self' data:; media-src 'self'; frame-src 'self' https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.pipedream.com https://challenges.cloudflare.com https://pipedream.com https://*.pipedream.com https://*.doublec
lick.net https://www.googletagmanager.com https://vitals.vercel-analytics.com https://vercel.live https://consentcdn.cookiebot.com; manifest-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self' https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.p
ipedream.com; frame-ancestors 'self'; worker-src 'self' blob:; upgrade-insecure-requests
        │    Content-Type:                  application/json
        │    Date:                          Tue, 10 Feb 2026 21:18:59 GMT
        │    Permissions-Policy:            camera=(), microphone=(), geolocation=()
        │    Referrer-Policy:               strict-origin-when-cross-origin
        │    Server:                        Vercel
        │    Strict-Transport-Security:     max-age=31536000; includeSubDomains
        │    Vary:                          rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch
        │    X-Clerk-Auth-Reason:           session-token-and-uat-missing
        │    X-Clerk-Auth-Status:           signed-out
        │    X-Content-Type-Options:        nosniff
        │    X-Frame-Options:               SAMEORIGIN
        │    X-Matched-Path:                /api/oauth/.well-known/jwks.json
        │    X-Vercel-Cache:                HIT
        │    X-Vercel-Id:                   sfo1::iad1::8gvlf-1770758379086-d2b5a0fbb408
        │    X-Xss-Protection:              1; mode=block
        │◄─────────────────────────────────────────────────────────────────┼  ┤
        │                                                                  │
        │ ╔═══ Step 5: Token Readiness              ═══════╪═══════════════════╗
        │  POST https://mcp.pipedream.com/api/oauth/token
        │  Reason: Step 5: Token endpoint readiness (heuristics)
        │    Accept:        application/json
        │    Content-Type:  application/x-www-form-urlencoded
        │    Host:          mcp.pipedream.com
        ├──────────────────────────────────────────────────────────────────┼─►│
        │  400 Bad Request
        │    Access-Control-Allow-Headers:  Content-Type, Authorization
        │    Access-Control-Allow-Methods:  GET, POST, PUT, DELETE, OPTIONS
        │    Access-Control-Allow-Origin:   *
        │    Access-Control-Max-Age:        3600
        │    Cache-Control:                 public, max-age=0, must-revalidate
        │    Content-Security-Policy:       default-src 'self' https://*.clerk.accounts.dev https://clerk-telemetry.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.clerk.accounts.dev *.clerk.app https://clerk.dev https://clerk.pipedream.com https://*.clerk.pipedream.com https://challeng
es.cloudflare.com https://www.googletagmanager.com https://googleads.g.doubleclick.net https://*.google.com https://*.googleadservices.com https://consent.cookiebot.com https://consentcdn.cookiebot.com https://vitals.vercel-analytics.com https://vercel.live https://va.vercel-scripts.com https://s3-us-
west-2.amazonaws.com/b2bjsstore/b/R6G5YHYY8865/R6G5YHYY8865.js.gz https://9xgnrndqve.execute-api.us-west-2.amazonaws.com/b2b; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https://res.cloudinary.com https://pipedream.com https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pip
edream.com https://*.clerk.pipedream.com https://img.clerk.com https://*.google.com https://*.googleadservices.com https://*.doubleclick.net https://www.googletagmanager.com https://imgsct.cookiebot.com; connect-src 'self' https://mcp.pipedream.com https://pipedream.com https://*.pipedream.com https:/
/*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.pipedream.com wss://*.clerk.accounts.dev https://challenges.cloudflare.com https://clerk-telemetry.com https://analytics.google.com https://www.google-analytics.com https://www.googletagmanager.com https://*.google.c
om https://*.doubleclick.net https://*.googleadservices.com https://vitals.vercel-analytics.com https://vercel.live https://pro.ip-api.com https://s3-us-west-2.amazonaws.com/b2bjsstore/b/R6G5YHYY8865/R6G5YHYY8865.js.gz https://9xgnrndqve.execute-api.us-west-2.amazonaws.com/b2b https://consent.cookiebo
t.com https://consentcdn.cookiebot.com; font-src 'self' data:; media-src 'self'; frame-src 'self' https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.pipedream.com https://challenges.cloudflare.com https://pipedream.com https://*.pipedream.com https://*.doublec
lick.net https://www.googletagmanager.com https://vitals.vercel-analytics.com https://vercel.live https://consentcdn.cookiebot.com; manifest-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self' https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.p
ipedream.com; frame-ancestors 'self'; worker-src 'self' blob:; upgrade-insecure-requests                                                                                                                                                                                                                              │    Content-Type:                  application/json
        │    Date:                          Tue, 10 Feb 2026 21:19:39 GMT
        │    Permissions-Policy:            camera=(), microphone=(), geolocation=()
        │    Referrer-Policy:               strict-origin-when-cross-origin
        │    Server:                        Vercel
        │    Strict-Transport-Security:     max-age=31536000; includeSubDomains
        │    Vary:                          rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch
        │    X-Clerk-Auth-Reason:           session-token-and-uat-missing
        │    X-Clerk-Auth-Status:           signed-out
        │    X-Content-Type-Options:        nosniff
        │    X-Frame-Options:               SAMEORIGIN
        │    X-Matched-Path:                /api/oauth/token
        │    X-Vercel-Cache:                MISS
        │    X-Vercel-Id:                   sfo1::iad1::2kxs7-1770758379143-c8e2cbb87024
        │    X-Xss-Protection:              1; mode=block
        │◄─────────────────────────────────────────────────────────────────┼  ┤
        │                                                                  │
        │ ╔═══ Step 6: DCR                          ═══════╪═══════════════════╗
        │  POST https://mcp.pipedream.com/api/oauth/register
        │  Reason: Step 6: Dynamic client registration (empty probe)
        │    Accept:        application/json
        │    Content-Type:  application/json
        │    Host:          mcp.pipedream.com
        ├──────────────────────────────────────────────────────────────────┼─►│
        │  400 Bad Request
        │    Access-Control-Allow-Headers:  Content-Type, Authorization
        │    Access-Control-Allow-Methods:  GET, POST, PUT, DELETE, OPTIONS
        │    Access-Control-Allow-Origin:   *
        │    Access-Control-Max-Age:        3600
        │    Cache-Control:                 public, max-age=0, must-revalidate
        │    Content-Security-Policy:       default-src 'self' https://*.clerk.accounts.dev https://clerk-telemetry.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.clerk.accounts.dev *.clerk.app https://clerk.dev https://clerk.pipedream.com https://*.clerk.pipedream.com https://challeng
es.cloudflare.com https://www.googletagmanager.com https://googleads.g.doubleclick.net https://*.google.com https://*.googleadservices.com https://consent.cookiebot.com https://consentcdn.cookiebot.com https://vitals.vercel-analytics.com https://vercel.live https://va.vercel-scripts.com https://s3-us-
west-2.amazonaws.com/b2bjsstore/b/R6G5YHYY8865/R6G5YHYY8865.js.gz https://9xgnrndqve.execute-api.us-west-2.amazonaws.com/b2b; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https://res.cloudinary.com https://pipedream.com https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pip
edream.com https://*.clerk.pipedream.com https://img.clerk.com https://*.google.com https://*.googleadservices.com https://*.doubleclick.net https://www.googletagmanager.com https://imgsct.cookiebot.com; connect-src 'self' https://mcp.pipedream.com https://pipedream.com https://*.pipedream.com https:/
/*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.pipedream.com wss://*.clerk.accounts.dev https://challenges.cloudflare.com https://clerk-telemetry.com https://analytics.google.com https://www.google-analytics.com https://www.googletagmanager.com https://*.google.c
om https://*.doubleclick.net https://*.googleadservices.com https://vitals.vercel-analytics.com https://vercel.live https://pro.ip-api.com https://s3-us-west-2.amazonaws.com/b2bjsstore/b/R6G5YHYY8865/R6G5YHYY8865.js.gz https://9xgnrndqve.execute-api.us-west-2.amazonaws.com/b2b https://consent.cookiebo
t.com https://consentcdn.cookiebot.com; font-src 'self' data:; media-src 'self'; frame-src 'self' https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.pipedream.com https://challenges.cloudflare.com https://pipedream.com https://*.pipedream.com https://*.doublec
lick.net https://www.googletagmanager.com https://vitals.vercel-analytics.com https://vercel.live https://consentcdn.cookiebot.com; manifest-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self' https://*.clerk.accounts.dev https://*.clerk.app https://clerk.pipedream.com https://*.clerk.p
ipedream.com; frame-ancestors 'self'; worker-src 'self' blob:; upgrade-insecure-requests
        │    Content-Type:                  application/json
        │    Date:                          Tue, 10 Feb 2026 21:19:39 GMT
        │    Permissions-Policy:            camera=(), microphone=(), geolocation=()
        │    Referrer-Policy:               strict-origin-when-cross-origin
        │    Server:                        Vercel
        │    Strict-Transport-Security:     max-age=31536000; includeSubDomains
        │    Vary:                          rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch
        │    X-Clerk-Auth-Reason:           session-token-and-uat-missing
        │    X-Clerk-Auth-Status:           signed-out
        │    X-Content-Type-Options:        nosniff
        │    X-Frame-Options:               SAMEORIGIN
        │    X-Matched-Path:                /api/oauth/register
        │    X-Vercel-Cache:                MISS
        │    X-Vercel-Id:                   sfo1::iad1::2kxs7-1770758379433-8c32b6dea2e2
        │    X-Xss-Protection:              1; mode=block
        │◄─────────────────────────────────────────────────────────────────┼  ┤
        ▼                                                                  ▼

┌────────────────────┤ LLM EXPLANATION ├─────────────────────┐ The primary failure here is PRM_HTTP_STATUS_NOT_200 (high confidence): the path-suffix PRM endpoint https://mcp.pipedream.net/.well-known/oauth-protected-resource/v2 returned HTTP 404 instead of the required 200.


Explanation of Failure and Spec References

Background on PRM and Path-Suffix Endpoint

Per RFC 9728, Section 3.1:

  • OAuth 2.0 Protected Resource Metadata (PRM) discovery for protected resources with path components MUST support discovery via a path-suffix endpoint.
  • Specifically, if the protected resource URI includes a path component (e.g., /v2 in https://mcp.pipedream.net/v2), the PRM SHALL be available at:
https://{host}/.well-known/oauth-protected-resource{path}

Thus, for protected resource https://mcp.pipedream.net/v2, the metadata must be available at:

RFC 9728 §3.1.4 states:

  • The endpoint SHALL return 200 OK status and a JSON body conforming to the Protected Resource Metadata format on successful retrieval.
  • A 404 Not Found means the server has no PRM for that resource path, which violates the mandatory path-suffix discovery rule when the resource has a path component.

Impact of the Failure

Your scan showed:

  • Root PRM: https://mcp.pipedream.net/.well-known/oauth-protected-resource returns 200 OK (good).
  • Path-suffix PRM: https://mcp.pipedream.net/.well-known/oauth-protected-resource/v2 returns 404 Not Found (failure).

Because the protected resource you are testing is https://mcp.pipedream.net/v2 (path component /v2), discovery MUST succeed at the path-suffix endpoint with 200 OK and valid metadata.

Specifications in Other Relevant Standards

  • MCP 2025-11-25 (latest MCP mode): Refines RFC 9728 and mandates fully compliant metadata for easier OAuth resource access.

  • RFC 8414 (OAuth Authorization Server Metadata): Provides metadata conventions but does not supersede RFC 9728’s discovery for protected resources.

  • RFC 3986: Defines URI syntax. Because the protected resource includes a path component, path suffix resolution for metadata must be supported.

  • JSON-RPC 2.0: Not directly applicable to this endpoint’s HTTP-level status, but correct status codes are necessary for clients to properly interpret PRM JSON-RPC calls indirectly.

Correct Server Behavior per RFC 9728

Given a protected resource URI https://mcp.pipedream.net/v2:

  1. The server MUST serve metadata at

    https://mcp.pipedream.net/.well-known/oauth-protected-resource/v2
    
  2. That endpoint MUST return HTTP 200 OK, with the protector resource metadata JSON body describing the resource.

  3. The metadata MUST have a "resource" value exactly equal to the protected resource URI:

{
  "resource": "https://mcp.pipedream.net/v2",
  ...
}
  1. Clients rely on this response to understand token scopes, authorization servers, etc. 5. Returning 404 breaks discovery and violates mandatory requirements of RFC 9728.

Summary and Recommended Fix

  • Why failure is valid: RFC 9728 mandates the path-suffix PRM endpoint for protected resources with path components must exist and return 200 OK. Seeing a 404 is a direct violation.

  • What should change: The server admin or implementer must:

    1. Implement the PRM endpoint at /.well-known/oauth-protected-resource/v2.
    2. Ensure it returns 200 OK with valid PRM JSON metadata.
    3. The returned JSON must have "resource": "https://mcp.pipedream.net/v2" exactly.
    4. Verify the discovery responses meet RFC 9728 requirements to pass MCP scanning in future.

Additional Notes

  • Although lower priority issues exist (missing WWW-Authenticate headers, etc.), they do not invalidate PRM discovery itself.
  • Correct and robust PRM discovery is fundamental for OAuth clients using MCP profiles to understand and interact with the protected resource correctly.
  • This issue is a blocking failure for RFC 9728 compliance and MCP interoperability.

In conclusion, the 404 on the path-suffix PRM endpoint is a clear, standards-based failure as per RFC 9728 §3.1.4 and MCP 2025-11-25, making the failure valid and justified. Fixing this by implementing and correctly responding on the path-suffix endpoint will resolve the highest priority f ailure. exit status 2

clgtm avatar Feb 10 '26 21:02 clgtm