This is an external plugin deployment for the NemoCheck guardrails adapter. It references the core NemoCheck implementation from the nemocheck plugin directory.
- Core Implementation:
plugins/examples/nemocheck/plugin.pycontains the actual NemoCheck logic - External Deployment: This directory (
nemocheck_external) configures and deploys the plugin as an external MCP server - Shared Logic: The config references
nemocheckto use the core implementation without code duplication - Container Build: The Containerfile copies the
nemocheckdirectory during build to include the core implementation
-
Run NeMo Guardrails check server. Instructions are the same as in the internal plugin here
-
Update
DEFAULT_GUARDRAILS_SERVER_URLvariable in k8deploy/deploy.yaml to point to guardrails check server endpointcd plugins-adapter/plugins/examples/nemocheck_external make deploy -
Non-kind k8 cluster instructions
cd plugins-adapter/plugins/examples/nemocheck_external make deploy make container-build # push image to your container repo and update image name in k8deploy/deploy.yaml kubectl apply -f k8deploy/deploy.yaml
-
Update plugin adapter to call this as an external plugin
cd ../../.. #project root directory plugins-adapter`
cp resources/config/external_plugin_nemocheck.yaml resources/config/config.yaml
make allTo install dependencies with dev packages (required for linting and testing):
make install-devAlternatively, you can also install it in editable mode:
make install-editable- Copy .env.template .env
- Enable plugins in
.env
This project uses chuck-mcp-runtime to run external plugins as a standardized MCP server.
To build the container image:
make buildTo run the container:
make startTo stop the container:
make stop