Skip to content

Conversation

@ihower
Copy link
Owner

@ihower ihower commented Oct 22, 2025

Summary

  • allow agents to provide an mcp_config.failure_error_function so MCP tools can return handled errors instead of aborting
  • wrap MCP tool invocation to call the failure handler and add coverage for the new behaviour
  • document how to configure custom MCP error handling

Testing

  • uv run pytest tests/mcp/test_mcp_util.py

https://chatgpt.com/codex/tasks/task_e_68f89027397c8328a954f654c845f4d0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant