# Keploy MCP server

> Automatically generates API tests and data mocks by recording real user traffic, database queries, and streaming events.

- Repository: https://github.com/keploy/keploy
- Page: https://hostedmcp.org/servers/keploy/keploy
- Transport: remote
- Stars: 19766
- License: Apache-2.0
- Latest version: 1.0.0

## Install

### Claude Code

```sh
claude mcp add --transport http keploy https://api.keploy.io/client/v1/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "keploy": {
      "url": "https://api.keploy.io/client/v1/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

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

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.keploy]
url = "https://api.keploy.io/client/v1/mcp"
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "keploy": {
      "httpUrl": "https://api.keploy.io/client/v1/mcp"
    }
  }
}
```

## FAQ

### Do I need to change my code to use Keploy?

No, Keploy is code-less and language-agnostic because it uses eBPF to capture traffic at the network layer.

### What kind of infrastructure can Keploy virtualize?

Keploy can record and replay databases like Postgres, MySQL, and MongoDB, as well as streaming services like Kafka and RabbitMQ.

### Can Keploy be used in a CI/CD pipeline?

Yes, you can run tests locally via CLI, in CI pipelines like Jenkins or GitHub Actions, or across a Kubernetes cluster.
