Types Rework

Merged
DS
2y ago
+279-503

This PR reworks how we deal with types from the spec and other types in the Python SDK. Namely it removes some helper types that were aimed to make usage slightly simpler. It also removes all re-exported types in mcp.server.

The goal is to expose more consistent modules with less potential for name collision. We are also deliberately staying a bit more low-level in how we expect results to be returned.

The best way to review this PR is by going commit to commit instead of the full PR.

Fixes #34