Ask HN: Has anyone managed to implement OAuth on an MCP server?

1 rco8786 2 6/26/2025, 7:57:55 PM
OAuth has been officially part of the MCP spec for a few weeks. But so far, I haven't seen any examples of it in the wild. Wondering if anyone has done this, or knows of any documentation that is actually decent on how to do it.

Comments (2)

robdimarco · 6h ago
I came across https://github.com/systempromptio/systemprompt-mcp-server which has an OAuth 2.1 demo
seanobannon · 5h ago
Yep, I ran into a few issues wiring up OAuth over the last few weeks building a ChatGPT connector so built this library to help folks get up and running quickly.

https://github.com/mcpauth/mcpauth/

Let me know if you have any questions on it