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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。