MCP ExplorerExplorer

Mcp Py Sdk Report

@peter-jerry-yeon 10 months ago
1 MIT
FreeCommunity
AI Systems
Reports two issues in mcp python sdk regarding client hangs.

Overview

What is Mcp Py Sdk Report

mcp-py-sdk-report is a repository that documents issues found in the MCP Python SDK, specifically related to client hang-ups during log notifications and response handling.

Use cases

Use cases include identifying and resolving client hang issues in applications using MCP Python SDK, as well as ensuring compatibility with TypeScript implementations.

How to use

To use the mcp-py-sdk-report, run the Python client using the command ‘uv run client.py’ to replicate the issues. For comparison, the TypeScript version can be executed with ‘deno run -A client.ts’.

Key features

Key features include issue reporting for client hang-ups, compatibility checks with TypeScript, and detailed documentation of the problems encountered.

Where to use

mcp-py-sdk-report can be used in software development environments where MCP Python SDK is implemented, particularly in debugging and testing phases.

Content

This repository is used to report two issues that I found in mcp python sdk

  1. The client hangs when the server send a log notification after the initialization phase.
  2. The client hangs when the server sends a response having the id as string.

Both of the actions operations are valid as per specification.

They are recorded in server.py where two lines are commented out:

  • Line 10 corresponds to problem 1
  • Line 17 corresponds to problem 2

For reference, the equivalent version in TypeScript is added, which works fine.

TypeScript version:

deno run -A client.ts

Python version:

uv run client.py

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers