MCP Auth Node.js SDK
The MCP spec for auth. Instead of spending weeks on them, use MCP Auth to connect to a trusted provider with a few lines of code.
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y [email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add mcp-auth-js -- npx -y mcp-auth@1.0.0-beta.1在終端機中執行。
{ "mcpServers": { "mcp-auth-js": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
mcp-auth targets the latest MCP specification and the MCP TypeScript SDK v2, implementing the spec's authorization requirements — RFC 9728 Protected Resource Metadata and RFC 8707 audience-bound token validation — for any OAuth 2.0 / OpenID Connect provider.
Check out the MCP-compatible providers to see which providers are supported. It also includes a tool for real-time checking of provider compatibility.
npm install mcp-auth
Or use your package manager of choice, such as pnpm or yarn.
Still on MCP SDK v1 (@modelcontextprotocol/sdk)? Stay on the 0.2 line — npm install [email protected] — and see the v0.2.0 code and samples.
See the documentation for the full guide.
Join the MCP Auth org discussion to ask questions or share your feedback.
🔐 Plug-and-play auth for Node.js MCP servers.
{ "mcpServers": { "mcp-auth-js": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
Js 透過 stdio 在本機執行。
上次檢查時間:2026-10-27。 🔐 Plug-and-play auth for Node.js MCP servers.