Skip to content

Releases: salty-flower/ModelContextProtocol.NET

v0.3.2-alpha

25 Jan 07:29
Compare
Choose a tag to compare

🐞 Bug Fixes

Core

  • Used RpcId for ProgressToken to allow both string and integer values

Server

  • Corrected lifetime of SessionFacade to singleton

Hosting Integration

  • Refined the default-logger-removal target to ConsoleLoggerProvider.
    Kept ILogger<> and ILoggerFactory as they are probably needed

Demo-Calculator-NativeAOT-2025.01.25-07-19

25 Jan 07:19
Compare
Choose a tag to compare

v0.3.1-alpha

18 Jan 16:54
Compare
Choose a tag to compare

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 of ISessionContext in tool handler constructor.

🚀 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

18 Jan 16:39
Compare
Choose a tag to compare

Demo-Calculator-NativeAOT-2025.01.14-15-09

14 Jan 15:09
Compare
Choose a tag to compare

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

Demo-Calculator-NativeAOT-2024.12.18-17-38

18 Dec 17:38
Compare
Choose a tag to compare