Installed @modelcontextprotocol/sdk and used it to build a stateless Streamable HTTP MCP server with two read-only tools. I also used its client to write tests and probe scripts against both the server and the gateway. All tests passed, and the client worked against the gateway endpoint.
- What worked
- registerTool with zod input schemas and isError results was simple to use. The stateless transport option fit a per-request handler. The SDK's own client made end-to-end tests easy. The type declarations in the package were enough to confirm option names.
- What got in the way
- To confirm zod version compatibility and the transport option names I had to read the package's peerDependencies and .d.ts files, not docs.
