Releases: modelcontextprotocol/typescript-sdk
Releases · modelcontextprotocol/typescript-sdk
1.4.1
What's Changed
- Improve SSE error code reporting by @jspahrsummers in #137
Full Changelog: 1.4.0...1.4.1
1.4.0
What's Changed
- Add instructions for starting the server transport by @jspahrsummers in #132
- More README improvements by @jspahrsummers in #136
- feat: add mcp client instruction support by @kalvinnchau in #133
- Use
eventsource
package, to permit custom headers for SSE by @jspahrsummers in #134
Full Changelog: 1.3.2...1.4.0
1.3.2
What's Changed
- Fix attempted double registration of completion handlers by @jspahrsummers in #131
Full Changelog: 1.3.1...1.3.2
1.3.1
What's Changed
- Fix README examples not using
ResourceTemplate
class by @jspahrsummers in #125 - Fix registering multiple tools/resources/prompts by @jspahrsummers in #126
Full Changelog: 1.3.0...1.3.1
1.3.0
What's Changed
This release introduces a simplified, Express-like API, similar in spirit to the FastMCP API of the Python SDK, but adapted to the conventions of the JavaScript ecosystem.
The simplified API should make it easier to develop and iterate on MCP servers, as tools and resources are now easier to declare incrementally. See the quick start in the README for more information.
Full Changelog: 1.2.0...1.3.0
1.2.0
What's Changed
- fix: add cjs format support by @ycjcl868 in #110
- feat: add optional instructions field to server _oninitialize by @kalvinnchau in #120
New Contributors
- @ycjcl868 made their first contribution in #110
- @kalvinnchau made their first contribution in #120
Full Changelog: 1.1.1...1.2.0
1.1.1
What's Changed
- Improve type inference from Zod schemas by @jspahrsummers in #114
- Added clean shutdown + tests by @jerome3o-anthropic in #115
Full Changelog: 1.1.0...1.1.1
1.1.0
What's Changed
- chore: satisfies npm-pkg-lint & publint by @nekomeowww in #94
- Add missing imports in
README.md
example by @TheFloatingString in #100 - feat(client/sse): add {EventSource,Request}Init options param by @chrisdickinson in #109
- Updates SDK error codes to use JSON-RPC server error range by @sumitesh9 in #103
New Contributors
- @TheFloatingString made their first contribution in #100
- @chrisdickinson made their first contribution in #109
- @sumitesh9 made their first contribution in #103
Full Changelog: 1.0.4...1.1.0
1.0.4
What's Changed
- Add a parsedBody optional parameter by @brn in #81
- chore: bump outdated versions in package-lock.json by @nekomeowww in #93
- fix: propagate notification params by @jerome3o-anthropic in #98
New Contributors
- @brn made their first contribution in #81
- @nekomeowww made their first contribution in #93
- @jerome3o-anthropic made their first contribution in #98
Full Changelog: 1.0.3...1.0.4
1.0.3
What's Changed
- Declare capabilities, fix imports in README examples by @jspahrsummers in #75
- Fix method name in client cancellation send by @efritz in #76
New Contributors
Full Changelog: 1.0.1...1.0.3