arcade-mcp/libs/arcade-core/arcade_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 Usage (#644) 2025-10-23 10:47:04 -07:00
__init__.py 🏗️ Restructure: Multi-Package Architecture + uv Migration (#412) 2025-06-11 16:48:17 -07:00
annotations.py 🏗️ Restructure: Multi-Package Architecture + uv Migration (#412) 2025-06-11 16:48:17 -07:00
auth.py [PROD-186][ClickUp ToolKit][Auth] Update auth modules for ClickUp auth integration (#526) 2025-08-13 14:39:01 -03:00
catalog.py Consistent Server Description and Version (#674) 2025-11-03 15:20:12 -08:00
config.py 🏗️ Restructure: Multi-Package Architecture + uv Migration (#412) 2025-06-11 16:48:17 -07:00
config_model.py Local MCP Fixes and Address General Feedback (#586) 2025-09-29 16:00:47 -07:00
constants.py Server start events (#635) 2025-10-22 16:14:52 -07:00
context.py MCP Local (#563) 2025-09-25 15:28:15 -07:00
discovery.py MCP Local (#563) 2025-09-25 15:28:15 -07:00
errors.py Tool Error Handling (#539) 2025-09-10 10:45:18 -07:00
executor.py Tool Error Handling (#539) 2025-09-10 10:45:18 -07:00
output.py Tool Error Handling (#539) 2025-09-10 10:45:18 -07:00
parse.py MCP Local (#563) 2025-09-25 15:28:15 -07:00
py.typed 🏗️ Restructure: Multi-Package Architecture + uv Migration (#412) 2025-06-11 16:48:17 -07:00
schema.py Better Handling of MCP-specific Context usage for managed servers (#679) 2025-11-07 10:26:56 -08:00
toolkit.py Fix: Skip currently executing file during tool discovery (#668) 2025-11-03 11:26:51 -08:00
utils.py Fix MCP capabilities, examples, tests, and more (#657) 2025-10-30 11:59:00 -07:00
version.py 🏗️ Restructure: Multi-Package Architecture + uv Migration (#412) 2025-06-11 16:48:17 -07:00