Skip to content

v2.38.1

Choose a tag to compare

@github-actions github-actions released this 05 Jun 20:26
· 45 commits to main since this release

run402-mcp: clearer SQL feedback + accurate 403 guidance

Patch release. @run402/sdk and run402 (CLI) are version-bumped in lockstep but have no functional changes - both fixes are in the run402-mcp server.

Fixes

  • run_sql no longer reports "0 rows returned" for mutations and DDL. It now reflects the gateway's actual row semantics: a result set shows "N rows returned" + table; an INSERT/UPDATE/DELETE shows "N rows affected"; a no-match mutation or empty result shows "0 rows"; DDL (CREATE TABLE/CREATE INDEX, etc.) shows "Statement executed". Previously every mutation and all DDL printed "0 rows returned", which reads to an agent like the statement did nothing - costing redundant verification round-trips.
  • 403 errors no longer claim "the project lease may have expired" for blocked operations. FORBIDDEN (blocked SQL such as CREATE ROLE / CREATE SCHEMA / CREATE EXTENSION / GRANT) and ADMIN_REQUIRED (e.g. service_role on /rest/v1/*) now get accurate, code-specific next-step guidance instead of a misleading lease-expiry detour.

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