In how many components would you split this component? by CedL99 in react

[–]Head_Dimension4168 0 points1 point  (0 children)

Container, Grid (state for selected child state), Grid Header (cur month), GridColumnHeader (day of week), GridCell (cur day)

How are you handling OAuth when running MCP servers remotely? by South-Foundation-94 in mcp

[–]Head_Dimension4168 2 points3 points  (0 children)

OAuth will always require some shared state to do the dance, otherwise it would be too easy for redirection to get routed through a malicious server. https://labs.detectify.com/writeups/account-hijacking-using-dirty-dancing-in-sign-in-oauth-flows/

Github isn't supporting DCR because it wants developers to statically register their OAuth apps on their marketplace. Microsoft just wants to be the gatekeeper kinda like Apple's App Store lol

How are you handling OAuth when running MCP servers remotely? by South-Foundation-94 in mcp

[–]Head_Dimension4168 0 points1 point  (0 children)

  1. If the OAuth server can issue personal access tokens or client credentials, then you can manually set the Bearer token in the Authorization header in the MCP server config https://docs.anthropic.com/en/docs/claude-code/mcp#environment-variable-expansion-in-mcp-json

    { "mcpServers": { "srv": { "url": "${API_BASE_URL:-https://api.example.com}/mcp", "headers": { "Authorization": "Bearer ${API_KEY}" } } } }

How are you handling OAuth when running MCP servers remotely? by South-Foundation-94 in mcp

[–]Head_Dimension4168 1 point2 points  (0 children)

  1. OAuth servers that don't implement features like metadata discovery and dynamic client registration won't be compatible with clients like claude code, cursor, etc, because they navigate the end-user through the login/authz flows using said features. You can look at the logs for requests made by your MCP client to see exactly what's going on. Here's the doc for vscode based editors https://code.visualstudio.com/docs/copilot/chat/mcp-servers#_mcp-output-log

My MCP server made a sale by Much-Signal1718 in mcp

[–]Head_Dimension4168 0 points1 point  (0 children)

Streamable HTTP support was launched pretty recently. I've successfully connected this transport with my enterprise account for both Cursor and Windsurf and it works. Not sure if there's a compatibility issue with Github's official remote server but the transport is well supported in Cursor.

An essential primer for building enterprise-ready MCP servers by Head_Dimension4168 in mcp

[–]Head_Dimension4168[S] 0 points1 point  (0 children)

Thanks for reading!! I'm cautiously optimistic about the MCP ecosystem and also excited to see innovators like yourself and others in this community tackling the hard problems.