okproof
Checks agent-written pull requests against issue acceptance criteria using passing tests
okproof is an open-source MCP server for agent verification. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted, API
- Runs
- Locally
- Version
- 0.4.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add okproof -- npx -y okproofAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"okproof": {
"command": "npx",
"args": [
"-y",
"okproof"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"okproof": {
"command": "npx",
"args": [
"-y",
"okproof"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"okproof": {
"command": "npx",
"args": [
"-y",
"okproof"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"okproof": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"okproof"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add okproof -- npx -y okproofOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.okproof]
command = "npx"
args = ["-y", "okproof"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"okproof": {
"command": "npx",
"args": [
"-y",
"okproof"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "okproof": { "command": "npx", "args": [ "-y", "okproof" ] } } }Or run: gemini mcp add -s user okproof npx -- -y okproof
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "okproof": { "command": "npx", "args": [ "-y", "okproof" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "okproof": { "command": "npx", "args": [ "-y", "okproof" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "okproof": { "command": "npx", "args": [ "-y", "okproof" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "okproof": { "command": "npx", "args": [ "-y", "okproof" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "okproof": { "command": "npx", "args": [ "-y", "okproof" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "okproof": { "command": "npx", "args": [ "-y", "okproof" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "okproof": { "command": "npx", "args": [ "-y", "okproof" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About okproof
okproof sits in a merge check and refuses to pass a pull request until every acceptance criterion from its issue is backed by a passing test. Criteria live in a proof file in the repository, and tests claim them through a tag in their titles. The run produces a ledger that marks each criterion as met, failed, unproven or untested.
Beyond the basic gate, it includes a static lint for empty or trivial assertions, a check for tests that claim criteria they do not exercise, differential runs that compare results on the base branch and on the change, and a revert check that tests whether the suite notices when changed files are undone. An optional verifier attacks criteria and only counts bugs that reproduce on a replay without a model.
It is aimed at teams whose coding agents or developers open pull requests and need evidence that the work matches the issue. It works with Playwright and any runner that writes JUnit XML or CTRF output, and it runs as an npm package or a GitHub Action.
What it does
- Per-criterion verdicts
- Each acceptance criterion gets its own status of met, failed, unproven, flaky or untested rather than a single pass or fail.
- Weak test detection
- A static lint flags tagged tests that make no real assertion or only trivial ones, so they cannot count as evidence.
- Differential proof
- Runs the tests on the base branch and on the change to show which criteria only pass because of the change.
- Revert check
- Reverts changed files one at a time to see whether the tests for each criterion actually fail without the change.
- Runner-agnostic ingestion
- Reads JUnit XML and CTRF reports from Playwright, Vitest, Jest, pytest, Cypress, Go and others.
- Merge gate and PR comment
- Fails the required check until criteria are met and posts one updating comment with the ledger on the pull request.
Good for
- Gate merges of agent-written pull requests on evidence that each issue criterion is tested
- Find tests that claim a requirement but never assert anything meaningful
- Check whether a pull request's tests fail on the base branch and pass only with the change
- Flag pull requests that weaken or remove acceptance criteria during review
Pricing
Open source
okproof FAQ
Does okproof run my tests?
No. It reads results written by your runner, such as JUnit XML or CTRF, and works with Playwright directly.
Which test runners are supported?
Playwright, Vitest, Jest, pytest, Cypress, Go and any runner that writes JUnit XML or CTRF JSON, with guides for several other stacks.
Does okproof need a runtime dependency or an AI model?
It has no runtime dependencies. The core gate and differential checks run without a model; only the optional verifier is model-assisted.
Is okproof free?
Yes. okproof is open source, so you can use and self-host it for free.
How do I add okproof to Claude Code?
Run this command in your terminal: claude mcp add okproof -- npx -y okproof
What are the best alternatives to okproof?
The closest alternatives to okproof are AI Agent Evaluation, Verification and Disputes (Pilot), Ripae, Invar402 MCP, PoS Connect and APRVE.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.