Example code for a MCP server tutorial using FusionAuth. Please visit https://fusionauth.io/docs/extend/examples/protecting-mcp-servers for the tutorial
This repository contains self-contained examples:
| Folder | Description |
|---|---|
unprotected-local-mcp/ |
Starter code — a simple MCP server with no authentication. Start here if following the tutorial. |
protected-local-mcp/ |
A local server protected by OAuth. |
protected-remote-mcp/ |
Remote deployment variant — extends the protected server with flags for deploying to a public URL. |