aiagent.club
English
npm 包

mcp-auth

更新于 2026-09-12 查看源 ↗

在全部 npm 包 中按周下载量排名第 84(共 203)

18.0k 周下载量

Plug and play auth for Model Context Protocol (MCP) servers

项目介绍

The MCP specification requires OAuth 2.1 and other RFCs for authorization. Instead of implementing all the OAuth 2.1 and OpenID Connect standards yourself, a production-ready provider and a set of libraries and tutorials can save you a lot of time and effort.

That's where MCP Auth comes in. It includes:

And yes, it can be as simple as a few lines of code:

See the documentation for the full guide.

摘自 www.npmjs.com/package/mcp-auth

最新指标

周下载量 18.0k 2026-09-12