Try It Out
Each walkthrough below runs the Securing MCP pattern against the Wayfinder sample. The Wayfinder Server hosts an MCP server on /mcp alongside its REST API; an external MCP client signs in through Choreo Identity & Access Management and calls Wayfinder's tools.
The sample uses scope-based MCP authorization, which checks the permissions already present in the incoming access token.
Meet Wayfinder
Wayfinder is the same travel-booking application from the Securing AI Agents tryout, where the in-product Wayfinder Concierge acts as an MCP client from inside the app. This tryout covers the other side: an external MCP client connecting to the same Wayfinder MCP server through its own OAuth application in Choreo Identity & Access Management. The application is pre-registered in the bundle; in production, clients that support Dynamic Client Registration can self-register at runtime instead.
Meet the Cast
- John Doe signs in to the external MCP client and picks which
booking:*permissions to grant at consent. He carries theBooking Userrole with read, create, and cancel permissions. - MCP Inspector is the reference debug UI for MCP servers. It runs in the browser, speaks the protocol, and supports OAuth-protected servers out of the box.
Sample Architecture
This tryout extends the AI Agents architecture with one new piece:
- External MCP Client: an OAuth client (MCP Inspector) that signs in through Choreo Identity & Access Management and calls the Wayfinder MCP server's tools.
The Wayfinder Server validates the issued access token on every MCP call. The server enforces the per-tool scope before invoking protected tool handlers.
Set Up Your Environment
Complete the AI Agents Set Up Your Environment first. The same bundle also seeds the EXTERNAL-MCP-CLIENT application used here.
Verify the New Application
In the Choreo Identity & Access Management Console at https://console.cloud.choreolabs.com/iam/, open Applications and confirm EXTERNAL-MCP-CLIENT is listed.
Install MCP Inspector
Launch MCP Inspector locally:
npx @modelcontextprotocol/inspector
Allow Inspector in CORS
In the Console, switch to the organization view and go to Configurations. On the CORS tab, under Allowed origins, click Add origin, enter http://localhost:6274, and click Save changes.
Walkthroughs
Pick a walkthrough to begin. Each one starts from the setup above.
- Scope-Based MCP Authorization: Authorize an external MCP client, list Wayfinder's tools, call a few, and watch scope enforcement deny the booking deletion tool.
Going Deeper
- Curious how the MCP-specific application and consent step map to Choreo Identity & Access Management concepts? See Identity Concepts.
- Prefer to register the application manually? See Configure It Yourself.
- Want to compare server-side and client-side patterns before going to production? See Solution Patterns.
- Ready to apply this to your own MCP server instead of the Wayfinder sample? See the MCP Authorization guides.
Was this page helpful?