Loutre

app.loutre由 loutre.app 發布官方發布者v1.0.0更新於 Nov 3, 2026

基於 OpenAPI、TypeScript 或 Postman 的託管模擬 API:按需提供逼真的資料、錯誤和延遲。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

Hosted mock APIs from OpenAPI, TypeScript or Postman: realistic data, errors and latency on demand.

已驗證Streamable HTTP可網頁執行

概覽

Loutre 的託管 MCP 服務(api.loutre.app),由 loutre.app 發布;可選 API 金鑰;Streamable HTTP;17 個工具。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

發布者
loutre.app
端點
api.loutre.app
最近檢查

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Loutre,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/app.loutre%2Floutre/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "loutre": {
      "type": "http",
      "url": "https://api.loutre.app/mcp"
    }
  }
}

工具

17

create_mock

Create a hosted mock from an OpenAPI 3.0/3.1 or Swagger 2.0 document (YAML or JSON), from TypeScript types (interfaces, types, enums: CRUD routes derived, or a route map type keyed like "GET /users") or from a Postman v2 collection, an Insomnia export (v4 JSON or v5 YAML), a Bruno collection (JSON export, or .bru files one after the other), a HAR file (headers and cookies are dropped, data is generated), a json-server db.json (records served as they are), curl commands, or a GraphQL schema (SDL or introspection JSON; Pro plan: queries, mutations and introspection answered on POST /graphql). OpenAPI 3.2 is read too. Give the document in `spec`, or its public address in `url` (then the mock re-reads it every six hours and follows changes). Returns the URL, the route list and an ownerToken to keep for later changes. Data is realistic and coherent, generated once. Without an account the mock lives seven days.

輸入參數urlautoseedslugspeclocale

list_mocks

List the connected account's mocks (API token required), with their URL, routes and expiry.

無需輸入參數。

get_mock

Details of a mock: routes with identifiers, behaviour, lock, sample generated bodies per route.

輸入參數slug必填ownerToken

call_mock

Call a route of the mock like an HTTP client would and return the status, the x-loutre-* headers and the body. The headers x-loutre-status, x-loutre-delay, x-loutre-count, x-loutre-message and x-loutre-seed are honoured; latency is not awaited, it is reported in delayMs. Writes (POST, PUT, PATCH, DELETE) are persisted when persistent state is on. For a GraphQL mock, POST to its GraphQL path with the body { "query": "…", "variables": { … } }; mutations are persisted the same way.

輸入參數bodypath必填slug必填method必填headersaccessKeyownerToken

set_behavior

Change a mock's behaviour: default status, latency, jitter, error rate, persistent writes, and per route status, latency, hand-written bodies, rules. Merge semantics: missing keys are kept, null clears.

輸入參數slug必填patch必填ownerToken

set_response

Set the JSON body a route returns for a given status (hand-written response); a null body restores the generated response.

輸入參數body必填slug必填route必填status必填ownerToken

add_rule

Add a conditional response to a route: when the request matches the conditions (query, header, path param, body field), the mock answers with this status, body and latency. Rules are evaluated in order, the first match wins; x-loutre-* headers keep priority.

輸入參數bodynameslug必填when必填route必填statuslatencyMsownerToken

clear_rules

Remove every conditional rule of a route.

輸入參數slug必填route必填ownerToken

regenerate_mock

Generate a new data set (new seed), for the whole mock or for one route and the routes sharing its collection. A full new set forgets persisted writes.

輸入參數seedslug必填localerouteIdownerToken

get_requests

The latest requests received by the mock, most recent first: method, path, query, status, headers and body as received (body cut at 8 KB), where the answer came from, latency. Each entry has an id for replay_request.

輸入參數slug必填limitownerToken

replay_request

Replay a request from the log exactly as it was received (same method, path, headers and body) against the mock as it is now, and return the answer. Useful after changing a rule, a body or a scenario.

輸入參數id必填slug必填ownerToken

clear_requests

Empty the mock's request log.

輸入參數slug必填ownerToken

sync_mock

Re-read the schema at the mock's source URL now and update the mock if it changed (routes, fields; settings kept, persisted writes forgotten). force regenerates even when the document is unchanged.

輸入參數slug必填forceownerToken

set_domain

Serve the mock under the account's own hostname (Pro): declares it at Cloudflare and returns the CNAME to create (hostname → target) plus the current status; call again without hostname to re-check, or with hostname null to remove it.

輸入參數slug必填hostnameownerToken

reset_state

Forget persisted writes (POST, PUT, PATCH, DELETE): the generated collections come back as they were.

輸入參數slug必填ownerToken

set_access

Lock a mock with a token (private) and/or restrict the allowed browser origins. Pro plan.

輸入參數slug必填originsprivateownerToken

delete_mock

Permanently delete a mock and its kept schema.

輸入參數slug必填ownerToken

版本歷史

1
  1. v1.0.0最新Nov 3, 2026

評分

已滿足適用檢查項的 72%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分

    請在註冊中心條目中發布圖示。

  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。