# Keploy

Keploy lets an agent create and run API tests from OpenAPI, curl, Postman, or captured application traffic.

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

## What it does

Keploy connects to Claude Code as an MCP server for API and integration testing. It captures application calls to APIs, database requests, and streaming activity, then turns that traffic into replayable test cases and mocks.

The underlying tool observes traffic at the network layer with eBPF, so recording does not require an SDK or code edits. Test input can come from OpenAPI, curl, Postman, or real user flows. Recording depends on starting the application with `keploy record`, such as `keploy record -c "python main.py"`.

## Requirements
- Remote server: `https://api.keploy.io/client/v1/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http keploy https://api.keploy.io/client/v1/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add keploy --url https://api.keploy.io/client/v1/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "keploy": {
            "url": "https://api.keploy.io/client/v1/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "keploy": {
            "type": "http",
            "url": "https://api.keploy.io/client/v1/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http keploy https://api.keploy.io/client/v1/mcp
```

## When to use it
- generate API tests from an OpenAPI schema
- turn real application traffic into tests and mocks
- replay database interactions without provisioning the same infrastructure
- cover boundary values and invalid field types in API tests

## Example prompts
- Connect Keploy and create API tests from this project's OpenAPI schema.
- Record this user flow with Keploy, then replay it as an integration test with mocks.
- Find the API and database interactions that should be mocked for this test.

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

---
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
