python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

The official Python SDK for Model Context Protocol servers and clients

Results 229 python-sdk issues
Sort by recently updated
recently updated
newest added

### Initial Checks - [x] I confirm that I'm using the latest version of MCP Python SDK - [x] I confirm that I searched for my issue in https://github.com/modelcontextprotocol/python-sdk/issues before...

bug
ready for work
P0

## Motivation and Context As raised in https://github.com/modelcontextprotocol/python-sdk/issues/1495, one of the changes in https://github.com/modelcontextprotocol/python-sdk/pull/1324 included raising an error if PRM endpoint request failed. This caused backwards compatibility issues with MCP...

auth
P1

The current name is not very intuitive considering the class name and the module.

enhancement

## Summary Replaces environment variables with command-line arguments in the simple-auth-client example, providing a more flexible and intuitive interface for specifying server URLs and transport types. ## Motivation and Context...

enhancement
P3

### Initial Checks - [x] I confirm that I'm using the latest version of MCP Python SDK - [x] I confirm that I searched for my issue in https://github.com/modelcontextprotocol/python-sdk/issues before...

bug
needs repro

### Initial Checks - [x] I confirm that I'm using the latest version of MCP Python SDK - [x] I confirm that I searched for my issue in https://github.com/modelcontextprotocol/python-sdk/issues before...

bug
ready for work
P2

Added comprehensive guidance documentation comparing FastMCP (high-level) and Low-Level Server implementations for StreamableHTTP MCP servers in Python, helping developers choose the right approach for their use case ## Motivation and...

Currently, the OAuth2 PKCE implementation in [src/mcp/client/auth.py](https://github.com/modelcontextprotocol/python-sdk/blob/d0443a18328a2fc9e87da6feee9130f95c0b37a7/src/mcp/client/auth.py#L312-L313) stores the `state` and `code_verifier` in memory only, which prevents splitting the OAuth authorization flow across multiple processes. This is common for apps...

auth
enhancement

The refs structure of common json schema means the $defs of input objects get defined once per tool . Perhaps referenced object schemas could be provided separately from the input...

good first issue
enhancement
ready for work
P3