Skip to content

v0.3.0

Choose a tag to compare

@Mark007-R Mark007-R released this 27 Sep 08:02
· 153 commits to main since this release
201cc64

The first v0.3 release: the stateless MCP revision, and three new read-only database connectors.

pip install easy-mcp-kit                 # SQLite needs nothing more
pip install "easy-mcp-kit[mysql]"        # MySQL / MariaDB
pip install "easy-mcp-kit[mongodb]"      # MongoDB

Stateless MCP 2026-07-28

Served next to the initialize era on every transport, with nothing to configure. The era is chosen per request, so old and new clients share one server.

  • No handshake, no session. Each request carries its protocol version and client capabilities in _meta.
  • Discovery. server/discover reports the supported versions, capabilities and instructions. Results carry resultType, the server's identity, and ttlMs/cacheScope cache hints.
  • HTTP header checks. The MCP-Protocol-Version, Mcp-Method and Mcp-Name headers must each appear once and match the body (400 / -32020 otherwise), because a proxy may route on them.
  • Cancellation. Closing the connection cancels the call.
  • Verified with the official Python SDK 2.2 client in its auto, pinned and legacy modes, over HTTP and stdio.

New connectors

All three are read-only by construction, time-limited and row-capped. Each was live-tested against a real server with deliberately over-privileged accounts.

  • easy-mcp-sqlite. Needs no extra and no server; point it at a database file. The file is opened read-only, and an authorizer admits only reads, so writes, schema changes and ATTACH to other files are refused.
  • easy-mcp-mysql. Every statement runs in a rolled-back READ ONLY transaction, plus a check that admits only reading statements. Testing showed a read-only transaction still lets a privileged account run SET GLOBAL or SELECT ... INTO OUTFILE. KILL QUERY enforces the time limit on every statement type.
  • easy-mcp-mongodb. Only read operations are offered. Aggregation stages come from a reading allow-list checked through nested pipelines, so $out and $merge are refused and no stage can reach another database. Server-side JavaScript is refused, and values travel as Extended JSON both ways.

Also

  • A tools/call sent without an id no longer runs the tool, on any transport.

Full details are in CHANGELOG.md.

What's Changed

Full Changelog: v0.2.5...v0.3.0