How to implement a mcp server with auth, and trigger cursor login?

I was very excited to see the release of cursor 1.0, and it supports one-click login authentication after configuring the mcp server.

I want to know how to implement such an mcp server that can support authentication and trigger the login of the cursor, just like linear here:

"Linear": {
      "url": "https://mcp.linear.app/sse"
    }

I hope someone can give me a github repository for learning. Thank you very much

1 Like

interested in this too. would very good to have a little more information or guidance for MCP server developers on how to achieve the same support.

by i random i found that neon server has oauth and it is opensource so can refernce theirs implementation. hope it helped GitHub - neondatabase-labs/mcp-server-neon: MCP server for interacting with Neon Management API and databases