Kurlo

dev.kurlo由 kurlo.dev 发布v3.0.0更新于 Nov 7, 2026

Run, write and test the API requests saved in a Kurlo workspace, the open source API client.

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

Kurlo 开源 API 客户端的 MCP 服务器,让助手列出、运行、编写并测试保存在 Kurlo 工作区中的 API 请求。

可以做什么
  • 列出工作区中的集合与环境
  • 运行已保存的请求和整个集合,连同其认证、脚本与测试,或用工作区变量发送一次性调用
  • 新增和修改请求及其 pm.* 测试,把响应保存为示例,并设置环境变量
  • 读取桌面应用中最近发送的请求,用于解释调用失败的原因
适用场景
当你的 API 请求、测试和环境已经存放在 Kurlo 工作区中,并希望助手直接运行、扩展或排查这些请求,而不必手工复制请求与响应时适用。
运行要求
以本地 stdio 进程运行,通常通过 npx 使用 @kurlo/cli 包,无需桌面应用。需要一个已有的 Kurlo 工作区(YAML 集合);受保护环境需按工作区自身方式配置。未声明账号、API 密钥或环境变量。
安装前请注意
该服务器会写入工作区:新增或修改请求与测试、保存示例、设置环境变量。密钥值会发送给 API,但在模型可见内容中显示为 [secret],标记为受保护的环境不可访问。它运行的请求会访问真实端点,可能改动远端数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Kurlo,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Kurlo

The open-source Postman alternative your AI agent can drive.
No account, no paid plan, no telemetry. Collections live as YAML in your Git repo.

[Latest release] [GitHub stars] [CI] [License: MIT] [Platforms]

Download · Website · Docs · MCP server · Compare

[Claude Code adds tests to a Kurlo collection over MCP, finds a pricing bug and fixes it, while the tests appear in Kurlo]

Why Kurlo

  • Free for a team of any size. There is no paid plan to grow into and no account to create. A team shares a workspace through any Git host, and every request is a readable YAML file that gets reviewed in the same pull request as the API change.
  • Your Postman collections keep working. Import a Postman, Insomnia, Bruno, OpenAPI or HAR file. pm.test, pm.expect with chai, pm.sendRequest and require('lodash') run as they were written.
  • Your AI agent can use it. kurlo mcp lets Claude Code, Cursor, Codex and any other MCP client run your saved requests with their auth and tests, write new requests and tests, and explain why the last call failed. Secrets are sent to the API but never shown to the model.
  • See what the browser will do. Send a request with a browser's CORS and CSP rules and get the error before your users do. Postman, Insomnia and Bruno do not do this.
  • Small and native. Built with Go and the system WebView instead of Electron, so the macOS download is 23.2 MB and the Linux one is 12.3 MB.
KurloPostmanInsomniaBruno
Free plan✅ Every feature, any team size1 userUp to 3 Git Sync usersPrivate Git hosts need Pro
Account needed✅ NoFor collectionsBeyond Scratch PadNo
Collections in your Git repo✅Native Git in the desktop app✅✅
Postman pm.* scripts✅ Run as writtenNativeCompatibility layerConverted to bru.*
Mock server✅ Local, no capCloud, needs an account1,000 requests/mo free✅ Local
MCP✅ Client and serverClientClientCommunity servers
Browser CORS and CSP checks✅———

Checked against vendor pricing pages on 15 October 2026. Details and sources: vs Postman, vs Insomnia, vs Bruno.

If Kurlo saves you time, a ⭐ helps other people find it.


Download

Grab the latest build from the releases page.

PlatformInstaller
macOS (Apple Silicon + Intel).dmg
Windows 10/11 (x64, arm64).exe (NSIS installer), .msix
Linux (x64).AppImage

Every release ships SHA256 checksums and minisign signatures, and the in-app updater refuses any binary that fails either check.

The command line (kurlo run for CI, kurlo mcp for AI agents) is also on npm as @kurlo/cli, with prebuilt binaries for macOS, Linux and Windows on x64 and arm64. It does not need the desktop app:

