@modelcontextprotocol/server
2.4.0 · 23 Oct 2026Apache-2.033.9M / weekRepositoryHomepagenpmAtom feed
Your version
2.4.0 is the newest release of 2.x.
In short
2 changed
Release note
| Package | Version |
|---|---|
@modelcontextprotocol/client | 2.3.1 |
@modelcontextprotocol/server | 2.3.1 |
@modelcontextprotocol/core | 2.3.1 |
@modelcontextprotocol/server-legacy | 2.3.1 |
@modelcontextprotocol/codemod | 2.3.1 |
@modelcontextprotocol/node, express, hono, fastify | unchanged |
Changes
requireBearerAuthin@modelcontextprotocol/server-legacytakes the optionalexpectedResourcethat@modelcontextprotocol/server2.3.0 added: it accepts only tokens issued for this server (the token's audience). Off unless you set it.The npm pages of
@modelcontextprotocol/serverand@modelcontextprotocol/clientnow open with one note that links the documentation, the migration guide and the issue form.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.