• v0.8.0 8668a04211

    Ghost released this 2024-11-13 09:50:36 -05:00 | 966 commits to main since this release

    No known key found for this signature in database
    • Added example servers demonstrating common use cases:

      • simple-prompt: Example server exposing a customizable prompt template
      • simple-resource: Example server exposing sample text files as resources
      • simple-tool: Example server implementing a website fetching tool
    • Added client capability checking:

      • New check_client_capability() method to verify specific capabilities
      • Store client parameters from initialization request
      • Improved type safety for capability verification
    • Minimum supported Python version is now explicitly set to 3.10

    • Removed re-exported types from mcp.server - clients should now import directly from mcp.types

    • Removed helper types from mcp.server.types in favor of using spec types directly from mcp.types

    • Renamed mcp.server.types to mcp.server.models with minimal required types

    • More explicit type safety with RequestContext[ServerSession] return type

    • Simplified server architecture by reducing abstraction layers

    • Improved package infrastructure with PyPI release workflow

    • Added GitHub Actions workflows for releases and checks

    • Added README files for all example servers

    • Improved main package documentation

    • Updated installation instructions to reflect new package name

    • @dsp-ant (David Soria Parra)

    None

    pip install mcp==0.8.0
    

    For more information, please see the documentation.

    Downloads