Skip to content

v0.3.2

Choose a tag to compare

@Mark007-R Mark007-R released this 19 Oct 16:30
· 28 commits to main since this release
a099f2c

easy-mcp-kit 0.3.2 completes the v0.3 milestone: six features that take a server from "tools over HTTP" to something you can run in production with several workers.

What's new

  • Resources, prompts and completion: @server.resource("scheme://{var}") and @server.prompt, with argument completion, pagination, cache hints and safe_path(). Both protocol eras are supported (#51).
  • Live lists: registering a tool, resource or prompt at runtime tells connected clients. This works over stdio, SSE and the GET /mcp stream, and through subscriptions/listen for stateless 2026-07-28 clients. Resource updates go through notify_resource_updated() (#50, #51).
  • Middleware: @server.middleware around every request and @server.tool_middleware around a tool's execution. They run after the built-in checks and cannot skip them (#47).
  • OAuth 2.1 bearer tokens: the server becomes an OAuth resource server, with JWT or introspection, scopes, step-up and protected-resource metadata, next to API keys (#48).
  • Shared session store: RedisStore lets several workers share sessions, call caps, rate limits and cancellation (#49).
  • Traces and metrics: OpenTelemetry SERVER spans per message (new [otel] extra), and Prometheus text at GET /metrics with no extra dependency (#52).

Upgrading

See "Upgrading from 0.3.1" in the README for every visible change and what to do about it, and CHANGELOG.md for the full list.

pip install -U "easy-mcp-kit[redis,otel,oauth]"

What's Changed

  • SECURITY: list 0.3.x as the supported line by @Mark007-R in #45
  • Record the demo video and code snapshots for 0.3.1 by @Mark007-R in #46
  • Add request and tool middleware by @Mark007-R in #47
  • Verify OAuth 2.1 bearer tokens per the MCP authorization spec by @Mark007-R in #48
  • Share sessions between workers through a pluggable store (Redis) by @Mark007-R in #49
  • List-changed notifications and subscriptions/listen by @Mark007-R in #50
  • Resources, prompts and completion by @Mark007-R in #51
  • OpenTelemetry tracing and Prometheus metrics by @Mark007-R in #52
  • Release 0.3.2 by @Mark007-R in #53

Full Changelog: v0.3.1...v0.3.2