tinyprobe
io.github.kikutano由 GitHub 账号 kikutano 发布v0.24.0更新于 Nov 7, 2026
API testing in YAML: inspect, call and run endpoints and workflows, with the guide to write them.
概览
让助手借助 guide、inspect、call 和 run 工具,编写、校验并运行 tinyprobe 的 YAML 接口测试与工作流。
- 可以做什么
- 读取内置指南,了解如何编写 tinyprobe 接口与工作流文件
- 整体校验 YAML 测试文件,并给出每个问题的文件、行与列
- 单独发送接口请求进行试探
- 运行工作流,报告每一步的检查项、实际值与耗时
- 把 Postman 集合、OpenAPI 文档或后端代码转成测试,并反复运行直到通过
- 适用场景
- 适合让编码助手把现有接口测试迁移或新写成仓库中的纯 YAML 文件,并在提交前自行运行验证、反复修正直到通过。
- 运行要求
- 需要本地 tinyprobe 可执行文件或 Docker 镜像,以 stdio 方式启动 MCP 服务器(tinyprobe mcp)。无需账号或云服务。需要能访问被测后端的网络,凭据通过 tinyprobe 的环境文件提供。
安装
在 SourceWeft 中
- 打开 控制台中的 tinyprobe,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[tinyprobe logo: a shell prompt followed by a check mark]
tinyprobe
[CI] [Release] [License: GPL-3.0] [VS Code extension] [tinyprobe-app]
Why tinyprobe · Install · Quick start · Migrate with your AI · Command line · Workflow format · Guide for coding agents · Roadmap
API tests your AI writes and your CI runs. Give your coding agent a Postman collection, an OpenAPI document or your backend's code: it writes the tests as YAML files in your repository, checks them with tinyprobe until they pass, and tells you what it could not convert. Then the same files run in your terminal, in CI, in VS Code and in a small app, from one native binary. No account, no cloud.
[tinyprobe run output in the terminal]
Why tinyprobe
- Your AI does the migration, and checks its own work. tinyprobe has no importers: the agent you already use converts the collection, following a guide built into the binary (
tinyprobe guide). It validates every file withinspect, tries requests withcalland runs the workflows withrununtil they pass, then writesMIGRATION.mdwith what it could not convert. On our Postman benchmark (20 requests, 4 planted cases with no equivalent), Claude Code with Sonnet and with Haiku covered 18 of 18 convertible requests, reported 4 of 4 untranslatable cases, invented no syntax and committed no secrets. - Mistakes before requests. A file is validated as a whole before anything is sent: every problem with its
file:line:columnand a "did you mean". A failing check shows the actual value. That is what lets an agent, or you, fix a test in one round. - No hidden state. API files only describe endpoints; workflows run them, and every value a step uses is saved by a step you can read above it. Each workflow starts from zero, so it gives the same result on your machine, in CI and in any order (decision 0003).
- Made for CI. One Native AOT binary of about 9 MB that starts in about 20 ms: no runtime, nothing to install on the runner. A GitHub Action that annotates failing steps in pull requests, a Docker image, and JUnit reports for any CI server.
- One engine, wherever you work. The same YAML files and the same
tinyproberun in the terminal, in the VS Code extension, in the app for people who don't use a terminal, and in your coding agent through MCP. - Your files, your repository. Tests are plain YAML next to your code, reviewed in pull requests. Free and open source under the GPL-3.0.
Install
Linux / macOS
Windows (PowerShell)
Then tinyprobe --version. tinyprobe update updates it in place, with the checksum verified. Archives for every platform, the Docker image (ghcr.io/kikutano/tinyprobe) and the other options are in docs/cli.md.
Quick start
hello.yaml:
Run it:
When a step fails, every check of that step is listed with the actual value, and the steps after it are not run:
A mistake in the YAML is reported before any request is sent, with every problem and its location:
To try more without writing anything, example/ tests a free public API: clone this repository, then cd example && tinyprobe run workflows/01-read.yaml -e environment.yaml.
Migrate with your AI
Start with tinyprobe init at the root of your repository. It creates the tinyprobe/ folder (api/, workflows/, sequences/, the env files), adds the env files with credentials to .gitignore, and adds a section to AGENTS.md that tells every coding agent to read tinyprobe guide before touching the tests. It never overwrites a file.
Then give your agent (Claude Code, Cursor, Copilot, Codex...) one of these prompts.
From a Postman collection. Export the collection (Collection v2.1) and each environment into the repository, for example in postman/:
Variants of the same request ("Login", "Login - wrong password") become one endpoint called with different arguments, and the values your scripts saved become save. What has no equivalent (a script that computes a signature, pm.sendRequest) is not guessed: it is listed in MIGRATION.md, so you know what the tests do not cover. The same prompt works for Insomnia, Bruno or another tool's exports: name the folder and the tool.
From an OpenAPI document:
From the backend code:
Give your agent the tinyprobe tools. tinyprobe mcp is an MCP server with the tools guide, inspect, call and run, with JSON arguments and results:
That is .vscode/mcp.json for VS Code. Cursor reads .cursor/mcp.json with { "mcpServers": { "tinyprobe": { "command": "tinyprobe", "args": ["mcp"] } } }, Codex ~/.codex/config.toml with [mcp_servers.tinyprobe], command = "tinyprobe", args = ["mcp"]. It is listed in the MCP Registry as io.github.kikutano/tinyprobe. call and run send requests to your backend, so your agent may ask you before using them.
agents/ has ready-made instructions that send an agent to tinyprobe guide: a Claude Code plugin (/plugin install tinyprobe --marketplace kikutano/tinyprobe), a Cursor rule, Copilot instructions, and llms.txt.
Run in CI
The action runs every workflow of the folder, also after a failing one, puts a summary on the job page and marks each failing step at its line in the pull request. On other CI servers use the Docker image or the binary, with --junit for the test tab: see docs/cli.md for GitLab and the others. Exit codes: 0 passed, 1 a step failed, 2 an invalid file or arguments.
The format at a glance
Endpoints and tests live in separate files, so the same endpoints serve many workflows:
API files also have auth sets (bearer, API key, Basic, OAuth2 client credentials), query strings, forms and file uploads; workflows have variables, generated values (${$uuid}, ${$now+2h}) and named imports for several services. Everything is in docs/workflow-format.md. docs/example/ uses every feature against a test server you start with one command, and is what CI runs.
VS Code extension
tinyprobe for VS Code runs the same files from the editor: problems underlined as you save, completion and go to definition, ▶ Call above every endpoint, ▶ Run workflow and the Test Explorer, Run to here on every step, the workflow drawn as a diagram that lights up as it runs, the history of your calls and an environment editor.
Install it from the VS Code Marketplace, or Open VSX for Cursor, Windsurf and VSCodium: code --install-extension kikutano.tinyprobe-vscode.
The app
tinyprobe-app is tinyprobe for people who use neither a terminal nor VS Code: one small download for Windows, macOS and Linux that opens in the browser. Send any request from a form, run workflows and watch them as a diagram, and edit endpoints and steps with forms instead of YAML. It works on the same files, so what you do in the app runs unchanged in a terminal and in CI.
Learn more
- docs/cli.md: every command and option, CI, exploring an API with
inspectandcall, the JSON for other tools. - docs/workflow-format.md: the complete format.
- docs/llm-guide.md: the guide for coding agents, also printed by
tinyprobe guide. - docs/protocol.md: the JSON of
inspect --json, the run events and the MCP tools. - docs/comparison.md: tinyprobe next to Postman, Bruno and Hurl, and when to choose which.
- example/ and docs/example/: a first look against a public API, and every feature against the test server.
- CONTRIBUTING.md: building from source and how changes are made. ROADMAP.md: what comes next.
License
Copyright (C) 2026 Gaetano Luigi Lenoci
tinyprobe is free software: you can use, change and share it under the terms of the GNU General Public License, version 3 (GPL-3.0-only). A changed version may be shared, even for a fee, only under the same license and together with its source code.
Releases up to 0.21.0 were published under the MIT License, which still applies to them.
来源:README.md,提交 8110f20
工具
0版本历史
5- v0.24.0最新Nov 7, 2026
- v0.23.0Nov 5, 2026
- v0.22.0Nov 4, 2026
- v0.21.0Oct 31, 2026
- v0.20.1Oct 31, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分