Repository navigation
A patch release: no tool added, removed or renamed (tool surface unchanged). It carries the mcp 2.2.0 security bump, tool-error-message fixes for mcp 2.x, and the Cursor Marketplace plugin sources. See release notes.
Added
- MCP ServerList tutorial badge next to the existing listing badge in the README
(mcp-serverlist.com/mcp/mcpg; GH #365). - Cursor Marketplace plugin sources.
.cursor-plugin/plugin.jsonplus
packaging/cursor/mcp.jsonpackage MCPg as a Cursor plugin (uvx mcpg@X.Y.Z, DSN
and access mode as${VAR}placeholders). Version is synced by
packaging/cursor/sync_plugin_version.pyand guarded bytests/unit/test_cursor_plugin.py.
Submit the public repo at cursor.com/marketplace/publish;
listing is a manual Cursor review, not a publish-workflow step.
Security
pyasn1≥ 0.6.5 (gcpextra, via google-auth; GHSA-9m75-vc3g-4x39, GHSA-mm57-4v3p-rchx, GHSA-fm9c-5rcf-2q5p,
GHSA-2qm8-x737-gmw5: quadratic-time DoS in BER/CER/DER decoding).mcp2.0.0 → 2.2.0 (GHSA-84m7-p3x7-pcfv, CVE-2026-59951: unbounded session accumulation in the StreamableHTTP
transport). (Dependabot #356)certifi≥ 2026.10.19 (GHSA-6q48-6c7w-9gw2 / PYSEC-2026-4320: bundled emSign roots with compromised
intermediate CA keys). Floor declared next tohttpx.- OpenTelemetry
api/sdk/exporter-otlp-proto-http≥ 1.45.1 (GHSA-xcq7-p3pf-p88h: unbounded tracestate
parsing inopentelemetry-api). virtualenv≥ 21.14.9 (dev extra; pre-commit's dependency) to clear CVE-2026-113716–113776
(activation scripts, symlink-following file creation).filelock≥ 4.2.1 (dev; CVE-2026-112940 and Windows ReadWriteLock / oplock GHSAs) and
msgpack≥ 1.2.3 (dev; CVE-2026-114613).
Fixed
- Tool error messages survive
mcp2.2.0. The SDK now replaces the message of any exception that is not a
ToolErrorwith a generic "Error executing tool ". MCPg's own errors (MCPgErrorsubclasses, e.g. an
unconfigured NL→SQL provider that names the env var to set) are re-raised asToolErrorby the call wrapper, and the
audit log records their text; the heavy-diagnostics gate raisesToolError. Unexpected exceptions keep the SDK's
generic message. The wrapper reads theMCPgErrorfrom the exception's__cause__or, failing that, its__context__
(CodeRabbit on #356). run_selectkeeps the validator's inner verdict (GH #364).Error validating query: <sql>now includes the
cause (Function pg_read_file is not allowed, …) so mcp 2.xToolErrorwrapping does not leave the client with
only the SQL text. Client-session tests cover a disallowed function and an undefined-column error. Disallowed-statement
messages no longer appendstr(stmt)AST dumps (those can render literal passwords).
Changed
- SQL allowlist:
jsonb_exists,jsonb_exists_any,jsonb_exists_all. These are the function spellings of the
already-allowed jsonb operators?/?|/?&(GH #364).