bash
npx -y @kurlo/cli --version

Guides, the scripting reference, and the YAML workspace format live in the documentation site.


Features

Requests

  • All HTTP methods: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
  • Query params, headers, body (JSON, form-data, x-www-form-urlencoded, raw text/XML/HTML, binary file)
  • cURL import — paste a curl command into the URL field, it parses automatically
  • Bulk edit for params, headers and form fields — switch the table to a key: value text area and back
  • GraphQL, Server-Sent Events, WebSocket, Socket.IO, gRPC, and MCP request types — an MCP call discovers the server's tools, resources and prompts, seeds the arguments from the tool's schema, and shows the raw JSON-RPC exchange
  • Postman, Insomnia, Bruno/OpenCollection, OpenAPI/Swagger, HAR, cURL, and all-data backup import paths
  • OpenAPI/Swagger imports from a link as well as a file — paste the spec URL and Kurlo fetches it and builds the collection
  • Postman, OpenAPI, OpenCollection, and all-data backup export paths

Authentication

  • Bearer Token
  • Basic Auth
  • Digest Auth — MD5, SHA-256 and SHA-512-256 plus their -sess variants, with qop=auth and auth-int
  • API Key — in header or query string
  • OAuth 2.0 — Client Credentials, Authorization Code (with PKCE), Password, and Device Code grants; loopback browser sign-in, refresh tokens, and automatic token refresh before each send
  • AWS Signature v4
  • Client certificates (mutual TLS), per request or inherited from a collection
  • Per-request and collection defaults with inheritance

Scripting — pre-request and test scripts in sandboxed JavaScript, with legacy Tengo support:

js
// pre-request: inject a headerpm.request.headers.set("X-Client", "kurlo")
// pre-request: rewrite and sign the bodypm.request.body.update(JSON.stringify({ ...pm.request.body.json(), nonce: pm.crypto.randomHex(8) }))
// test: assert status and shapepm.test("status is 200", () => pm.response.to.have.status(200))pm.test("has an id", () => pm.response.to.have.jsonSchema({ type: "object", required: ["id"] }))

require resolves bundled stand-ins for lodash, ajv, tv4, uuid, crypto-js, and chai, so imported Postman scripts keep working. pm.sendRequest makes an HTTP call from a script, and pm.execution.skipRequest() skips the send.

Environments & Variables

  • Multiple environments per workspace, switch with one click
  • Matrix view — every variable as a row, every environment as a column, edited in place
  • {{variable}} template syntax in URLs, headers, params, body, auth fields
  • Set variables from test scripts (pm.variables.set, pm.environment.set)
  • Manual-save and autosave modes both cover request and environment edits

Workspaces & Collections

  • Multiple workspaces for separate projects or clients
  • Collections with nested folder hierarchy and empty-folder preservation
  • Drag-and-drop organisation
  • Request history — every send on its own page, request and stored response side by side, reopenable in the editor (14-day retention, 1000 entries)
  • Collection runner — sequential or parallel, data files, iterations, an HTML report, and the last run of every collection kept
  • Load testing with k6 — collection flows with extraction and checks, virtual users or iteration rates, thresholds, CSV/JSON data, script export, local runs and last-run reports
  • Git-backed YAML workspaces with diagnostics, conflict helpers, and local-only secrets
  • CLI runner — npx -y @kurlo/cli run ./workspace --env CI executes requests and their test scripts for CI, with data-driven iterations (--data), pretty/JSON/JUnit reporters, variable export, and a non-zero exit code on failure. kurlo load list|export|run lists collection load tests, exports k6 scripts or runs local k6 with threshold results and reports

AI agents (MCP server) — the Kurlo binary is also a Model Context Protocol server, so Claude Code, Codex, Cursor, Claude Desktop or any other MCP client can list your collections and environments, run saved requests and whole collections with their auth, scripts and tests, and send one-off calls with your {{variables}}. It can also keep the workspace up to date: add and change requests with their pm.* tests, save responses as examples and set environment variables, in the same YAML the app writes, never storing a secret. It reads the last request you sent from the app, so "why did that fail?" needs no copying. Secret values are sent to the API but masked as [secret] in everything the model sees, and environments you mark protected are off limits. One command sets up every client on the machine:

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

