demo-mcp-server
demo-mcp-server
개발 중 OAuth 인가를 종단 간(end-to-end)으로 시험하기 위해 사용되는 임시 MCP 서버 및 클라이언트 메타데이터 문서입니다. 여기에 있는 어떤 것도 프로덕션 코드가 아닙니다.
서버
src/는 Auth0에서 발급한 bearer 토큰으로 보호되는 streamable HTTP를 통해 MCP를 제공합니다.
경로 | 동작 |
| MCP 엔드포인트. 인증되지 않은 요청은 메타데이터 문서를 지정하는 |
| RFC 9728 보호 리소스 메타데이터 |
토큰은 테넌트 JWKS를 기준으로 iss, exp 및 aud에 대해 검증되며, Organization을 지정하지 않은 토큰은 거부됩니다. Organization이 없으면 작업할 팀 경계가 존재하지 않기 때문입니다. 두 도구는 서로 다른 스코프를 요구합니다. whoami는 mcp:read가 필요하며 토큰이 담은 신원을 보고하고, echo는 mcp:write가 필요합니다. 따라서 스코프가 부족한 호출은 insufficient_scope와 함께 실제 403을 생성합니다.
nvm use 22 && npm install
npm run dev설정은 src/config.ts에 있으며 모든 항목은 환경 변수로 재정의할 수 있습니다. 리소스 식별자는 클라이언트가 실제로 연결하는 URL과 동일해야 합니다. 클라이언트는 다른 것을 지정하는 메타데이터 문서를 거부합니다.
Related MCP server: MCP Server OAuth Toy
메타데이터 문서
docs/client.json은 GitHub Pages를 통해 게시되며, OAuth 클라이언트 ID 메타데이터 문서 및 MCP 클라이언트 등록에 따라 해당 URL이 클라이언트의 client_id입니다.
리다이렉트 URI는 MCP Inspector의 기본값입니다. CLI 및 TUI는 포트 6276, 웹 클라이언트는 포트 6274를 사용합니다.
이 저장소는 인가 서버가 문서를 익명으로 가져오기 때문에 공개되어 있습니다. 여기에는 구성이나 자격 증명이 포함되어 있지 않습니다.
This server cannot be deployed
Maintenance
Related MCP Connectors
Minimal streamable HTTP MCP server used for owned-account registry connectivity tests.
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Experimental MCP server for current empirical verification of explicit public HTTPS endpoint claims.
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMinimal MCP server for testing SkyStage's self-auth auto-detection feature. It includes tools like ping, echo, server_info, and read_secret, and uses a mock OAuth provider for login.-
- FlicenseNot gradedqualityBmaintenanceA simple MCP server with OAuth 2.0 authentication for testing OAuth support in mcp-cli.-
- FlicenseNot gradedqualityBmaintenanceA simple HTTP-based MCP server that provides demo tools (get_test_string, echo, check_maintenance), greeting prompts, and test resources, with optional OAuth 2.1 support.-
- FlicenseNot gradedqualityCmaintenanceA configurable OAuth 2.0 authorization server and OAuth-protected MCP server for end-to-end testing of OAuth-protected MCP flows, including failure injection and control plane.-