v2.2.0: Compose Yourself
This release contains a significant refactor of server composition, including the ability to "live" mount local or remote servers and automatically inherit any changes and lifecycle attributes.
There are a number of breaking changes on internal APIs that are unlikely to affect users.
What's Changed
New Features 🎉
- Allow tool manager to store an alternative name for tools by @jlowin in #168
- Add custom key for storing resources by @jlowin in #170
- Generate MCP resources and templates on respective classes by @jlowin in #171
- Create MCP prompts on object; fix issue with forwarding proxy templates by @jlowin in #173
- Move test servers; default SSE to 127.0.0.1 by @jlowin in #182
- Add npx validation by @kongqi404 in #181
Fixes 🐞
Breaking Changes 🛫
Docs 📚
Other Changes 🦾
- Add transport kwargs for mcp.run() and fastmcp run by @jlowin in #161
- Allow resource templates to have optional / excluded arguments by @jlowin in #164
- Update resources.mdx by @jlowin in #165
New Contributors
- @kongqi404 made their first contribution in #181
Full Changelog: v2.1.2...v2.2.0