Skip to content

v2.39.2

Choose a tag to compare

@github-actions github-actions released this 06 Jun 14:23
· 39 commits to main since this release

Agent ergonomics for the MCP DB tools

Patch release - run402-mcp quick wins surfaced by the MCPMark benchmark. @run402/sdk and run402 (CLI) are bumped in lockstep; the SDK carries the REST routing fix.

Improvements

  • run_sql, get_schema, and rest_query now default project_id to the active project. Pass it explicitly to override; omit it to use the project set by provisioning or run402 projects use <id>. Removes the per-call project-id tax for an agent working against a single project, and returns a clear error when neither an id nor an active project is available.
  • rest_query with key_type: "service" works again. Service-key REST now routes through the admin REST path (/admin/v1/rest/*) instead of the public PostgREST path the gateway rejects with ADMIN_REQUIRED, so RLS-bypassing reads/writes succeed. Anon keys are unchanged.

Both surfaced while benchmarking the MCP server against the MCPMark benchmark.