Skip to content

v0.3.1-alpha

Choose a tag to compare

@salty-flower salty-flower released this 18 Jan 16:54
· 14 commits to main since this release

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