Kaval
v0.8.2Verify the facts an agent's action depends on before it acts — ALLOW, REVIEW, or BLOCK.
Values you need
| Variable | What it is | |
|---|---|---|
KAVAL_API_KEY | required secret | Bring-your-own Kaval bearer key (kv_live_…). Create one at https://usekaval.com. |
KAVAL_BASE_URL | optional | Point at a self-hosted or staging Kaval API instead of the hosted one. Defaults to https://api.usekaval.com. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add kaval -e 'KAVAL_API_KEY=<KAVAL_API_KEY>' -- npx -y --package=@usekaval/mcp@0.8.2 kaval-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"kaval": {
"args": [
"-y",
"--package=@usekaval/mcp@0.8.2",
"kaval-mcp"
],
"command": "npx",
"env": {
"KAVAL_API_KEY": "<KAVAL_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"kaval": {
"args": [
"-y",
"--package=@usekaval/mcp@0.8.2",
"kaval-mcp"
],
"command": "npx",
"env": {
"KAVAL_API_KEY": "<KAVAL_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "KAVAL_API_KEY",
"id": "kaval-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"kaval": {
"args": [
"-y",
"--package=@usekaval/mcp@0.8.2",
"kaval-mcp"
],
"command": "npx",
"env": {
"KAVAL_API_KEY": "${input:kaval-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.kaval]
command = "npx"
args = ["-y", "--package=@usekaval/mcp@0.8.2", "kaval-mcp"]
env = { "KAVAL_API_KEY" = "<KAVAL_API_KEY>" }For AI agents
- Ask the user for: KAVAL_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: check, get_receipt, prepare_contract_upload, ingest_contract, get_contract, list_contract_claims, list_contract_extraction_issues, review_contract_claim, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json