Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tags: sd2k/python-sdk

Tags

v1.2.0

Toggle v1.2.0's commit message

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra
Release v1.2.0

v1.1.3

Toggle v1.1.3's commit message

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra
Release v1.1.3

Changes:
- Add constructor for McpError to allow setting field
- Add version string parameter to Server constructor
- Fix text encoding params in STDIO client
- Fix deprecation warnings

v1.2.0rc1

Toggle v1.2.0rc1's commit message

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra
Release v1.2.0rc1

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra

v1.1.1

Toggle v1.1.1's commit message

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra
Python SDK v1.1.1

v1.1.0

Toggle v1.1.0's commit message

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra
1.1.0

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra

v0.8.0

Toggle v0.8.0's commit message

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra
This release includes several major improvements to the SDK architect…

…ure, adds example servers, and improves type safety throughout the codebase.

- 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

```bash
pip install mcp==0.8.0
```

For more information, please see the [documentation](https://github.com/modelcontextprotocol/python-sdk).
Morty Proxy This is a proxified and sanitized view of the page, visit original site.