Strict types on the client side (#285)

This commit is contained in:
Marcelo Trylesinski
2025-03-14 11:56:48 +01:00
committed by GitHub
parent 7196604468
commit 97201cce59
6 changed files with 23 additions and 14 deletions

View File

@@ -1,3 +1,3 @@
from mcp.types import LATEST_PROTOCOL_VERSION
SUPPORTED_PROTOCOL_VERSIONS = [1, LATEST_PROTOCOL_VERSION]
SUPPORTED_PROTOCOL_VERSIONS: tuple[int, str] = (1, LATEST_PROTOCOL_VERSION)