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

Fixes #1401. - Logs and raises exceptions in the default ClientSession message handler. Includes test that verifies exceptions passed to the default handler are properly raised. - Makes session more...

### 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

Add support for specifying NotificationOptions in FastMCP and lowlevel Server creation ## Motivation and Context Currently there is no straightforward way to specify FastMCP server notification capabilities. Some clients do...

enhancement

Introduce resource not found error handling following the MCP specification. This change ensures that when a resource is not found, the server returns error code `-32002` (RESOURCE_NOT_FOUND) as specified in...

bug
breaking change
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
improves spec compliance
ready for work
P3

### Question Agents talking to deployed MCP Server, SSL verification is failing. Has some been through this? ### Additional Context I have a server up and running and is able...

question

### 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
good first issue
P3

## Implement SEP-986: Tool Name Guidance for Tool Type ### Changes - Added a length check that raises an error when the tool name is not within the allowed range:...

improves spec compliance
P2

## Motivation and Context https://github.com/modelcontextprotocol/python-sdk/issues/881 In addition to implementing the Client Credentials grant (as referenced in the [issue linked above](https://github.com/modelcontextprotocol/python-sdk/issues/881)), I have also integrated support for the Token Exchange grant....

needs maintainer action
auth

### Question Is there a native MCP Python method to run a streaming http server running other peoples MCP implementations? For stdio there is no need to "start" a server...

question