Skip to content

Commit d8d68d4

Browse files
author
wenfeng.wf
committed
Fix: Upgrade MCP dependency to support protocol version 2025-06-18
Problem: - Qoder IDE uses MCP protocol version 2025-06-18 - The previous mcp dependency version (>=1.10.1) may not consistently support the 2025-06-18 protocol version - This caused initialization failures with error "transport error: context deadline exceeded" Solution: - Updated mcp dependency from >=1.10.1 to >=1.11.0 in pyproject.toml - This ensures the latest MCP SDK with full support for protocol versions: * 2024-11-05 * 2025-03-26 * 2025-06-18 (used by Qoder) * 2025-11-25 (latest) Testing: - Verified service correctly responds to initialize requests with protocolVersion 2025-06-18 - Confirmed tools/list and other MCP methods work properly after initialization - Full initialization flow tested successfully Impact: - Fixes compatibility with Qoder IDE and other clients using MCP protocol 2025-06-18 - Maintains backward compatibility with older protocol versions - No breaking changes to existing functionality
1 parent 6089fd1 commit d8d68d4

File tree

2 files changed

+193
-30
lines changed

2 files changed

+193
-30
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies = [
1010
"alibabacloud-rds20140815>=11.0.0",
1111
"alibabacloud-vpc20160428>=6.11.4",
1212
"httpx>=0.28.1",
13-
"mcp[cli]>=1.10.1",
13+
"mcp[cli]>=1.11.0",
1414
# "psycopg2>=2.9.10",
1515
"pymysql>=1.1.1",
1616
"pyodbc>=5.2.0",

0 commit comments

Comments
 (0)