
MCP-auth-Servers
🔒参考MCP服务器,将身份验证如何与当前模型上下文协议规范一起使用。
1
Github Watches
1
Github Forks
4
Github Stars
[!IMPORTANT] This is now moved under one of the official Microsoft-supported GitHub organizations. Please use that repository as a point of reference.
🔒 MCP Server Authentication Reference Collection
Reference servers that demo how authentication works with the current Model Context Protocol spec.
[!WARNING] Code presented here is for demo purposes only. Your specific scenarios (including rules inside your enterprise, specific security controls, or other protection mechanisms) may differ from the ones that are outlined in this repository. Always conduct a security audit and threat modeling for any production and customer-facing assets that require authentication and authorization.
Scenarios
Servers above are designed for various runtime scenarios. They are tagged as follows:
- Remote MCP servers:
- Local MCP servers:
- Dual-purpose MCP servers (can run locally or remotely):
Supported identity providers
Provider | Scenario | Server Type | Implementation | State |
---|---|---|---|---|
Entra ID | Confidential client, mapped to session token. | entra-id-cca-session |
||
Entra ID | Public client, using WAM | entra-id-local-wam |
||
GitHub | GitHub application w/OAuth, mapped to session token. | github-app-session |
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Reviews

user_aAWm78qo
I've been using the mcp-auth-servers from localden for a while now, and it has significantly improved our authentication processes. The seamless integration and comprehensive documentation make it user-friendly and efficient. Highly recommend checking it out on GitHub at https://github.com/localden/mcp-auth-servers!