Most MCP server examples you'll find online are 40 lines long, have no auth, and crash the moment a tool call throws an exception. That's fine for a demo. It's not fine for something a real agent will call thousands of times a day on behalf of real users.
Source: [Dev.to](https://dev.to/quietdesk_studio_83466628/a-minimal-production-ready-mcp-server-walkthrough-auth-sessions-error-recovery-40aj)