A working MCP server fits in 100 lines. Production is the hard part: tool schema design, stdio vs Streamable HTTP, OAuth 2.1, output caps, and audit logging.