Repository navigation
v0.3.2
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 andsafe_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 /mcpstream, and throughsubscriptions/listenfor stateless 2026-07-28 clients. Resource updates go throughnotify_resource_updated()(#50, #51). - Middleware:
@server.middlewarearound every request and@server.tool_middlewarearound 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:
RedisStorelets several workers share sessions, call caps, rate limits and cancellation (#49). - Traces and metrics: OpenTelemetry
SERVERspans per message (new[otel]extra), and Prometheus text atGET /metricswith 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