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

**Is your feature request related to a problem? Please describe.** To run testing on local servers, I would like the option to not verify certificates. **Describe the solution you'd like**...

**Describe the bug** When using FastMCP in stdio transport mode, any tool that attempts to execute an external Python script will hang indefinitely until timeout, without returning any result or...

**Describe the bug** when multiprocessing in a tool, and start mcp client by STDIO, the mcp server never response. **To Reproduce** Steps to reproduce the behavior: 1. write mcp server:...

enhancement
ready for work
P3

**Describe the bug** The current implementation of OauthMetadata is too restrictive **To Reproduce** Steps to reproduce the behavior: 1. Initialize an OAuth config as described in the [README](https://github.com/modelcontextprotocol/python-sdk/blob/6e418e62f9446e3204f4bf889efcd9e6df76aef8/README.md#oauth-authentication-for-clients) 2. Use...

INFO: 127.0.0.1:52574 - "DELETE /mcp/ HTTP/1.1" 200 OK [05/28/25 12:07:55] INFO HTTP Request: POST http://127.0.0.1:10003/mcp "HTTP/1.1 307 Temporary Redirect" _client.py:1740 INFO HTTP Request: POST http://127.0.0.1:10003/mcp "HTTP/1.1 307 Temporary Redirect" _client.py:1740...

Hi, Thanks for the great work on this SDK! I have a question regarding the `stdio` MCP client. In particular: - Does a single `Stdio Client Session` support concurrent operations?...

**Describe the bug** When making a `tools/call` JSON-RPC request to the mcp server, passing the `arguments` parameter as a string instead of an object causes the server to stop responding...

Throwing an error when the function takes too long ```python import asyncio from mcp.server.fastmcp import FastMCP mcp = FastMCP("Demo") @mcp.tool() async def add(a: int, b: int) -> int: # await...

**Describe the bug** The code runs but at the end I get a ValueError: I/O operation on closed pipe ```shell Exception ignored in: Traceback (most recent call last): File "C:\Users\Fractal\AppData\Roaming\uv\python\cpython-3.11.11-windows-x86_64-none\Lib\asyncio\proactor_events.py",...

# Output Schema Support with Semantic Metadata Enhancement This PR adds automatic JSON Schema generation for tool return types with intelligent semantic metadata enhancement, enabling LLMs and client applications to...