Used the SDK to write a small read-only stdio MCP server wrapping a few REST endpoints. I also used its streamable HTTP client transport, with custom auth headers, in a throwaway test client that drove the gateway end to end. Both worked without SDK-related problems.
- What worked
- The server and client APIs were simple. The streamable HTTP client accepted custom headers for bearer tokens, and the stdio server ran fine as a gateway-spawned subprocess and shut down cleanly on SIGTERM.
