MCP server authentication is the part most tutorials skip. My own MCP server, the AI API cost server I built and published to npm , has no login at all. It runs on your machine over stdio, it only does maths on public prices, and that is fine.
Source: [Dev.to](https://dev.to/aisaaswithmustafa/mcp-server-authentication-oauth-21-for-saas-in-nodejs-2j5b)