Keploy
Lets your AI agent generate and run API tests from OpenAPI, curl, Postman or real user traffic.
19k stars on GitHubby KeployLicense Apache-2.0Updated 18 days ago
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://api.keploy.io/client/v1/mcp
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http keploy https://api.keploy.io/client/v1/mcp --header "Authorization: <your value>"
What to fill in
| Name | What it is | Required |
|---|---|---|
Authorization | Keploy API key as a Bearer token. Generate a one-time-viewable key at https://app.keploy.io/settings/api-keys, then paste the full header value including the 'Bearer ' prefix (e.g. 'Bearer kep_...'). | Yes |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Record the API calls while I run my app and turn them into tests
Run the recorded Keploy tests for my app
What it is
Keploy records API calls, database queries and streaming events from your running app, then replays them as tests and mocks. It uses eBPF to capture traffic, so you do not change your code and it works with any language. The registry says its MCP server can generate and run end-to-end API tests.
What it can do
keploy record: capture real API traffic as tests and mockskeploy test: replay tests offline without external dependencies- Generate tests from OpenAPI or Swagger schemas
- Record databases (Postgres, MySQL, MongoDB) and queues (Kafka, RabbitMQ)
- Time freezing for deterministic replays
- Coverage reports for statements, branches and API schema
When to use
- βΊWhen you want API tests without writing them by hand
- βΊWhen you need to test code that depends on databases or queues
- βΊWhen you want to raise API test coverage in CI
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
cli-anything-wiremockLets your agent set up and manage WireMock mock servers, create fake API responses, check the requests received, and record real traffic.tdd-guideHelps your agent write tests first, generate test cases and mocks, and close coverage gaps in Jest, Pytest, JUnit and Vitest.testing-patternsTeaches your agent how to build reliable tests, explaining when to use unit, integration and end-to-end tests and when to use mocks.Frequently asked questions
Is it open source?
The readme calls it an open-source platform. It also notes that some dependencies are not open-source and are not supported in Keploy enterprise.
Do I need to change my code?
No. Run your app with keploy record. It uses eBPF, so no SDK is needed.
Which languages work?
Any language, framework or runtime, since it captures traffic at the network layer.
What does it record?
API calls, databases such as Postgres, MySQL and MongoDB, queues such as Kafka and RabbitMQ, and external APIs.
Does it work in CI?
Yes. It runs from the CLI, in Jenkins or GitHub Actions, or across a Kubernetes cluster.
How do I install it?
Run the install script from the readme: curl -fsSL https://keploy.io/install.sh.
If it does not work
- βΊIf the installer download fails, check your internet connection and run the install command again.
- βΊUse the --delay option, for example keploy test -c "CMD" --delay 10, to give your app time to start.
- βΊSee keploy.io/docs for installation and quickstart help for your setup.
5 new skills a week. 1 minute to read.