5943485644
Changed to use commands instead of API and added auth. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Introduce MCP auth by launching mcp-gateway with an access token and exposing a token getter; replace HTTP config with command execution and bump default MCP template to v0-1. > > - **SDKs**: > - **MCP auth**: > - Launch `mcp-gateway` via `commands.run` with `GATEWAY_ACCESS_TOKEN` set to a generated token (JS/TS and Python, async/sync). > - Expose token retrieval: `betaGetMcpToken()` (JS) and `beta_get_mcp_token()` (Python) reading `/etc/mcp-gateway/.token` if needed. > - **Configuration flow**: > - Replace HTTP `POST /config` setup with command-based startup; remove retry logic (JS and Python). > - **Defaults**: > - Update `defaultMcpTemplate`/`default_mcp_template` to `mcp-gateway-v0-1` (JS and Python). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 4456a1822d87fa32110f6659c3bf9135bff71045. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->