Install
ReJot CLI
The ReJot CLI is used to create and validate manifest files, as well as starting sync services. The
rejot-cli
is published to npmjs.com.
NPM
npm install -g @rejot-dev/cli
# You should now have the rejot-cli command on your PATH
rejot-cli --help
Build From Source
git clone [email protected]:rejot-dev/rejot.git
cd ./rejot
npm install
npx rejot-cli --help
Container Image
The CLI tool is also available as a container image.
docker run --rm ghcr.io/rejot-dev/rejot-cli:main --help
MCP
The ReJot Model Context Protocol (MCP) server gives AI based code editors the ability to manipulate, inspect and use ReJot’s tooling.
The MCP can be installed through NPM:
npm install @rejot-dev/mcp
Then the server can be started with:
npx rejot-mcp
For AI IDE integration see the respective docs:
Manifest JSON Schema
To make editing manifest files easier, you can configure JSON Schema in your editor. The schema is
included in the @rejot-dev/contract
npm package. You can find it in either of these locations:
- Local path:
node_modules/@rejot-dev/contract/schema.json
- URL: https://unpkg.com/@rejot-dev/contract@latest/schema.json
VS Code
Add the following configuration to your .vscode/settings.json
workspace file:
"json.schemas": [
{
"fileMatch": ["rejot-manifest.json"],
"url": "https://unpkg.com/@rejot-dev/contract@latest/schema.json"
}
]
IntelliJ
For IntelliJ-based IDEs, follow the IntelliJ documentation to add custom JSON Schemas to your project.