typescript-sdk/src/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Basil Hosmer bb28098d81
feat: add server-side support for tool outputSchema with backward compatibility
- Update McpServer to support registering tools with outputSchema
- Add automatic content generation from structuredContent for backward compatibility
- Add validation to ensure proper usage of structuredContent vs content
- Add comprehensive tests for outputSchema functionality
- Add example servers demonstrating structured output usage
- Update existing test to match new backward compatibility behavior

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-15 10:02:02 -04:00
..
auth.test.ts feat: update TypeScript SDK to implement draft spec changes for structured tool output 2025-05-15 10:02:02 -04:00
auth.ts feat(auth): support custom scope in authorization requests (#491) 2025-05-14 18:45:18 +01:00
cross-spawn.test.ts Fix lints 2025-03-26 10:12:19 +00:00
index.test.ts feat: add server-side support for tool outputSchema with backward compatibility 2025-05-15 10:02:02 -04:00
index.ts feat: add server-side support for tool outputSchema with backward compatibility 2025-05-15 10:02:02 -04:00
sse.test.ts Add failing tests 2025-05-12 11:25:41 -04:00
sse.ts fix: preserve custom paths in SSE endpoint URLs 2025-05-12 11:09:12 -04:00
stdio.test.ts Update tests and CLI 2024-10-11 16:49:22 +01:00
stdio.ts Add stderr access before start 2025-04-30 16:46:35 -07:00
streamableHttp.test.ts Add auth flow on 401 during POST request test case on StreamableHTTP transport 2025-04-25 16:27:58 +02:00
streamableHttp.ts small fixes after suggested changes 2025-04-17 17:34:15 +01:00
websocket.ts Report errors when start() is called multiple times 2024-10-16 13:14:47 +01:00