Api Mock Generator
БесплатноНе проверенEnables instant creation of mock API servers from OpenAPI specs or natural language descriptions, with built-in fake data generation, CRUD endpoints, and config
Описание
Enables instant creation of mock API servers from OpenAPI specs or natural language descriptions, with built-in fake data generation, CRUD endpoints, and configurable delays/errors for testing.
README
Describe your API in English. Get a running mock server. Generate mock API servers instantly from OpenAPI specs or natural language descriptions. MCP-enabled for AI coding agents.
Quick Start
npm install
npm start
MCP Tools
| Tool | Description |
|---|---|
mock_from_openapi |
Generate mock server from OpenAPI 3.x spec |
mock_from_description |
Generate mock from natural language (e.g., "todo app with users, todos, auth") |
generate_types |
Generate TypeScript interfaces |
generate_client |
Generate fetch-based API client SDK |
mock_config |
Configure delay, error rates, pagination |
Features
- Zero external API dependencies — all data generation is built-in
- Contextual fake data — names for name fields, emails for email fields, dates for timestamps
- CRUD endpoints — auto-generated list, get, create, update, delete
- Pagination — built-in page/limit support on list endpoints
- Request logging — GET /_logs to inspect all requests
- Error simulation — configurable error rate for resilience testing
- Response delay — simulate slow networks
- TypeScript types — generate interfaces for all resources
- Client SDK — ready-to-use fetch-based API client
Install
npm i @lazymac/api-mock-generator
As MCP Server
{
"mcpServers": {
"api-mock-generator": {
"command": "node",
"args": ["node_modules/@lazymac/api-mock-generator/src/main.js"]
}
}
}
Links
License
MIT
Установка Api Mock Generator
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/lazymac2x/api-mock-generatorFAQ
Api Mock Generator MCP бесплатный?
Да, Api Mock Generator MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Api Mock Generator?
Нет, Api Mock Generator работает без API-ключей и переменных окружения.
Api Mock Generator — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Api Mock Generator в Claude Desktop, Claude Code или Cursor?
Открой Api Mock Generator на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Api Mock Generator with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