Add --project to write a repository's shared .mcp.json and .cursor/mcp.json instead, so the whole team gets the server by cloning. Manual setup, the tools and the flags are covered in the MCP server guide.

Response examples — save any response as a named example on its request: the status, headers and body it came back with, alongside the request that produced it. Secrets are redacted on capture, a clean body is stored byte for byte, and examples ride along through Postman, OpenCollection, HAR and OpenAPI imports and exports. A response can be diffed against an example instead of against the previous send.

Cookies — a per-workspace cookie jar with a per-domain editor, disableable per request.

  • Cookie sync: pair Kurlo with the in-repo browser extension (apps/desktop/extension, Chromium + Firefox) and the session you already have in the browser is the session Kurlo sends with. A loopback-only bridge that stays off until you turn it on, an approval you give in Kurlo by matching a six-digit code, and a per-domain allowlist enforced on both sides. Cookies travel one way: browser into Kurlo.

Mock server — serve a collection's saved examples over HTTP on a local port, so a client can be built against an endpoint that does not exist yet. Routing is by method and the example's path template (/orders/:id), a recorded query narrows which example answers, and a live log shows what the client asked for and which example replied. Loopback only; CORS preflight is answered for any origin.

Response viewer

  • Syntax-highlighted body with line numbers
  • Paginated rendering for large responses (512 KB pages, once a response exceeds 10 MB)
  • Full-text search with match navigation
  • Save response to file, copy to clipboard
  • Headers table, test results, script logs — all in one panel
  • Preview tab for HTML, images and PDFs; binary bodies are detected rather than rendered as mojibake
  • Diff against the previous response or a saved example
  • Timeline with connection details and the request as it went on the wire, secrets masked, one block per redirect hop
  • Realtime panels for SSE, WebSocket, Socket.IO, and gRPC responses

Code generation — copy the current request as a runnable snippet in one of 14 targets: cURL, HTTPie, JavaScript fetch, Node.js fetch, Axios, Python requests, Go net/http, Java OkHttp, C# HttpClient, PHP cURL, Ruby Net::HTTP, Swift URLSession, Kotlin OkHttp, and Rust reqwest. Secret variables stay as {{name}} placeholders.

Browser request emulation — send with a browser's rules instead of a client's: an Origin header, CORS preflight and response checks, and Content Security Policy enforcement, so a request can reproduce what the browser will do before the frontend is written.

Settings per request: HTTP version (auto / 1.1 / 2), SSL verification, redirect policy (follow, preserve method, preserve auth), cookie jar, timeout, proxy, URL encoding.

Keyboard-first: all actions have configurable shortcuts. A command palette (Cmd/Ctrl K) finds requests and runs commands, quick send (Cmd/Ctrl Enter), focus the URL (Cmd/Ctrl L), tab switching (Cmd/Ctrl 1–8, with 9 for the last tab). Kurlo shows Cmd on macOS and Ctrl on Windows and Linux.

Dark and light themes, with multiple built-in variations.

Local-first storage — the local Kurlo profile and its secrets are encrypted at rest with AES-256-GCM. The key is stored in the OS credential store when available and also kept as a 0600 recovery file in Kurlo's app-data directory. Git-backed workspace YAML is intentionally human-readable; secret values are replaced with local placeholders.


Building from source

Prerequisites

  • Go 1.25+
  • Node.js 22.12+
  • Wails v2 — go install github.com/wailsapp/wails/v2/cmd/wails@latest
  • macOS: Xcode Command Line Tools
  • Windows: NSIS (for installer builds) and Windows SDK (for MSIX packaging/signing tools)
  • Linux: libgtk-3-dev, libwebkit2gtk-4.1-dev

Dev mode (hot-reload frontend + Go backend):

bash
git clone https://github.com/stormhop/kurlocd kurlonpm installmake dev

