arcade-mcp/libs/tests/core
Eric Gustin c15c07e12f
Better Handling of MCP-specific Context usage for managed servers (#679)
Since servers managed by Arcade use the `/worker` routes under the hood,
tools that use MCP-specific properties of `Context` will fail.

This PR helps reduce the 'blast radius' of the above fact. For
properties that were deemed 'non-critical' to the execution of a
deployed tool, we simply no-op. For properties that were deemed
'critical' to the execution of a deployed tool, we raise an error that
informs the caller that the feature is not supported for Arcade managed
servers.

- Non-critical property: A context property that returns None
- Critical property: A context property that may return something that
could be necessary for a tool execution to succeed.
2025-11-07 10:26:56 -08:00
..
converters MCP Local (#563) 2025-09-25 15:28:15 -07:00
usage Server start events (#635) 2025-10-22 16:14:52 -07:00
utils Fix MCP capabilities, examples, tests, and more (#657) 2025-10-30 11:59:00 -07:00
test_catalog.py Rename some 'toolkit' references to 'server' (#624) 2025-10-14 18:42:27 -07:00
test_discovery.py MCP Local (#563) 2025-09-25 15:28:15 -07:00
test_executor.py Tool Error Handling (#539) 2025-09-10 10:45:18 -07:00
test_output.py Improve Typedict and Basemodel support (#523) 2025-08-27 16:50:09 -07:00
test_parse.py 🏗️ Restructure: Multi-Package Architecture + uv Migration (#412) 2025-06-11 16:48:17 -07:00
test_schema.py MCP Local (#563) 2025-09-25 15:28:15 -07:00
test_schema_mcp_degradation.py Better Handling of MCP-specific Context usage for managed servers (#679) 2025-11-07 10:26:56 -08:00
test_schema_validation.py Tool Error Handling (#539) 2025-09-10 10:45:18 -07:00
test_toolkit.py Fix venv files not being found (#525) 2025-08-01 12:12:35 -07:00
test_typeddict_output_execution.py Improve Typedict and Basemodel support (#523) 2025-08-27 16:50:09 -07:00