@rules-cascade/cli
v1.0.0-alpha.11
Published
The rcas command: check, test and evaluate Rule Cascade rulesets, and serve them to AI agents over MCP. Installs the prebuilt binary for this platform. Run it with npx -y @rules-cascade/cli <command>.
Maintainers
Readme
@rules-cascade/cli
The rcas command of Rule Cascade:
check, test and evaluate rulesets, and serve them to AI agents over MCP.
The package holds no JavaScript engine: npm installs the prebuilt rcas binary for your platform
(Linux, macOS and Windows, on x64 and arm64) as an optional dependency, and the rcas command runs it.
Install
npm install -g @rules-cascade/cli
rcas --helpOr run it without installing:
npx -y @rules-cascade/cli --helpAs an MCP server
npx -y @rules-cascade/cli mcpThe command speaks MCP over standard input and output, so an MCP client can start it with that
command line. npx -y @rules-cascade/cli mcp --http 127.0.0.1:8765 serves it over HTTP instead, at
http://127.0.0.1:8765/mcp, for clients that take a URL. Without installing anything, agents can use
the hosted server at https://mcp.rulescascade.com/mcp: it knows the specification and checks,
evaluates and derives the rulesets an agent sends it, but cannot see or change a project.
Other ways to install
curl -fsSL https://rulescascade.com/install.sh | sh # Linux and macOS
irm https://rulescascade.com/install.ps1 | iex # Windows PowerShell
go install rulescascade.com/go/cmd/rcas@latest # from source, with GoIf npm skipped the optional dependency (for example with --omit=optional), rcas says which
package is missing. To run a binary you installed some other way through this package, set
RCAS_BINARY_PATH to its path.
Documentation
https://rulescascade.com/reference/cli/
License
Apache-2.0. See LICENSE and NOTICE.
