Releases: salty-flower/ModelContextProtocol.NET
Releases · salty-flower/ModelContextProtocol.NET
v0.3.2-alpha
🐞 Bug Fixes
Core
- Used
RpcId
forProgressToken
to allow both string and integer values
Server
- Corrected lifetime of
SessionFacade
to singleton
Hosting Integration
- Refined the default-logger-removal target to
ConsoleLoggerProvider
.
KeptILogger<>
andILoggerFactory
as they are probably needed
Demo-Calculator-NativeAOT-2025.01.25-07-19
v0.3.1-alpha
ModelContextProtocol.NET v0.3.1-alpha
⚠️ Breaking Changes
-
Server Builder API Changes
- Simplified builder pattern with exposed registries
- Changed how tools and resources are registered
// Old way builder.AddTool(...); ... // New way builder.Tools.AddHandler(...); ...
-
Session Management
- Introduced new session facade pattern. Use
ISessionFacade
instead ofISessionContext
in tool handler constructor.
- Introduced new session facade pattern. Use
🚀 New Features
Hosting Integration
- Added .NET Generic Host support
Tools
- Added functional tool handler support
- Made contexts optional in handlers
- Added convenience operators for
TextContent
Demo-Calculator-NativeAOT-2025.01.18-16-39
Demo-Calculator-NativeAOT-2025.01.14-15-09
What's Changed
- Now supports functions as tool handlers
Full Changelog: Demo-Calculator-NativeAOT-2024.12.18-17-38...Demo-Calculator-NativeAOT-2025.01.14-15-09