upvote
One issue i saw related to scopes is the offline_access one that causes frequent reauthenticate request from the client. for example codex has this bug (https://github.com/openai/codex/issues/20503). many servers solve this with some workarounds or increasing the token life. In v2 of mcp-use coming end of the month there should be a builtin way to deal with buggy clients so the server remains connected.
reply
with our SDK we provide many adapters to popular authentication providers which basically provision oauth on your server in one line of code, here the docs https://docs.mcp-use.com/typescript/server/authentication/in...

also we ship templates for you to get started https://manufact.com/templates

reply
You may want to have a look at Skybridge, a TypeScript framework designed to build MCP servers and MCP Apps, with a recent emphasis on making authentication easy.
reply
we support deploying Skybridge too https://manufact.com/blog/mcp-app-with-skybridge ! saw that you work for the company that is developing that, usually on HN to keep it honest you want to disclose that
reply
TypeScript, for all its benefits, still feels like a toy or project language. I'd love to see a Rust, C++, or even a Go library for such purpose.

I'd love for people with experience to break me of this negativity towards TypeScript. Anybody?

reply
deleted
reply
a few thoughts for MCP: - typescript "runs" in the browser, which is very handy to develop browser side MCP Clients - for similar reasons it is the only real option to develop UIs for MCP Apps for instance

not particularly related to MCP: as most products rely on external APIs provided by the labs (ChatGPT wrapper as we used to call them) frontend languages become more important

reply
Can you get into the specifics of the problems you currently experience with MCP? I'd love to learn more.
reply