Multimeter

io.github.mshobeyri由 GitHub 账号 mshobeyri 发布v1.42.4更新于 Oct 24, 2026

Scaffold, validate, format, and run YAML .mmt API tests. Do not invent syntax.

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

AI 生成的概览

让助手创建、校验、格式化并运行存放在 Git 中的 YAML .mmt API 测试。

可以做什么
Multimeter 是一个 Git 原生的 API 测试工具,请求、测试、模拟和文档都是仓库中的 YAML .mmt 文件。其 MCP 服务器 mmt-mcp 向助手提供四个工具:scaffold_test、validate、format 和 run。助手因此可以根据 API 或描述生成测试、检查并格式化定义,并执行它们,本地与 CI 使用同一批文件。
适用场景
当项目把 API 测试以 .mmt YAML 文件保存在 Git 中,并希望助手在编写代码的同时编写、检查或运行这些测试时,适合添加。也适合已在 VS Code 或 testlight CLI 中使用 Multimeter、希望在相同文件中进行 AI 生成与执行的团队。
运行要求
作为本地 stdio 进程在用户机器上运行,通过 npm 包 mmt-mcp 安装。仅限桌面端,没有网页版。未声明任何身份验证、环境变量或请求头。README 将 Multimeter 描述为 VS Code 原生扩展,因此该扩展及其工作流是预期使用环境。
安装前请注意
run 工具会执行 .mmt 文件中定义的 API 测试,可能向外部服务发送请求,并可能改变目标系统的数据。测试文件可以引用环境变量,因此运行前应确认生成或修改后的测试指向何处。README 还提到可调用模型的 AI judge,包括云端模型,这可能会把 API 响应发送给第三方。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[Logo]
Git-native REST client and API tests in VS Code. YAML .mmt files in Git.

Demo · Website · Request Feature · VS Code · CLI · GitHub Action · Docs · llms.txt

[VS Code Installs] [npm downloads] [Version] [License]

[Multimeter — Get Started, YAML, and API tester]

🚀 Start with a request. Grow into a platform.

Multimeter is Git-native API testing in VS Code. Requests, tests, mocks, and docs are YAML .mmt files in your repo.

Start with a single HTTP request.

Grow into tests, suites, mocks, reports, documentation, and CI when you need them.

All in the same tool. No migration. No second product.

🎯 What you get

Simple by default

  • ✅ Git-native, file-based YAML
  • ✅ Lightweight — no account, no cloud lock-in
  • ✅ Collaboration through pull requests, like code
  • ✅ The same files locally and in CI

A full testing platform when you need it

  • ✅ HTTP, WebSocket, GraphQL, and gRPC
  • ✅ Multi-step flows and test suites
  • ✅ Mock servers
  • ✅ Generated documentation
  • ✅ Reports
  • ✅ CI with testlight

AI in the same files

  • ✅ Generate tests from an API or a description (Cursor, Copilot, Claude via MCP)
  • ✅ Judge replies — semantic similarity, or open-ended checks like how funny a response is
  • ✅ Bring your own model (Ollama or cloud)

See all features →

⚡ Start simple

Multimeter is a VS Code-native extension. All you need:

There you run a POST request as follows:

yaml
type: apititle: Simple POSTurl: https://test.mmt.dev/echomethod: postformat: jsonbody:  message: hello

That's enough.

  • No suites.
  • No mocks.
  • No workflows.
  • No complexity.

🧪 Need tests?

yaml
type: teststeps:  - http: https://test.mmt.dev/echo    method: get    expect:      status: 200
  • Still simple.
  • Still Git-native.
  • Still easy to review.

🚀 Scale without switching tools

As your project grows, Multimeter grows with it.

Add:

  • Test suites
  • Mock servers
  • Documentation
  • Workflow execution
  • Structured reporting
  • CI artifacts

Only when you need them.

Everything stays in the same ecosystem.

See all examples →

🤖 MCP, AI generation, and AI judges

Cursor, Copilot, and Claude write and run the same .mmt files you edit in VS Code. MCP (mmt-mcp) gives them scaffold_test, validate, format, and run — generate tests from an API or a description, then keep them in Git.

Judge an API answer in the same test. Compare semantic similarity to an expected reply, or check something open-ended — for example, how funny the response is. Bring your own model (Ollama or cloud). An alternative to a separate Promptfoo eval stack.

See MCP docs · Judge docs

🔁 Built for reliable CI

Multimeter validates test definitions before execution.

That means:

  • ✅ Earlier feedback
  • ✅ More deterministic execution
  • ✅ Fewer surprises in CI
  • ✅ Easier debugging
  • ✅ Reproducible results

GitHub Actions:

yaml
- uses: actions/checkout@v6- uses: mshobeyri/testlight-action@v1  with:    file: tests/suite.mmt    report: junit    report-file: results/junit.xml

Or from a terminal using the Multimeter CLI called testlight.

sh
npm install -g mmt-testlighttestlight run tests/suite.mmt

See the GitHub Action and Testlight install.

📦 Everything stays in Git

Your code, tests, mocks, documentation, reports, and environment settings live in the same repository.

  • ✅ Version controlled
  • ✅ Code and tests evolve together
  • ✅ Reviewable through pull requests
  • ✅ Easy to move and share
  • ✅ No platform lock-in
  • ✅ AI can update code and tests together
  • ✅ Environment variables never go missing
  • ✅ Historical test results stay with the project

🧠 Philosophy

Most API tools focus on requests.

Multimeter focuses on behavior.

Instead of asking:

"Did this request return the expected response?"

Multimeter helps you answer:

"Does this system still behave correctly?"


License

Multimeter is licensed under the Apache License 2.0.

Demos · Documentation · Website · GitHub

来源:README.md,提交 2a74b1c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v1.42.4最新Sep 16, 2026
  2. v1.42.2-preSep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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