-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
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 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:
- Serve
/.well-known/oauth-protected-resourcemetadata 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
StreamableHttpServerTransportclass 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels