Microsoft Announces Type Server Protocol, Extension of Language Server Protocol
Summary
The Type Server Protocol (TSP) defines a JSON-RPC API for a Python type server, reusing Language Server Protocol (LSP) data shapes to expose type analysis data. It covers versioning, startup sequences, snapshot handling, multi-connection modes, and a defined surface of messages for querying types. The document outlines how clients and servers negotiate capabilities and how extra connections are managed.