demo-mcp-server
demo-mcp-server
Un documento de metadatos desechable de un servidor MCP y su cliente, utilizado para probar la autorización OAuth de extremo a extremo durante el desarrollo. Nada de esto es código de producción.
El servidor
src/ sirve MCP sobre Streamable HTTP, protegido por tokens de portador emitidos por Auth0:
Path | Comportamiento |
| Endpoint MCP. Las solicitudes no autenticadas reciben un |
| Metadatos de recurso protegido RFC 9728 |
Los tokens se verifican contra el JWKS del tenant en iss, exp y aud, y se rechaza un token que no designe ninguna Organization: sin ella no hay ningún límite de equipo dentro del que trabajar. Dos herramientas exigen alcances distintos — whoami necesita mcp:read e informa de la identidad que portaba el token; echo necesita mcp:write —, por lo que una llamada con un alcance insuficiente produce un 403 real con insufficient_scope.
nvm use 22 && npm install
npm run devLos ajustes se encuentran en src/config.ts y todos pueden sobrescribirse mediante variables de entorno. El identificador de recurso debe coincidir con la URL a la que los clientes se conectan realmente; los clientes rechazan un documento de metadatos que designe cualquier otra cosa.
Related MCP server: MCP Server OAuth Toy
El documento de metadatos
docs/client.json se publica mediante GitHub Pages y su URL es el client_id del cliente, según OAuth Client ID Metadata Document y MCP client registration.
Las URI de redirección son los valores predeterminados de MCP Inspector: el puerto 6276 para la CLI y la TUI, y el puerto 6274 para el cliente web.
Este repositorio es público porque un servidor de autorización obtiene el documento de forma anónima. No contiene configuración ni credenciales.
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