Summary
There are 11 commits on main since the last release (3.3.0, Jul 12 2025) including two significant features that have been unreleased for ~6 months:
feat: pass ServerRequestInterface as CallContext to Tool calls (Jul 16) — renamed to Context, extended to prompts and resources
feat: add middleware support to HttpServerTransport and StreamableHttpServerTransport (Aug 9)
Why this matters
We're building an OAuth-protected MCP server (RFC 9728) and need to:
- Serve
/.well-known/oauth-protected-resource metadata endpoint
- Validate Bearer tokens before MCP processing
The middleware feature on main is exactly what we need. Without a release, the only options are:
- Depend on
dev-main (risky for production)
- Copy the entire 600+ line
StreamableHttpServerTransport class to add pre-request logic
Commits since 3.3.0
| Commit |
Description |
| feat |
Pass ServerRequestInterface as Context to tool/prompt/resource calls |
| feat |
Add middleware support to HTTP transports |
| fix |
Handle parameter-level schema definition override |
| tests |
Context, middleware, parameter schema tests |
| chore |
Changelog, gitignore, naming cleanup |
Request
Could you tag a new release (3.4.0 or 4.0.0 if there are breaking changes from Context introduction)?
Thank you for the library — it's the most mature PHP MCP server SDK available.
Summary
There are 11 commits on
mainsince the last release (3.3.0, Jul 12 2025) including two significant features that have been unreleased for ~6 months:feat: pass ServerRequestInterface as CallContext to Tool calls(Jul 16) — renamed toContext, extended to prompts and resourcesfeat: add middleware support to HttpServerTransport and StreamableHttpServerTransport(Aug 9)Why this matters
We're building an OAuth-protected MCP server (RFC 9728) and need to:
/.well-known/oauth-protected-resourcemetadata endpointThe middleware feature on
mainis exactly what we need. Without a release, the only options are:dev-main(risky for production)StreamableHttpServerTransportclass to add pre-request logicCommits since 3.3.0
Request
Could you tag a new release (3.4.0 or 4.0.0 if there are breaking changes from Context introduction)?
Thank you for the library — it's the most mature PHP MCP server SDK available.