Cli logo

Cli

by @kurlo

Runs Git-based API collections in CI and exposes requests, tests, environments, and workspace edits to AI agents over MCP.

Install Cli

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "kurlo-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@kurlo/cli"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y @kurlo/cli

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

@kurlo/cli runs Kurlo API collections from YAML repositories and serves those collections to AI agents through MCP. Agents can discover environments and collections, execute saved requests or full collections, send one-off calls, edit requests and tests, save response examples, and update variables. Authentication, scripts, tests, and {{variables}} are handled during execution, while secret values are masked from model output. Reach for it when API workflows need to run in CI or be operated from an MCP-compatible coding assistant.

Use cases

  • Run API collections as CI checks
  • Ask an agent to diagnose a failed request
  • Create requests and tests in a Git-backed workspace
  • Execute authenticated collection workflows from an MCP client
  • Export or run collection load tests with k6

Key features

  • MCP access to collections, environments, requests, and tests
  • CI execution with JSON, JUnit, and pretty reporters
  • Support for authentication, scripts, tests, and variables
  • Secret masking and protected-environment controls
  • Data-driven request iterations
  • k6 load-test listing, export, and local execution

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · @kurlo/cli (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars29Stargazers on the source repository.
npm downloads2.2kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.

How Cli works

What @kurlo/cli does

@kurlo/cli provides two command-line workflows for Kurlo workspaces. The run command executes API requests and their scripts and tests for CI. The mcp command exposes a workspace to AI agents through the Model Context Protocol.

Kurlo workspaces are stored as YAML in a Git repository. The CLI can run saved requests and collections with configured authentication, environments, variables, pre-request scripts, and test scripts. It also supports one-off requests using the workspace's {{variable}} values.

The MCP interface lets an agent inspect collections and environments, execute requests or complete collections, create and modify requests and pm.* tests, save responses as named examples, and set environment variables. It can read the most recent request sent from the Kurlo app, allowing an agent to investigate a failure without requiring the response to be copied into chat.

How it works

Run the package with npx -y @kurlo/cli, or use a prebuilt CLI binary for macOS, Linux, or Windows on x64 and arm64. A CI run points at a workspace directory and can select an environment, for example:

Terminal
npx -y @kurlo/cli run ./workspace --env CI

The runner supports data-driven iterations, pretty, JSON, and JUnit output, variable export, and non-zero exit status when execution fails. Collection load-test commands can list load tests, export k6 scripts, or run local k6 tests with threshold results and reports.

Start the MCP service with the mcp command. Kurlo handles the request's configured authentication, scripts, tests, and variables while keeping secret values out of model-visible results. Environments marked protected cannot be accessed by the agent.

Setup and configuration

Install or invoke the npm package directly:

Terminal
npx -y @kurlo/cli --version

To configure MCP clients automatically on the machine, run:

Terminal
npx -y @kurlo/cli mcp install --env Staging

Use --project when the configuration should be written to repository files, including .mcp.json and .cursor/mcp.json, so collaborators receive the setup when they clone the project. The desktop application is not required for the CLI or MCP service.

Workspaces can define multiple environments and use {{variable}} templates in URLs, headers, parameters, bodies, and authentication fields. Secrets remain local to the workspace configuration and are sent to the target API when needed, but appear as [secret] in information returned to the model.

Tools and capabilities

  • Run saved requests and complete collections with authentication, scripts, tests, and environment variables.
  • Send one-off API calls using workspace variable substitution.
  • List collections and environments for agent-driven API work.
  • Add or edit requests and their pm.* tests in the workspace YAML.
  • Save responses as named examples and update environment variables.
  • Execute CI runs with iteration data, selectable reporters, variable export, and failure exit codes.
  • List, export, and run collection load tests through k6 workflows.

Limitations and notes

The MCP service respects protected environments and does not expose their contents to agents. Secret values may be used for API authentication, but are masked in model-visible output. Repository edits are made in the same YAML workspace format used by Kurlo, so the workspace remains suitable for version control and pull-request review. The CLI is distributed separately from the desktop application, and the desktop app is not needed to run it.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Cli

@kurlo/cli is an MCP server that connects AI agents to Kurlo YAML workspaces and their API collections. Its main tools let agents list collections and environments, run requests or complete collections, send one-off calls, edit requests and tests, save response examples, and set environment variables while masking secrets.

Run `npx -y @kurlo/cli mcp install --env Staging` to configure MCP clients on the machine. Add `--project` to write shared repository configuration to `.mcp.json` and `.cursor/mcp.json`. The desktop application is not required.

Run `npx -y @kurlo/cli run ./workspace --env CI` against the workspace directory. The command supports data-driven iterations, pretty, JSON, and JUnit reporters, variable export, and a non-zero exit code when requests or tests fail.

Yes, @kurlo/cli works with Cursor through MCP. The installer can write a repository-level `.cursor/mcp.json` when used with `--project`, allowing the shared configuration to travel with the project.

Secrets are sent to the target API when authentication requires them, but their values are masked as `[secret]` in information shown to the model. Environments marked protected are also unavailable to the agent.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCli AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kurlo-cli?style=directory)](https://allmcps.com/mcp/kurlo-cli)
HTML Embed
<a href="https://allmcps.com/mcp/kurlo-cli"><img src="https://allmcps.com/api/badge/kurlo-cli?style=directory" alt="Cli on AllMCPs" /></a>