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 分