Feature Description
In #17 a plugin was added to interface with the "nemo check server" (server that provides /v1/guardrails/checks). When the nemo check rails indicate a request/response should be blocked (status = blocked instead of status = success), information on what checks are run will be included in rails_status and included as result.metadata. We want to make sure this information can be provided in the final MCP error provided by the adapter and that any other useful "violation" details from the plugin are surfaced in the MCP error.
Proposed Solution
- Put
rails_status information on MCP error.data
- Make sure MCP error code is reflective of the violation
- Make sure
error.message reflects the violation.reason and violation.description
Want to contribute?
Additional Context
No response
Feature Description
In #17 a plugin was added to interface with the "nemo check server" (server that provides
/v1/guardrails/checks). When the nemo check rails indicate a request/response should be blocked (status = blocked instead of status = success), information on what checks are run will be included inrails_statusand included asresult.metadata. We want to make sure this information can be provided in the final MCP error provided by the adapter and that any other useful "violation" details from the plugin are surfaced in the MCP error.Proposed Solution
rails_statusinformation on MCPerror.dataerror.messagereflects theviolation.reasonandviolation.descriptionWant to contribute?
Additional Context
No response