# OrangePro

OrangePro finds functions without proven test protection, then checks tests by changing code in an isolated copy. Use it to see which testing gaps deserve attention first.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 18
- Author: OrangeproAI
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/OrangeproAI/orangepro-mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/orangepro

## What it does

The server maps public repository functions to tests that call them, then orders uncovered areas by potential impact. To verify a test, it replaces a function body in an isolated copy and runs that test. If the test still passes, the function’s behavior is not proven to be protected. Analysis and ranking run locally and need no model key.

OrangePro writes two HTML reports and `tests.csv` to `.orangepro/`. The reports show a prioritized worklist and how tests reach code; the CSV contains draft test steps, data, and expected outcomes. Draft generation for top-ranked gaps uses your own model key. Install the repository’s dependencies first, or the project analysis cannot run.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `OLLAMA_BASE_URL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env OPENAI_API_KEY=<OPENAI_API_KEY> --env ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> --env OLLAMA_BASE_URL=<OLLAMA_BASE_URL> --transport stdio orangepro -- npx -y @orangepro/mcp-server
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add orangepro --env OPENAI_API_KEY=<OPENAI_API_KEY> --env ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> --env OLLAMA_BASE_URL=<OLLAMA_BASE_URL> -- npx -y @orangepro/mcp-server
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "orangepro": {
            "command": "npx",
            "args": [
                "-y",
                "@orangepro/mcp-server"
            ],
            "env": {
                "OPENAI_API_KEY": "<OPENAI_API_KEY>",
                "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
                "OLLAMA_BASE_URL": "<OLLAMA_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "orangepro": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@orangepro/mcp-server"
            ],
            "env": {
                "OPENAI_API_KEY": "<OPENAI_API_KEY>",
                "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
                "OLLAMA_BASE_URL": "<OLLAMA_BASE_URL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e OPENAI_API_KEY=<OPENAI_API_KEY> -e ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> -e OLLAMA_BASE_URL=<OLLAMA_BASE_URL> orangepro npx -y @orangepro/mcp-server
```
Replace <…> with your own values

## When to use it
- find public functions without proven test protection
- tell a function call apart from a behavioral check
- check whether a test fails after its function is changed
- rank test gaps by potential impact
- export draft test cases as CSV

## Example prompts
- Analyze this repository’s tests and list functions without proven protection.
- Check the test for `deleteUser`: change the function in an isolated copy and run the test.
- Draft tests for the highest-priority gaps and write the reports to `.orangepro/`.

## Similar
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74559
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [SeleniumBase MCP](https://affpapa.org/en/nevibecode/mcp/seleniumbase-mcp.md) — MCP server · ★ 13169
- [mobile-mcp](https://affpapa.org/en/nevibecode/mcp/mobile-mcp.md) — MCP server · ★ 9946
- [e2e](https://affpapa.org/en/nevibecode/mcp/e2e.md) — MCP server · ★ 11912
- [mockserver](https://affpapa.org/en/nevibecode/mcp/mockserver.md) — MCP server · ★ 4996

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