Production build for the current platform:

bash
make build

All platforms (requires each platform's toolchain):

bash
make build-all

Run the full check suite — frontend types, unit tests, gofmt, go vet, and race-enabled Go tests:

bash
make check

See make help for every available target.


Project layout

apps/desktop/               Wails v2 desktop applicationapps/desktop/main.go        Entry point, window config, native menusapps/desktop/cmd/kurlo/     Headless CLI (run, load, mcp) published to npm as @kurlo/cliapps/desktop/internal/  api/                      HTTP executor, auth, request store, state  api/auth/                 Bearer, Basic, Digest, API Key, OAuth2, AWS SigV4  model/                    Shared Go types (request, response, auth config)  script/                   JavaScript/Tengo scripting engines + pm.* APIapps/desktop/frontend/src/  App.svelte                Root shell and layout  lib/stores/app.svelte.ts  Composed app view-model  lib/stores/features/      Feature slices for requests, collections, Git, import/export, etc.  lib/components/           UI components  lib/backend.ts            Wails bridge type definitionsapps/desktop/extension/     Cookie Sync browser extension (MV3 + Firefox event page)apps/web/                   Astro Starlight documentation sitenpm/cli/                    The @kurlo/cli npm launcher; scripts/build-npm-packages.mjs adds the binariesschemas/                    Public Git/YAML workspace JSON Schemaperf/                       Generated performance fixtures (ignored by Git)

Scripting API reference

Scripts run in a sandboxed JavaScript environment by default, or in the legacy Tengo engine for existing requests. Imports, filesystem, process, and network access are disabled. Execution timeout: 2 seconds by default, configurable per request up to 60.

The full surface — every method, the variable-scope precedence rules, and the Chai-style assertion aliases — is in the scripting API reference. The short version:

SurfaceWhat it covers
pm.requesturl, method, set_url(), headers.get/set/unset, params.get/set
pm.request.bodyraw, mode, json(), update(), plus urlencoded / formdata field lists
pm.responsecode, status, responseTime, size, body(), json(), headers.get() — test scripts only
pm.variables · pm.globals · pm.environment · pm.collectionVariablesget / set / unset / clear, differing only in which scope they read and write
pm.iterationData.get(key)The current data-row value in a data-driven run (read-only)
pm.inforequestName, eventName, iteration, iterationCount
pm.cookiesget / has / names for the cookies this request's jar would send
pm.crypto · CryptoJSMD5/SHA digests, HMAC, base64, randomHex(), uuid()
pm.sendRequest(req, cb)A synchronous HTTP call through the regular request engine
pm.execution.skipRequest()From a pre-request script, skips the send — reported as skipped, not failed
pm.test(name, fnOrResult)Register a named assertion
pm.expect(value).equal · .contains · .exists · .has_key · … plus .to.equal(v), .to.include(v), .to.have.property(k)
pm.response.to.have.*status(code), header(name), jsonBody(path?, value?), jsonSchema(schema) (draft-07)
pm.log(...values)Output to the Scripts panel

require resolves bundled stand-ins for lodash, ajv, tv4, uuid, crypto-js, and chai. There is no event loop: setTimeout, async and await are not available, and pm.sendRequest's callback runs immediately.


Contributing

Bug reports, feature requests, and pull requests are welcome. Start with CONTRIBUTING.md — it covers the dev setup, what CI enforces, and how to scope a change. Everyone taking part is expected to follow the Code of Conduct.

Found a security problem? Please don't open a public issue — see SECURITY.md for private reporting instead.


License

MIT

来源:README.md,提交 bf66b82

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:服务器未能启动。

版本历史

8
  1. v2.6.1Nov 1, 2026
  2. v2.6.0Oct 31, 2026
  3. v2.5.1Oct 25, 2026
  4. v2.5.0Oct 25, 2026
  5. v2.4.2Oct 23, 2026
  6. v2.4.1Oct 22, 2026
  7. v2.4.0Oct 21, 2026
  8. v2.3.2Oct 15, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分