Jeremiah Lowin
38036b1f42
Add automatic MCP list change notifications and client message handling
...
Implements comprehensive notification system for tools, resources, and prompts with automatic client updates and flexible message handlers.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-24 22:33:06 -04:00
Jeremiah Lowin
085c5b765b
Update docs and tests
2025-06-19 17:06:54 -04:00
Jeremiah Lowin
607125abf8
Update tool manager
2025-06-19 11:04:50 -04:00
Goro
4c60119767
Add missing tests
2025-06-16 08:10:34 +02:00
Goro
57e0b03711
Run pre-commit and fix typing issues
2025-06-16 07:12:41 +02:00
Goro
d2b2243957
Add file utility type and tests
2025-06-16 00:23:11 +02:00
Jeremiah Lowin
06dcff3b3b
Add tests
2025-06-14 09:22:29 -04:00
Jeremiah Lowin
46ab813de6
Deprecate top-level import
2025-06-14 09:12:21 -04:00
William Easton
1a6bb55b27
add examples to param transformation
2025-06-11 13:43:11 -05:00
Jeremiah Lowin
7ca0da7577
Add test for disabled transformation tools
2025-06-10 11:10:14 -04:00
Jeremiah Lowin
9b201cfd74
Update test_tool_transform.py
2025-06-09 17:24:11 -04:00
Jeremiah Lowin
ac89a09332
fix typing
2025-06-09 17:21:01 -04:00
Jeremiah Lowin
f8854fb3fd
Add documentation
2025-06-09 17:18:04 -04:00
Jeremiah Lowin
52700a4e22
Use hide instead of drop
2025-06-09 12:38:48 -04:00
Jeremiah Lowin
642f9149d4
Allow setting type with ArgTransform
2025-06-07 17:32:22 -04:00
Jeremiah Lowin
a147eb17f4
Add tool transformation
2025-06-07 17:04:21 -04:00
Jeremiah Lowin
d1549c3d35
Remove empty parens
2025-06-04 15:37:55 -04:00
Jeremiah Lowin
cc541d6eee
Ensure tool serializer is applied
2025-06-04 12:47:12 -04:00
Jeremiah Lowin
7d520ec5d1
Use strict basemodel for Prompt; relax from_function deprecation
2025-06-04 10:46:48 -04:00
Jeremiah Lowin
6014e880ef
Update test_tool_manager.py
2025-06-04 10:24:03 -04:00
Jeremiah Lowin
0b8bf825c1
Merge branch 'main' into transform-tools
2025-06-04 10:22:15 -04:00
Jeremiah Lowin
3a3c01708d
Split Tool into Tool and FunctionTool
2025-06-04 10:19:14 -04:00
William Easton
246111bba7
Fix missing import
2025-06-02 10:08:48 -05:00
William Easton
b57f5fd9fc
Merge branch 'main' into tool_tests
2025-06-01 23:20:43 -05:00
Jeremiah Lowin
f1e3713fc6
Update test typing
2025-05-31 20:41:18 -04:00
William Easton
72e999d4be
Apply suggestions from code review
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-31 15:48:43 -05:00
William Easton
cf5d0c9e95
add test for list case and lint
2025-05-31 14:49:35 -05:00
William Easton
b086dd4f32
Add content tests, fix array wrapping single objects
2025-05-31 14:39:54 -05:00
Jeremiah Lowin
010170337f
Ensure that tools/templates/prompts are compatible with callable objects
2025-05-23 18:53:55 -04:00
Jeremiah Lowin
53b067b4e7
Make error masking configurable
2025-05-22 09:08:16 -04:00
Jeremiah Lowin
6b4f700a59
Improve handling of exceptiongroups when raised in clients
2025-05-14 19:34:17 -04:00
Jeremiah Lowin
08d54ef65b
Merge pull request #437 from davenpi/feat/remove-tool
...
feat: add support for removing tools from server
2025-05-13 18:36:18 -04:00
davenpi
a6b7da4599
chore: unify tool not found error message
2025-05-13 16:54:16 -04:00
davenpi
d6f7dab9e6
feat: add support for removing tools from server
2025-05-13 16:39:04 -04:00
Jeremiah Lowin
6fa7c1704a
Improve error handling for tools and resources
2025-05-13 14:19:55 -04:00
strawgate
a12edd7be5
fix recursive calls
2025-05-08 20:33:41 -05:00
Jeremiah Lowin
82aa53e09b
Refactor context to avoid unecessary passing
2025-05-06 21:24:29 -04:00
Jeremiah Lowin
112b91f521
create a setting for legacy parsing
2025-05-06 13:21:38 -04:00
Jeremiah Lowin
c449f1d697
Handle args/kwargs appropriately for various objects
2025-05-04 15:00:26 -04:00
Jeremiah Lowin
c63fcc96ea
Remove is_async attribute
2025-05-04 12:18:28 -04:00
Jeremiah Lowin
70598d4d7b
Update test_tool.py
2025-05-04 12:07:47 -04:00
Jeremiah Lowin
51a867c3af
Replace custom parsing with TypeAdapter
2025-05-04 12:07:00 -04:00
Jeremiah Lowin
d10e426d03
Ensure that tool serialization has a graceful fallback
2025-05-03 12:30:41 -04:00
strawgate
d1eb1812f3
address PR feedback
2025-05-03 10:41:16 -05:00
strawgate
80f7487f36
Add an example of a custom serializer implementation
2025-05-03 06:48:50 -05:00
Jeremiah Lowin
517b5358dd
Merge pull request #290 from jlowin/json
...
use pydantic_core.to_json
2025-04-30 18:12:27 -04:00
Jeremiah Lowin
87031a62de
Improve context injection type checks
2025-04-30 18:03:52 -04:00
Jeremiah Lowin
a9253d3111
use pydantic_core.to_json
2025-04-30 17:29:38 -04:00
Jeremiah Lowin
b81d1a11ec
Indicate that Image class is for returns
2025-04-24 12:11:00 -04:00
Jeremiah Lowin
5ff93f6bd6
Add mount tests
2025-04-15 21:03:00 -04:00