conformance/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felix Weinberger 37225cef7d
fix: create fresh Server per request in auth test helpers (#141)
The auth test server helper and no-dns-rebinding-protection example
reused a single Server instance across requests, calling connect()
on each new transport. SDK v1.26.0's security fix (GHSA-345p-7cg4-v4c7)
now throws "Already connected to a transport" in this case.

Fix by wrapping Server creation in a factory function called per
request, matching the pattern already used by tools_call.ts and
everything-server.ts.

Also updates no-dns-rebinding-protection.ts to use registerTool()
instead of the deprecated tool() API.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 19:22:16 +00:00
..
clients/typescript feat: add resource parameter validation tests (RFC 8707) (#118) 2026-01-23 18:21:46 +00:00
servers/typescript fix: create fresh Server per request in auth test helpers (#141) 2026-02-10 19:22:16 +00:00