Skip to content

feat(oauth): spec-compliant MCP OAuth on mcp.firecrawl.dev#238

Merged
erikengervall merged 7 commits into
mainfrom
noaa/oauth_
May 27, 2026
Merged

feat(oauth): spec-compliant MCP OAuth on mcp.firecrawl.dev#238
erikengervall merged 7 commits into
mainfrom
noaa/oauth_

Conversation

@erikengervall

@erikengervall erikengervall commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Wires up the 2025-06-18 MCP Authorization spec and RFC 9728 end to end on the cloud MCP server. Unauthenticated requests to https://mcp.firecrawl.dev/v2/mcp now return 401 with WWW-Authenticate: Bearer resource_metadata="..." pointing at the MCP server's own PRM, the PRM correctly identifies mcp.firecrawl.dev/v2/mcp as the protected resource, advertises the AS at www.firecrawl.dev, and lists the scope the AS actually accepts.

@erikengervall erikengervall requested a review from micahstairs May 15, 2026 15:29
@erikengervall erikengervall marked this pull request as ready for review May 25, 2026 20:07
…h credential handling in the FastMCP server. Introduced new functions for OAuth issuer and resource URL management, and improved error handling for token introspection. Updated type definitions to support new OAuth options.
… definitions and modified API key handling to improve clarity and consistency. Changed header authorization method for token introspection requests.
…esource URL handling in index.ts. Improved error handling and added comments for clarity in the getOAuthProtectedResourceMetadataUrl function.
…ied functions for clarity, ensuring the OAuth protected resource metadata URL is derived directly from the MCP resource URL. Improved comments for better understanding of the changes.
@erikengervall erikengervall changed the title OAuth support feat(oauth): spec-compliant MCP OAuth on mcp.firecrawl.dev May 27, 2026
@erikengervall erikengervall merged commit 8e0ea0d into main May 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant