demo-mcp-server
demo-mcp-server
開発中にOAuth認可をエンドツーエンドで検証するために使用する、使い捨てのMCPサーバーおよびクライアントメタデータドキュメントです。ここにあるものは本番コードではありません。
サーバー
src/は、Auth0発行のベアラートークンの背後で、ストリーミング可能なHTTP上でMCPを提供します。
パス | 動作 |
| MCPエンドポイント。未認証のリクエストには、メタデータドキュメントを指定する |
| RFC 9728 保護リソースメタデータ |
トークンはテナントのJWKSに対してiss、exp、audを検証され、Organizationを指定しないトークンは拒否されます。Organizationがなければ、作業するチーム境界が存在しないためです。2つのツールは異なるスコープを要求します。whoamiはmcp:readを必要とし、トークンが保持していたIDを報告します。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経由で公開され、そのURLがクライアントのclient_idとなります。OAuth Client ID Metadata DocumentおよびMCP client registrationに従います。
リダイレクトURIはMCP Inspectorのデフォルトです。CLIとTUIはポート6276、Webクライアントはポート6274です。
このリポジトリは、認可サーバーがドキュメントを匿名で取得するため公開されています。設定や認証情報は含まれていません。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceMinimal 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 gradedqualityDmaintenanceA 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 gradedqualityBmaintenanceA 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.
Related MCP Connectors
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
An authenticated remote MCP server for user-owned devices and one-shot capability invocation.
Self-hosted federated MCP gateway: one OAuth 2.1 MCP server in front of N apps, user-level scopes.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chingyangtseng-houzz/demo-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server