Show HN: Cloudflare Workers Compatible MCP Boilerplate with OAuth & PostgreSQL
fka
created: June 4, 2025, 6:56 p.m. | updated: June 4, 2025, 10:14 p.m.
authRoute ( 'GET' , '/api/profile' , ( c , userContext , env ) => { return c .
json ( { message : 'User profile data' , user : userContext , timestamp : new Date ( ) .
authRoute ( 'POST' , '/api/user/settings' , async ( c , userContext , env ) => { const settings = await c .
authRoute ( 'GET' , '/api/user/dashboard' , ( c , userContext , env ) => { // userContext contains: { userId, name, username, email, scopes } return c .
authRoute ( 'PUT' , '/api/user/profile' , async ( c , userContext , env ) => { const updates = await c .
3 days, 15 hours ago: Hacker News: Front Page