Skip to content

feat(mcp): add web handler authorization - #320

Merged
vamgan merged 1 commit into
mainfrom
feat/mcp-web-auth
Jun 6, 2026
Merged

vamgan merged 1 commit into
mainfrom
feat/mcp-web-auth

Conversation

@vamgan

@vamgan vamgan commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add an authorize hook to createAskableMcpWebHandler so hosts can reject unknown MCP clients before context is read
  • support built-in JSON-RPC 401 responses, custom auth responses, and authorized request options such as authInfo
  • document secure Web MCP setup in the MCP README, API docs, and homepage example

Verification

@vercel

vercel Bot commented Jun 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
askable Ready Ready Preview, Comment Jun 6, 2026 7:51pm

@pkg-pr-new

pkg-pr-new Bot commented Jun 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

@askable-ui/context

npm i https://pkg.pr.new/@askable-ui/context@320

@askable-ui/core

npm i https://pkg.pr.new/@askable-ui/core@320

@askable-ui/create-app

npm i https://pkg.pr.new/@askable-ui/create-app@320

@askable-ui/mcp

npm i https://pkg.pr.new/@askable-ui/mcp@320

@askable-ui/react

npm i https://pkg.pr.new/@askable-ui/react@320

@askable-ui/react-native

npm i https://pkg.pr.new/@askable-ui/react-native@320

@askable-ui/svelte

npm i https://pkg.pr.new/@askable-ui/svelte@320

@askable-ui/vue

npm i https://pkg.pr.new/@askable-ui/vue@320

commit: 9b47c57

@vamgan
vamgan merged commit 54c5c64 into main Jun 6, 2026
9 checks passed
@vamgan
vamgan deleted the feat/mcp-web-auth branch June 6, 2026 19:53

This branch was successfully deployed

1 active deployment
Preview — 9b47c579 Deployed Jun 6, 2026 by vercel[bot]
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