typescript-sdk/src/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Chafik 617faccf8e
Add test for default protocol version negotiation in bearerAuth middleware
- Tests that when mcp-protocol-version header is missing, the middleware
  uses DEFAULT_NEGOTIATED_PROTOCOL_VERSION when calling verifyAccessToken
- Ensures proper fallback behavior for protocol version negotiation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-17 17:08:21 +01:00
..
auth Add test for default protocol version negotiation in bearerAuth middleware 2025-06-17 17:08:21 +01:00
completable.test.ts Add completable wrapper for Zod schemas 2025-01-08 15:00:33 +00:00
completable.ts Add completable wrapper for Zod schemas 2025-01-08 15:00:33 +00:00
index.test.ts Merge branch 'main' into justin/simplified-api 2025-01-13 20:34:08 +00:00
index.ts switch to optional Transport.setProtocolVersion 2025-06-13 13:36:04 +01:00
mcp.test.ts refactor 2025-06-16 10:43:31 +01:00
mcp.ts clean up mcp.ts 2025-06-16 11:00:20 +01:00
sse.test.ts Replace type casting with direct sessionId property access in SSE tests 2025-04-09 09:28:46 +08:00
sse.ts switch to optional Transport.setProtocolVersion 2025-06-13 13:36:04 +01:00
stdio.test.ts Removed unneeded test 2025-01-03 19:09:11 +00:00
stdio.ts Revert "feat: support extending McpServer with authorization" 2025-04-07 10:47:37 +01:00
streamableHttp.test.ts remove protocol version mismatch warning 2025-06-13 13:35:38 +01:00
streamableHttp.ts switch to optional Transport.setProtocolVersion 2025-06-13 13:36:04 +01:00
title.test.ts ci fix 2025-06-16 11:45:35 +01:00