{"id":27004147,"url":"https://github.com/localden/mcp-auth-servers","last_synced_at":"2025-04-10T20:19:10.242Z","repository":{"id":286051593,"uuid":"960199766","full_name":"localden/mcp-auth-servers","owner":"localden","description":"🔒 Reference MCP servers that demo how authentication works with the current Model Context Protocol spec.","archived":false,"fork":false,"pushed_at":"2025-04-04T06:58:10.000Z","size":340,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T17:02:01.599Z","etag":null,"topics":["authentication","authorization","mcp","model-context-protocol","security"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/localden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-04T02:58:03.000Z","updated_at":"2025-04-07T20:07:54.000Z","dependencies_parsed_at":"2025-04-04T04:21:12.297Z","dependency_job_id":null,"html_url":"https://github.com/localden/mcp-auth-servers","commit_stats":null,"previous_names":["localden/mcp-auth-servers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localden%2Fmcp-auth-servers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localden%2Fmcp-auth-servers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localden%2Fmcp-auth-servers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localden%2Fmcp-auth-servers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localden","download_url":"https://codeload.github.com/localden/mcp-auth-servers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248074967,"owners_count":21043490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","authorization","mcp","model-context-protocol","security"],"created_at":"2025-04-04T06:15:10.997Z","updated_at":"2025-04-09T17:02:14.022Z","avatar_url":"https://github.com/localden.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔒 MCP Server Authentication Reference Collection\n\nReference servers that demo how authentication works with the current [Model Context Protocol spec](https://spec.modelcontextprotocol.io/specification/2025-03-26/basic/authorization/).\n\n\u003e[!WARNING]\n\u003eCode 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.\n\n## Scenarios\n\nServers above are designed for various runtime scenarios. They are tagged as follows:\n\n- Remote MCP servers: ![Remote MCP Server](https://img.shields.io/badge/MCP%20Server-Remote-blue)\n- Local MCP servers: ![Local MCP Server](https://img.shields.io/badge/MCP%20Server-Local-green)\n- Dual-purpose MCP servers (_can run locally or remotely_): ![Dual-purpose MCP Server](https://img.shields.io/badge/MCP%20Server-Dual-cyan)\n\n## Supported identity providers\n\n| Provider | Scenario | Server Type | Implementation | State |\n|:---------|:---------|:------------|:---------------|:------|\n| Entra ID | Confidential client, mapped to session token. | ![Dual-purpose MCP Server](https://img.shields.io/badge/MCP%20Server-Dual-cyan) | [`entra-id-cca-session`](/src/entra-id-cca-session/) | ![State: Prototype](https://img.shields.io/badge/State-Prototype-orange) |\n| Entra ID | Public client, using WAM | ![Local MCP Server](https://img.shields.io/badge/MCP%20Server-Local-green) | [`entra-id-local-wam`](/src/entra-id-local-wam/) | ![State: Prototype](https://img.shields.io/badge/State-Prototype-orange) |\n| GitHub   | GitHub application w/OAuth, mapped to session token. | ![Dual-purpose MCP Server](https://img.shields.io/badge/MCP%20Server-Dual-cyan) | [`github-app-session`](/src/github-app-session/) | ![State: Prototype](https://img.shields.io/badge/State-Prototype-orange) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalden%2Fmcp-auth-servers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalden%2Fmcp-auth-servers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalden%2Fmcp-auth-servers/lists"}